xuf :geraffel: · @xuf
102 followers · 690 posts · Server geraffel.social
Bèr Kessels 🐝 🚐 🏄 🌱 · @berkes
148 followers · 822 posts · Server mastodon.nl

LinkedIn Adopts Protocol Buffers for Microservices Integration and Reduces Latency by up to 60%
infoq.com/news/2023/07/linkedi

I've built my last REST API using . Not for the performance, though. But because it's types. It translates well to 's structs and types. On the rust side, I use prost and on the typescript side protobuf.js with statically compiled types.
Its typing avoids so many problems that JSON ser/de require me to manually solve.

#typescript #rust #protobuf

Last updated 1 year ago

avelino · @avelino
333 followers · 14 posts · Server clj.social

RT @_ttemporin: Ontem saiu um post explicando um pouco sobre o que é e como utilizar protocol buffers.

t.co/gLZJ2BUa8f

cc: @sseraphini @badtux_ @avelinorun @eminetto

t.co/5k8JHbvE1a

#go #golang #dev #bolhadev #protobuf #protocol #buffers #grpc #tutorial #post

Last updated 1 year ago

· @theot
0 followers · 1 posts · Server hachyderm.io

Does anyone here know of some literature on how to share entity relations between domains? Let's say Lionel Messi, with id 123 in some sport system start an acting career and gets id 456 in . How would the sports department communicate this to some other, third domain so they can join and aggregate? How do you deal with deletion of an entity? Just tombstones? I'd love some research on this topic, as it seems to reinvent itself time and time again

#imdb #datamesh #dataproduct #kafka #protobuf

Last updated 1 year ago

Tycho Softworks · @tychosoft
347 followers · 4929 posts · Server fosstodon.org

I did not like because of all the overhead of a http stack poorly and overly complicated written by with features I did not need, and I dislike the entire type / data description compiler (), though it may be easier to adapt to different languages. I did not like over pure tcp because of overhead fr json conversion for c/c++.

#grpc #google #protobuf #jsonrpc

Last updated 1 year ago

Roger Lipscombe · @rogerlipscombe
109 followers · 588 posts · Server hachyderm.io

I know it's Friday evening, but am I completely misreading the zig-zag encoding at protobuf.dev/programming-guide?

"Positive integers n are encoded as 2 * n (the even numbers), while negative integers -n are encoded as 2 * n + 1 (the odd numbers)"

...does not result in the values given in the table of examples...?

#protobuf

Last updated 1 year ago

· @darq
2 followers · 262 posts · Server social.icod.de

has expanded itself into the ecosystem like a parasite.
Ex Googlers are working there.
I'm so disgusted by all the ... I don't even have a word for it ...
So people working at Google create this protobuf and rpc thing, decide to pretty much put it on life support and when they leave Google they create their own company - buf.
The is all end all solution for grpc. Not at all free. 1 private repository isn't free.
Now you have to pay 3rd parties if you want to use open source software.
Greed is the word, greed and shenanigans. Planned obsolescence.
But this grpc isn't even all that great.The good thing about it was that you could use 1 way to define your services, the types, requests and responses and that servers and clients could be generated from those for almost any platform/language.
The web client never really took off, the javascript generator is pretty much abandoned.
So now buf stepped in, created a smaller generator (according to their blog) and has a library building upon that generator, connect-es.
But you need to have your service definitions stored at their infra. And you can only have 1 private definition. The rest is all public, unless you pay them, per type.
A simple BlogService for instance has Blog, Post, Comment, Page, Profile, Tag, Reactionx3 that's 9 types. So now you pay a 3rd party 9x$0.40 per month to host your schema, not the data, just for hosting your schema.
Absolutely ridiculous.
Worse than any politician.
Corruption, greed and corruption.

#buf #protobuf #grpc

Last updated 1 year ago

Jay Cuthrell · @jay
79 followers · 233 posts · Server cuthrell.com
Jay Cuthrell · @jay
77 followers · 229 posts · Server cuthrell.com
AskUbuntu · @askubuntu
38 followers · 1287 posts · Server ubuntu.social

How to install libprotobuf.so.7 on ubuntu 20.04 machine?

askubuntu.com/q/1456110/612

#apt #sharedlibrary #protobuf

Last updated 1 year ago

clementjean · @clementjean
6 followers · 15 posts · Server techhub.social

I'm looking for Software Engineers interested in learning . The goal is me teaching it to you (in the programming language of your choice) and you giving me feedback/asking questions.

​This is free of charge since your input is valuable.

DM me if interested.

#protobuf #programming #learning #teaching

Last updated 1 year ago

clementjean · @clementjean
6 followers · 14 posts · Server techhub.social

Did ever have the need of writing a plugin and/or a custom option?

If yes, you might have noticed that this is pretty hard and resources are scarce. In this article, I introduce how to write a small protoc plugin in and .

clement-jean.github.io/writing

#protoc #protobuf #cpp #go

Last updated 1 year ago

Ian VS · @IanVS
311 followers · 455 posts · Server fosstodon.org

I've often thought seems cool, but I can't use it because my backend is in .

My favorite thing about is having shared types between the client and server, but the complexity of using it (especially in go) is high.

I just watched @dimitropoulos talk at about using and on the web using github.com/bufbuild/connect-we and I'm pretty intrigued. Guarantees on the shape of my data? JSON serialization? Generated clients? Yes, please.

#tRPC #golang #graphql #jsworld #protobuf #grpc #tanstackquery

Last updated 2 years ago

clementjean · @clementjean
6 followers · 12 posts · Server techhub.social

#protobuf

Last updated 2 years ago

SoftwareMill · @softwaremill
220 followers · 99 posts · Server softwaremill.social

In our new article Szymon will introduce readers to the subject of serialization and its two arguably most popular protocols nowadays

softwaremill.com/data-serializ

#avro #protobuf #protocolbuffers #dataserialization

Last updated 2 years ago

shapefile · @shapefile
152 followers · 110 posts · Server mapstodon.space

Hmm 🤔 disappointing state of affairs!!

Then again, not all data formats can be (are!) as cutting-edge as yours truly 🤷

#gischat #GIS #flatgeobuf #protobuf #shapefile

Last updated 2 years ago

clementjean · @clementjean
6 followers · 11 posts · Server techhub.social

For those interested in building tools like linters, compilers, etc. for and , there is a great page from the documentation 😉

Also, if you are interested in this kind of tools, you should reach out to me, we might be able to collaborate 🙏

protobuf.dev/reference/protobu

#protobuf #grpc

Last updated 2 years ago

clementjean · @clementjean
5 followers · 10 posts · Server techhub.social

Sometimes, adding a simple character to your file can save 200 bytes.

clement-jean.github.io/one_cha

#protobuf

Last updated 2 years ago

zetroot · @zetroot
4 followers · 49 posts · Server lor.sh

@naia and are not "databases", it is just a serialization formats, so you can save data from your object model in files, transfer it between applications and so on.
What do you need essentially? Saving data to disk to read it back later? Or do you need real database features, like indexes and reference integrity?
If you need to save data somewhere and read it back later - have a look at binary serialization methods: Protocol Buffers (), Message Pack (). They are extremely fast and compact, comparing to json and xml, but are not human-readable.
In case you need database features, but do not want to deal with all this enterprise stuff like MS SQL and Oracle, take . It is compact, file-based (serverless) relational database, that can be embedded into your application. That's why it is popular in mobile applications. If you are looking for something more multiuser and multithreading - should be a good choice. It is cool database, that can be used in project of every size: a small pet project, MVP to start your startup in garage and enterprise application serving hundreds RPS 24/7/365. It is a bit more complex that sqlite, but it is still easy to start, has great docs, big community and excellent documentation.

#xml #json #protobuf #msgpack #sqlite #postgresql

Last updated 2 years ago