Database: Why did NoSQL emerge when SQL already existed?

Recently, I had the opportunity to participate in the development and construction of a large-scale product, designed to serve hundreds of thousands, even millions, of users daily. As a result, the core architecture was built on the CQRS Pattern, a model that separates data reading and writing operations. This approach has allowed us to optimize the system’s performance and scalability while minimizing risks when handling large volumes of data. Through these experiences, I’ve been able to answer a question that has puzzled me for a long time: ‘Why did NoSQL emerge when SQL already existed?’ In this article, I’ll share with you the origins and development reasons behind SQL and NoSQL, as well as the challenges each of these database systems faces. Let’s dive in! ...

10 Aug, 2024 · 14 min · 2845 words · Duc Truong

What is polling technique? Short polling vs long polling

In an era of relentless technological advancement, increasingly sophisticated software systems are emerging, accompanied by ever-growing and complex data. To handle large and complex data, modern software systems are often designed using the Microservices model. The Microservices model helps break down the system into smaller services, each of which can have even smaller components. One of the biggest challenges when building a Microservices system is how to make the services communicate with each other effectively. In this article, we will explore a communication technique between services or components in the Microservices model, known as Polling. ...

23 Apr, 2024 · 6 min · 1233 words · Duc Truong