9 ms·
im curious what the results would be with a more production-like app e.g. if you add prisma connecting to postgres, presumably there's extra latency to create
by willsmith72 3y ago
im curious what the results would be with a more production-like app
e.g. if you add prisma connecting to postgres, presumably there's extra latency to create the client. for the fly app, you have a server reusing the client while it's warm. presumably for the cloudflare worker, you're recreating the client per request, but im not 100% on that. how would the latency change then for cold vs warm, and on the other platforms?
- kflansburg 3y agoI believe that what you are looking for is Hyperdrive. Global connection pooling and query caching. https://developers.cloudflare.com/hyperdrive/configuration/how-hyperdrive-works/ https://developers.cloudflare.com/hyperdrive/configuration/h...