TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Being lazy has its benefits

2 pointsby jtregunnaalmost 14 years ago

1 comment

tsewlliwalmost 14 years ago
Futures make for an interesting 'batch' RPC API - queue up a bunch of RPC calls by returning Futures instead of values, and when one is forced send them all across the wire.<p>This is a great way to add batch functionality to an API that didn't have it originally. Need to frob a set of zibs? store the futures of the zib frobbings in a new set, and then force them. (wow, bad faux verbs and nouns)