KWKevin Waninblog.go-zero.dev·Mar 30, 2022 · 3 min readHow I learned a programming language, and how I wrote a popular microservice framework.Learning The programming language that I'm talking about is Go, but I think it's almost the same for most programming languages. I've been coding for over 20 years since graduation. Before learning Go, I've used many programming languages for product...00
KWKevin Waninblog.go-zero.dev·Jan 6, 2022 · 18 min readUsing Stream API to process data efficiently in GoWhat is Stream Processing Java developers should be very impressed with Stream API in Java, which greatly improves the ability to handle data collections. int sum = widgets.stream() .filter(w -> w.getColor() == RED) .mapTo...00
KWKevin Waninblog.go-zero.dev·Oct 4, 2021 · 6 min readReduce Response Time with MapReduceIn microservice development, api gateways play the role of providing restful api to the outside world, and api data often depends on other services, and complex api will depend on multiple or even dozens of services. Although the time consumption of ...00
KWKevin Waninblog.go-zero.dev·Jun 13, 2021 · 4 min readCache System StabilityIn terms of cache stability, basically every cache-related article and share on the web talks about three key points. Cache penetration Cache Breakdown Cache Avalanche Why talk about cache stability in the first place? You can recall when we introd...00
KWKevin Waninblog.go-zero.dev·Jun 3, 2021 · 6 min readImplmenting timeout in GolangProblems If the response time is too long, the users may have left this page, but the server is still consuming resources to process, and the result obtained is meaningless. Too long server-side processing will cost too much resources, resulting in ...00