@bufbuildi
iAccount based inSwitzerland!
About this account
- Account based in
- Switzerland
- Connected via
- United States App Store
! X says this location may be affected by a proxy or VPN.
Account-level information from X, not a live location or the device used for a specific post.
Buf retweeted
we just migrated our gRPC services to the ConnectRPC protocol instead. this turned out to be a fairly simple migration, but unlocks a whole bunch of new features for Hatchet in the next few months.
gRPC is fantastic, but support across runtimes isn't great. in particular, we've had a bunch of requests for serverless runtimes like @Cloudflare Workers which we haven't been able to support because of gRPC compatibility issues. the original serverless runtimes were built around the fetch() API, which is missing a bunch of http/2 features that we need.
we've been quietly waiting on gRPC support across these runtimes -- and Cloudflare just rolled it out in beta! -- but demand was high enough that we're just sending it.
The great part about ConnectRPC is that it's fully gRPC compatible, so existing clients will still work. Just a 10/10 dev experience overall: connectrpc.com/
full serverless and sandbox support coming soon.
Did you know Protobuf can be translated to JSON Schema and even OpenAPI? Today, we talk about how in our newest blog post.
buf.build/blog/protobuf-json…
How well do you actually know Protocol Buffers? We put together a quick interactive quiz covering schema design, field rules, and wire format mechanics.
protobuf.com/quiz/
The questions are now randomly selected from a question bank so retrying will give you a few new questions.
#protobuf #grpc #quiz
Protovalidate performance has improved dramatically. 3x faster in Go, 10x faster in Java, 13x faster in TypeScript and 484x faster in Python. No, that wasn't a typo. It really is that much faster than before.
buf.build/blog/faster-protov…
This is an older post, but Connect-Query is a library that deserves more attention. It makes it trivial to pull in data from ConnectRPC servers using Tanstack Query. It simplifies state management and makes querying for data extremely simple.
buf.build/blog/introducing-c…
Protobuf is already byte-efficient, but you can squeeze out even more. See how delta encoding dropped our test payload size by another 67% in our latest post:
buf.build/blog/delta-encodin…
In case you missed it, here is a roundup of the latest from the Buf blog:
- gRPC-Web Failed the Web: buf.build/blog/grpc-web-fail…
- connect-rust joins the Connect project: buf.build/blog/connect-rust-…
- The modern Protobuf workflow: buf.build/blog/the-modern-pr…
- Protobuf-ES just got a lot faster: buf.build/blog/protobuf-es-p…
- Protobuf Tip #10: Choosing the right integer type: buf.build/blog/choosing-the-…
Think you know Protobuf? Take the quiz to see how your knowledge stacks up.
protobuf.com/quiz/
Buf retweeted
Working through review on this taught me more about the internals of a real, widely-used RPC library than reading its docs ever could — signed commits, CI conventions, and genuinely thoughtful review comments about where test assertions should actually live.
If you're already comfortable with gRPC and curious about an alternative that removes a lot of its operational friction, ConnectRPC is worth exploring properly.
connectrpc.com | github.com/connectrpc/connec…
#TechTwitter #OpenSource #Go #buildinpublic
Storing the three header maps as fields on the struct, created once via a new constructor (newErrStreamingClientConn), instead of allocating fresh maps on every accessor call. The accessors now return the stored fields, matching how every other connection implementation in the codebase already behaves.
Added a dedicated test, TestErrStreamingClientConnHeadersAreStable, that fails against the old behavior and passes with the fix.
Full diff: github.com/connectrpc/connec…
gRPC-Web forced browsers into a design that breaks standard web tooling.
Our latest post covers why it failed the web, and how Connect fixes it by combining normal HTTP semantics with Protobuf contracts.
buf.build/blog/grpc-web-fail…
We've made a way to practice writing Protobuf schemas. Check it out and share feedback if you have it!
protobuf.com/practice/
connect-rust is now an official part of the Connect project: buf.build/blog/connect-rust-…
#connectrpc #grpc #protobuf
Curious how Protobuf's binary encoding actually works?
Learn how it packs data byte by byte and see exactly how it saves space on the wire compared to JSON.
Dive into the interactive guide here: protobuf.com/binary/
Protobuf used to come with a pretty rough developer experience. We've spent the last few years fixing that. If you gave up on Protobuf before, schema-first development is worth another look. buf.build/blog/the-modern-pr…
#connectrpc #grpc #protobuf #api
Introducing protobuf.com a visual, interactive guide to Protocol Buffers.
There are 10 different integer types in Protobuf. That honestly feels like about nine too many. Let's break down what actually separates them under the hood and how to pick the right one without overthinking your schema.
buf.build/blog/choosing-the-…
Protobuf-ES, the safe, conformant, and complete Protobuf library, is now up to 5x faster. buf.build/blog/protobuf-es-p…