Tung NguyenKafka and RabbitMQ“What is the difference between Kafka and a classic queue in RabbitMQ?” I asked myself this question on the first day I worked with Kafka…5 min read·Nov 11, 2023--2--2
Tung NguyenPostgreSQL — Index date of a timestamptz columnIf timing is one dimension of your data and you want to index a timestamptz column. How do you index it? What solution is the best for…3 min read·Jan 4, 2021--1--1
Tung NguyenPostgreSQL — Slow count queryAs you know PostgresSQL introduced index-only scan in version 9.2 like other DBMS to speed up queries by using index data only if possible…2 min read·Dec 31, 2020----
Tung NguyenGolang execute go routine in a loopDoes the following code output “Sum = 45”? The answer is NO.1 min read·Oct 30, 2020----
Tung NguyenGolang inheritanceBasically, Golang is not an OOP language so Golang does not support inheritance. However, structs still can be extended through struct…1 min read·Oct 30, 2020----
Tung NguyenMy mistakes in Golang, regular expression and sliceSeveral months ago, I built an application by Golang and I made some serious performance mistakes with regular expression and slice…4 min read·Oct 29, 2020--4--4
Tung NguyenPrometheus monitoring and alertFollow up the previous article, this is one of the series “Pessimistic Programming”, monitoring and alert. Generally, Prometheus is a…2 min read·Oct 29, 2020----
Tung NguyenPessimistic Programming — TestOn the early days of my coding life, I implemented a small feature in a given ticket with totally wrong code which will be in my mind…4 min read·Oct 29, 2020----