NeonN
Neon12mo ago
16 replies
conventional-black

Interactive transactions and serverless

Hey there, happy neon users this side 🙂

we've been using neon with the http transport on cloudflare workers, recent additions to the product requires us to use transactions (interactive)

from what I've read so far since the http transport doesn't support transactions we'd need to use the serverless Pool/client the websocket based transports, however this feels like an anit-pattern to use a pool/client in a serverless environment like workers where it'll be connected/disconnected per request,

what would be the recommended way to go about this, using interactive transactions in a worker environment?, thankx!
Was this page helpful?