Is it good to use Bun's native database adapter or serverless adapter?
Unanswered
Odorous house ant posted this in #help-forum
Odorous house antOP
I'm using Bun with NextJS, deployed to Vercel with fluid compute enabled, so, I wonder whether should I use the native database adapter or the serverless adapter. I've heard that Bun's native adapter provide a significantly better performance than the official adapter.
2 Replies
Western paper wasp
hi. If you deploy to Vercel (serverless or fluid compute), use the serverless adapter. The Bun native adapter only makes sense for self-hosted or long-running runtimes where there are no frequent cold starts
Odorous house antOP
Ok, thanks you