VLViet Leinvietmle.hashnode.devĀ·Jun 1, 2022 Ā· 4 min read5 concurrency patterns in GolangThis article will cover 5 simple concurrency patterns which are often used in Golang 1. for-select pattern This is a fundamental pattern. It is typically used to read data from multiple channels. var c1, c2 <-chan int for { // Either loop infinitely...00
VLViet Leinvietmle.hashnode.devĀ·May 25, 2022 Ā· 3 min readIntro to Concurrency in GolangWhen dealing with conccurency problem, it is harder to reason about when moving down the stack of abstraction (machine, process, thread, hardware components, etc). Most programming languages use thread as its highest level of abstraction. Fortunately...00
VLViet Leinvietmle.hashnode.devĀ·May 18, 2022 Ā· 3 min readThe minimum every developer must know about CORSWhat is CORS? CORS stands for Cross-Origin Resource Sharing. CORS is HTTP-header based mechanism set by server to inform client side about allowed origins (<scheme>://<hostname>:<port>) other than its own. It also indicates method and headers which ...00
VLViet Leinvietmle.hashnode.devĀ·May 13, 2022 Ā· 1 min readWho am I?Who am I? Hi there š . I am Viet-Minh Le (@vietmle_). š Information Engineering & Media ā22 @ NTU š¼ Backend Engineer @ ShopeeSG š§š»āš» Tech stacks: .py, .go, .js , and some more ⦠Why I start this blog? As a non-CS degree person, I find it ov...01E