t
tRPC
t
tRPC
How to architect a performant tRPC backend
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
β’
2/28/23, 7:50 AM
If your frontend ends up doing the joins won
βt that have an even bigger impact on speed
?
N
Nick
β’
2/28/23, 7:51 AM
Less network calls is generally good
N
Nick
β’
2/28/23, 5:40 PM
Well a BFF can have dedicated routers for specific screens
, if the problem is you
're querying more than you need
, you could query exactly what
's needed on a dedicated router
/procedure
N
Nick
β’
2/28/23, 5:41 PM
If you
're querying exactly what you need and the query is slow
, then optimise the DB