Large number of connections with Mongoose and Vercel

Hey @Jared_Wiener, when you follow our documented guidance for integrating Vercel with MongoDB Atlas you’re not using a MongoDB driver, but instead the Atlas Data API.

The Data API is essentially a REST interface to your database you can communicate with over HTTPS and abstracts away the connection monitoring and pooling typically performed by socket-based drivers.

Since connection management isn’t performed at the client level (ex: your serveless functions) but instead at the Data API level, the type of connection-storm behavior you may have previously seen as a result of an influx of traffic triggering a flurry of new serverless processes to spin up wouldn’t occur.