Ancestors

Toot

Written by Jan Ekholm on 2024-11-03 at 21:09

I wonder how feasible it really is to do a small app backend with something a tiny bit more efficient than REST. It’s weird that the most inefficient form of transmitting data on the Internet became the most common way to do it. But at least earlier the generated Protobuf code was absolutely hideous and inefficient outside the raw wire protocol with classes that were total ass to use. But it seems to be the best we have so far?

https://imgflip.com/i/98ug9t

[#]protobuf

=> View attached media

=> More informations about this toot | More toots from chakie@toot.community

Descendants

Written by Aaron on 2024-11-05 at 11:36

@chakie

If the client and server can minimally use gzip, JSON over REST (or just as API endpoints) compresses very well with most data. It’s good enough that I couldn’t justify in a recent project spending time messing with binary formats like protobuf.

Part of me was disappointed as I wanted to do more exploring, but I’m glad I didn’t add the extra complexity of protobuf (or similar).

[#]WebDev

=> More informations about this toot | More toots from wiredprairie@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113421070794436005
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
255.288842 milliseconds
Gemini-to-HTML Time
0.87832 milliseconds

This content has been proxied by September (3851b).