Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realm sdk mongodb client support #518

Open
bshrram opened this issue Jul 22, 2023 · 2 comments
Open

realm sdk mongodb client support #518

bshrram opened this issue Jul 22, 2023 · 2 comments

Comments

@bshrram
Copy link

bshrram commented Jul 22, 2023

I have application running in aws lambda serverless, the cold start takes a long time to setup connection pool, so using http requests to query data may be more suitable for serverless environments, and that can be done using realm sdk mongodb client.

can papr fully support this client in addition to the original mongodb connection?

@CarlosLozanoHealthCaters
Copy link
Collaborator

Have you followed the best practices to manage connection with AWS Lambda (https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/)?

The first point is probably the most important one!

@bshrram
Copy link
Author

bshrram commented Oct 12, 2023

Yes sure, The problem is happening with cold start, these practices are good for warm requests.
and I want to add another point, managing number or connections of mongodb with serverless environment is hard and can reach the limit of connections easily, so moving that to data api is safer.

Have you followed the best practices to manage connection with AWS Lambda (https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/)?

The first point is probably the most important one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants