You have some data in your database. How should you structure this data when you send it to the frontend, let's say, or want to work with it in your code? Should you convert the records to a list of dictionaries/hashmaps? Or should you just send them as a list of list? How do you … Continue reading How do I structure my data? Lists? Dictionaries? List of Dictionaries?
I interviewed at Intercom, Dublin, for a "Product Engineer" role in June - August, 2019. I will be starting my Intercom journey on December 2nd, 2019 😀 While preparing, I got a lot of help from Glassdoor and I thought of adding my interview experience to the internet too, for helping people in the future. … Continue reading Intercom's Interview Process and My Experience
I have frequently found myself in situations when I had to reindex a few indexes (because the index got bloated a lot), and I always have to lookup the exact commands, after searching quite a bit, just to be sure that I am doing the right thing and not making a mistake. In the past, … Continue reading Postgres: Recreating Indexes supporting Unique, Foreign Key and Primary Key Constraints
“A close-up of white dials on a music mixer” by Alexey Ruban on Unsplash In a bid to prepare ourselves for projected growth, we are at the moment trying to figure out what part of our system will break at what scale, and how. One step towards this was to also define strict timeouts for … Continue reading Configure Postgres statement_timeout from within Django
We use Sentry for our error reporting, and we love it. It is simple, gives options for a lot of different use cases, and can easily be integrated with Django, over which our backend is built. We recently fixed (or ignored :P) an issue we had for a long time. This article is about how … Continue reading Custom Sentry Client for more freedom: How to ignore any exception you want
Photo by Martin Oslic on Unsplash As mentioned in an earlier post, we rely on Celery for publishing and consuming tasks to/from our RabbitMQ (RMQ) broker. We are very happy with the whole setup and it works reliably for us. But this wasn’t exactly the case up until four weeks back. We were plagued with … Continue reading Two years with Celery in Production: Bug Fix Edition