sillsdev / serval

A REST API for natural language processing services
MIT License
4 stars 0 forks source link

Use MongoDB Atlas in production #273

Closed johnml1135 closed 5 months ago

johnml1135 commented 8 months ago

We should use it. Let's hope it's under 1k/year.

ddaspit commented 8 months ago

We should investigate AWS DocumentDB as well. It might be cheaper.

johnml1135 commented 8 months ago

Sandbox is free, serverless looks like it would be good enough for us and not too much: https://www.mongodb.com/pricing. A brief guess:

johnml1135 commented 7 months ago

We may need to go with the dedicated server, that is, M10 for 0.08$ per hour ~= 700$/year. M10 is the only one with a SLA which is 99.995%, or 131 seconds per month.

ddaspit commented 7 months ago

If we use MongoDB Atlas, we want to run it on AWS.

johnml1135 commented 6 months ago

Here is a migration plan:

johnml1135 commented 6 months ago

We probably can go with Serverless: https://www.mongodb.com/community/forums/t/is-mongodb-serverless-suitable-for-production/184480

johnml1135 commented 6 months ago

The mogodump is breaking from an esoteric error when it lasts too long. The issue appears to be here: https://github.com/kubernetes/kubernetes/issues/74551