nanopb: Bringing Protocol Buffers to Your Embedded Microcontrollers

nanopb: Bringing Protocol Buffers to Your Embedded Microcontrollers

Why nanopb is an Embedded MarvelRecently, while working on STM32/ESP32 microcontroller projects, I found that using the traditional Protocol Buffers library can almost deplete flash memory and RAM. Yet, there is a desire to use .proto to define messages, which is efficient and cross-language. nanopb is like a savior, with a code size of just … Read more

HTTP Middleware Chain in Go: Application of Protocol Buffers in Microservices Communication Framework

HTTP Middleware Chain in Go: Application of Protocol Buffers in Microservices Communication Framework

Click the above“blue text” to follow us “Yesterday, a young brother messaged me: ‘Brother Feng, our team leader said we need to use Go for microservices communication, what are Protocol Buffers and middleware chains? My head is buzzing!’ Haha, don’t worry, I’m familiar with this. Microservices are like a big kitchen, where each small chef … Read more

nanopb: An Efficient and Lightweight Protocol Buffer Library Designed for Embedded Systems

nanopb: An Efficient and Lightweight Protocol Buffer Library Designed for Embedded Systems

In today’s highly competitive embedded development landscape, devices have increasingly high demands for memory and storage resources. How can efficient data communication and exchange be achieved within limited ROM and RAM? The answer lies in nanopb. This article will provide a detailed overview of this protocol buffer library designed for 32-bit microcontrollers, exploring its powerful … Read more

Why Use RPC When We Have HTTP? Quick Overview of gRPC Framework

Why Use RPC When We Have HTTP? Quick Overview of gRPC Framework

Source: https://www.escapelife.site/posts/395e12c9.html gRPC is a high-performance, general-purpose open-source RPC framework designed based on the HTTP2 protocol standard, using Protocol Buffers as the default data serialization protocol, and supports multiple programming languages. What is gRPC Framework The goal of an RPC framework is to make remote service calls simpler and more transparent, shielding the underlying transmission … Read more