Event Processing with Kafka: Balancing Reliability and Idempotency

IntroductionI recently tackled some tech debt that highlighted a potential lack of idempotency in one of our services’ event processing. Upon closer inspection, I discovered that while the event was designed with idempotency in mind and included deduplication handling, there were still issues. Before delving into the specifics, let’s first understand what deduplication is and […]

Benchmarking of Micronaut and SpringBoot in Tills

Introduction In a challenging ecosystem like Tills, characterized by limited access to resources, a host runs multiple containers. In this setup, excessive memory or CPU consumption by any single container can negatively impact the performance of the entire system. Therefore, it is crucial to evaluate that any application running in these containers minimizes resource usage […]

Front-End Rendering

In this blog, I’ll explore the various methods and concepts used for rendering front-end applications. The techniques discussed in this article are fundamental to modern front-end development, and all aspiring engineers should familiarize themselves with them. Hydration Introduction In recent years the rise of server-side rendering (SSR) applications contributed significantly to the growing popularity of […]

RDBMS vs Document db (NoSQL), Graph DB — when to use them ?

Here I am collecting learning points from the Data Models and Query Languages chapter of the Designing Data-Intensive Applications book. The main arguments in favor of the document data model are schema flexibility, better performance due to locality, and that for some applications it is closer to the data structures used by the application. The […]

SQLite Vacuum: Best Practices for Database Optimization and Space Management

Problem Statement As we insert, update, and delete data, the SQLite databases file of sqliteDB-1.db and sqliteDB-2.db will grow in size and become fragmented.Deletes will cause empty space that is not returned to the operating system.whereas, inserts and updates will cause data to be scattered within the database file. This might lead to Increased Database […]