hi there! I am newbie in prisma. should I memoize client object in controllers or I can build new client object in each controller?
✅ 2
s
sven
02/25/2021, 10:11 AM
short answer: memoize
long answer: clients have a pool of db connections. those are oftentimes limited by the db. so you dont want to run out of connections