News for hackers. Stuff that matters.
Re:An Introduction to APIs by RaisingSpear on Monday July 31, 2023 @05:26AM (#36940332)
Doesn't seem redundant to me. Even if you can multiplex requests, batches still have certain advantages, e.g.

- compression is often more efficient with larger payloads

- can reduce per-request overheads, e.g. do authentication once rather than X times

- easier to coalesce multiple queries, e.g. merge similar requests to enable data retrieval via a bulk query, instead of X individual queries

There are no comments on this comment yet.