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