RSRidam Singhalinridamsinghal.hashnode.dev·Mar 7 · 4 min readMonolith 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 one00
RSRidam Singhalinridamsinghal.hashnode.dev·Mar 2 · 5 min readConsistent 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 understa00
RSRidam Singhalinridamsinghal.hashnode.dev·Feb 27 · 6 min readHow 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 sta00
RSRidam Singhalinridamsinghal.hashnode.dev·Feb 24 · 3 min readThe 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 clear00
RSRidam Singhalinridamsinghal.hashnode.dev·Mar 8, 2025 · 14 min readthis 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...00