News for hackers. Stuff that matters.
Re:Ask HN: Why isn't JSON-RPC more widely adopted? by nullandvoid on Tuesday January 03, 2023 @08:08AM (#34230870)
Isn't the cache situation somewhat solved via defining your RPC as either a "query" or "mutation" (for example in systems such as https://trpc.io/ > https://trpc.io/docs/caching)?
Re:Ask HN: Why isn't JSON-RPC more widely adopted? by chubot on Tuesday January 03, 2023 @11:36AM (#34233709)
How would proxies and load balancers know about this?

You would have to encode your app-specific logic in every proxy or load balancer. In HTTP, they already exist.

The top two comments in this thread explain this more:

https://news.ycombinator.com/item?id=34228122

Re:Ask HN: Why isn't JSON-RPC more widely adopted? by still_grokking on Sunday January 08, 2023 @04:16PM (#34303218)
> How would proxies and load balancers know about this?

By using a proper protocol.

Not everything is nail just because the modern thin-client is only able to wield the HTTP hammer.