unsafe_pointer

How unsafe.pointer screwed up our users display

The weekend started as any other, but it quickly took an unusual turn when our users reported a bizarre issue on our chat page. As the backend developer for the Instant Messaging (IM) Team, I found myself bombarded with feedback indicating that the chat page was displaying strange languages.

July 27, 2023 · 5 min · Brabalawuka

Journey of an RPC call at server-- from Unix Socket to Go Handler

I used to encounter an interesting issue, the Redis call has an increase in latency after I upgrade the network library dependency of my service RPC framework. The reason was that the pollers of RPC networker library occupy too much CPU and it grabs the default Redis netpoller’s CPU schedule. However, I could barely understand what happened in the networking part of the framework. So this session I will do a rough introduction on network packages

August 4, 2022 · 28 min · Brabalawuka

Interesting Empty Struct Context Key

I found this piece of code snippet in our codebase and it turns out to be interesting and elightening on the understanding of golang struct type

October 17, 2021 · 5 min · Brabalawuka

Interesting Golang "Passed by Value" & "Passed By Pointer Value"

Just some insights on usage of Golang Pass By Value and Pass by Reference(Pointer)~

September 8, 2021 · 4 min · Brabalawuka

Mastering Go学习笔记

Mastering Go Second Edition 学习笔记

July 23, 2021 · 2 min · Brabalawuka