t
tRPC
t
tRPC
Promise based caching for concurrent requests
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
3/6/23, 2:53 PM
Best bet would be to have the endpoint only hit the cache
, then have some worker which picks up an event to refresh the cache
. tRPC won
’t do this on its own
N
Nick
•
3/6/23, 2:54 PM
This is more of an infra question than tRPC
. It
’s eventual consistency related and one of the harder problems in engineering at scale