arduino 02 Flashing an ESP8266-01 Flashing a ESP8266? Follow this guide written by a beginner for beginners. 2023.08.04 · 2 min
aws 03 Adding Basic Authentication via NGINX in Kubernetes Basic Auth via NGINX in kubernetes 2022.10.26 · 1 min
devops 05 Routing stuff using traefik/nginx Using traefik/nginx as a Reverse Proxy. 2022.04.15 · 5 min
tech 06 Django Bulk Save - 2 Fast 2 Big Continuing from Django Bulk Save, I wanted to test how would the copy_from function perform when I scale to over a million records. The copy_from scales incredibly well, it took 4 seconds to write 1.6 million rows. The rest of the article strays away from the actual topic. I decided to play around with different CSV libraries and figure out what would be the most efficient library to use when you have a file this large. You'd probably never encounter a scenario where you'd have to parse a mil 2021.07.15 · 2 min
tech 07 Streaming through millions of records trying to match an encrypted field : Java A year ago I was working on a really tiny part of a large non-consumer facing product (idk what's the correct term). I can't divulge much, I have done a lot of illegal things like calling a politician an idiot on social media, so I don't want to add more to the list. Imagine you ran an ice cream subscription service, and you had a lot of people on the payroll tasked with managing renewals for subscribers. Let's call them agents. You had an online portal for customers to manage/renew their subsc 2021.07.15 · 3 min
devops 08 Connecting Django to RDS via pgbouncer using IAM auth Setting up the infra We primarily use a django backend with RDS postgres in a kubernetes cluster for production environments. We were trying to setup an environment which would be HIPAA compliant and secure as well, as well as keep complexity to a minimum in the backend layer. We decided to go with IAM authentication to connect to RDS for the django application. The tricky part was to figure out how we would add pgbouncer between RDS and django to manage connection pooling issues. We setup a 2021.07.10 · 3 min
django 09 Django Bulk Save Using bulk_create? You could switch to copy_from if your usecase fits. 2021.07.07 · 2 min