⬅️ Background At my previous organization, we were building a health platform, and one of the most critical, high-traffic components was our Lab test booking service. One of its core functions is to serve package details like inclusions, prices, and provider information for thousands of user...
Introduction At our current organization, earlier this year as we were looking at the errors at one of our signup API, we observed that nearly 5% of our requests were getting failed, all due to 400 BAD REQUEST errors, and the root cause was traced back to a regex check. This regex was a constraint...
Introduction In a client-server architecture, the client can request a job to be done from the server by sending messages to the server. Handling this communication can increase in complexity when you begin to manage the rate at which messages are sent, the number of requests a server can handle,...
Introduction In every software system, we need unique Ids to distinguish between several objects from one another. Recently, I wrote about the unique Id generation for a large scale distributed environment. In that article, we touched a little on UUIDs. In this blog post, I will share an...
Introduction Recently at work, We were looking for a way to generate unique IDs across a distributed system that could also be used as the primary keys in the MySQL tables. We knew in a single MySQL database we can simply use an auto-increment ID as the primary key, But this won’t work in a...