Protobuf Articles

Android gRPC End to End: Protobuf Code Generation to Bidirectional Streaming for Client-Cloud Collaboration

Starting from a real client-cloud voice assistant, this post walks through gRPC on Android: Protobuf contract generation, bidirectional streaming, and practical concerns such as threading, backpressure, and reconnection.

Inside MMKV: How mmap and Append-Only Protobuf Beat SharedPreferences

A practical walkthrough of MMKV's mmap memory mapping and append-only Protobuf writes, why SharedPreferences blocks the main thread, and how to choose between SP, MMKV, and DataStore.