Ignacio ChiazzoPaginating Requests in APIsWhen exposing large data sets through APIs, it needs to provide a mechanism to paginate the list of resources. There are multiple…Apr 19, 20208Apr 19, 20208
InBetter ProgrammingbyChunting WuSolve Phantom Read in MySQLA solution for write skew when “creating” dataMay 9, 2022May 9, 2022
InExperience StackbyJIN11 SQL Query Optimization Techniques commonly used in ProjectsAs the volume of data continues to grow, it will need professionals who are fluent in SQL, not just at the entry-level, instead, it needs…Mar 29, 20221Mar 29, 20221
InInterviewNoodlebyChunting WuHow to avoid the race condition and the negative valueeasy way in MySQLJul 21, 20211Jul 21, 20211
Chunting WuRedis helps avoiding racing conditionsHow to leverage Redis to solve the race condition on the lottery scheme. We ensure the integrity of data also the throughput on…Aug 15, 2021Aug 15, 2021
Chunting WuMake SQL Scan result be map in golangdatabase/sql is efficient and easy to use but hard to use well. Especially, the fetch result are not a slice.Sep 28, 2021Sep 28, 2021
Chunting WuCommon interface for query functions in sql.DB and sql.TxI want to implement a command pattern upon the database/sql in golang. The goal is that no matter whether the client uses sql.DB or sql.Tx…Oct 1, 20211Oct 1, 20211
InInterviewNoodlebyChunting WuDistributed Transaction IntroductionThis article will:Oct 2, 2021Oct 2, 2021