2 ms·
"I've used this optimization technique to make app faster" The app 20req/sec The app after optimizations: 20req/sec (It waits for db query anyway)
by PunchyHamster 11mo ago
"I've used this optimization technique to make app faster"
The app 20req/sec
The app after optimizations: 20req/sec (It waits for db query anyway)
- PantaloonFlames 11mo agoYes. Proto makes sense when the request rate is much higher and the network is constrained. Otherwise, json is sufficient.
- kragen 11mo agoIf it's the network that's constrained and not the CPU, gzipped JSON will often beat protobufs.