CF-Worker and MongoDB connection and performance is very slow

I'm working with Cloudflare Workers and MongoDB, but I'm noticing that the connection and performance are really slow. Has anyone else experienced this, or know how to optimize the connection and improve the performance? Any tips or advice would be appreciated! 🙏
2 Replies
Keebs
Keebs2mo ago
not sure if it helps - but im using this and it has been very helpful in the past: https://github.com/patrick-kw-chiu/mongo-http.js/
Ricky U
Ricky U2mo ago
are yuo using the data api to connect or the driver.. - data api is very slow that is documented, the mongodb driver, would like to know how you implemented tghat
Want results from more Discord servers?
Add your server