NeonN
Neon8mo ago
5 replies
scattered-teal

Using Neon + Drizzle + Lambda

I am too confuse how to setup Neon + Drizzle + Lambda, I see alot of package that support every possible answer, but don't know which one is good one.

main goal is to run quick and efficient way in aws lambda.

I found nenodatbase/serverless and also drizzle have own drizzle-orm/neon-serverless.

1. Which connection URL should be pass pooled or normal one
2. using HTTP or websocket, which one is best fit

on lambda I will do CRUD simple process, but some time have to update multiple table at same time like using tranx.

Please reference or demo code link.

I am mostly using Prisma for ORM, how was it using prisma orm in serverless env, I found some bad review like it size, letancy in serverless env.

Thank
Was this page helpful?