ridamsinghal.hashnode.devMonolith and Microservices ArchitectureModern applications must scale quickly, deploy frequently, and remain resilient under heavy demand. This is why the debate between Microservices Architecture and Monolithic Architecture has become one2h ago·4 min read
ridamsinghal.hashnode.devConsistent HashingTo achieve horizontal scaling, it is important to distribute data evenly across servers. A common technique to achieve this is the consistent hashing. But before discussing the problem, first understa4d ago·5 min read
ridamsinghal.hashnode.devHow to Scale a Database?Your product just launched. Everything is working fine and fast and your database is running on the single server. Then, one day traffic doubles. Your website slows down, CPU hits 100%, your write staFeb 27·6 min read
ridamsinghal.hashnode.devThe Thundering Herd ProblemImagine you are sitting on a farm and then suddenly a bull start running towards you. What would you do? Easy “I would just get out of the way” you would say. Well how about now? If it’s not clearFeb 24·3 min read
ridamsinghal.hashnode.devthis Keyword in JavaScriptThe this keyword refers to the context where a piece of code is running. OR this keyword batata hai ki kaha pe (context) code run kar raha hai. The value of this in JavaScript depends on where the function is invoked or called, not where it is define...Mar 8, 2025·14 min read