PSParvesh Sainiinparveshsaini.hashnode.dev路Aug 17, 2024 路 6 min readTransactional Outbox Pattern 馃摤Introduction In a microservices architecture, each service often needs to do more than just update its own database. It also needs to inform other services within the organization about these updates. But there's a challenge, making sure that updatin...00
PSParvesh Sainiinparveshsaini.hashnode.dev路Jul 14, 2024 路 4 min readElasticSearch and Search Indexes馃攳Introduction In a large scale system, one crucial aspect is designing efficient search functionality. Think about searching for the latest Iron Man action figure on Amazon. You type "Iron Man" into the search bar, and the system shows you many option...00
PSParvesh Sainiinparveshsaini.hashnode.dev路Jun 28, 2024 路 4 min readConsistent HashingIntroduction Ever wondered how big companies manage to keep their data organized across thousands of servers? To ensure predictable performance in such systems, it鈥檚 crucial to distribute data evenly across these servers. Think of it like trying to s...00
PSParvesh Sainiinparveshsaini.hashnode.dev路Jun 20, 2024 路 5 min readCAP Theorem ExplainedIntroduction So, you鈥檝e decided to plunge into the wild world of distributed systems. Naturally, you might think, "Why not aim for perfection and nail all three critical factors: Consistency, Availability, and Partition Tolerance?" After all, who wou...00
PSParvesh Sainiinparveshsaini.hashnode.dev路Oct 1, 2023 路 6 min readZod for Schema Validation: Quick WalkthroughIntroduction Data validation is a crucial aspect of software development, ensuring that incoming data adheres to predefined rules or schemas. In the TypeScript ecosystem, Zod stands out as a powerful schema declaration and validation library. It not ...00