-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ADR] Core APIs database technology #39
Comments
Remember that ADRs are publicly available hence do not include any confidential information in the issue description! |
I'm quite surprise over CosmoDb with Mongo API https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb/mongodb-introduction. Maybe you can consider that for you APIs. Why wouldn't you use Document database as a source of truth? @StevenMalaihollo |
CosmosDB wasn't chosen because it doesn't fully support Mongo API, notably lacks ability to define a collection schema. We feel that, for those basic APIs, data integrity is a top priority, so missing that is a big negative. However if it turns out that the serverless sql doesn't scale well enough, we are ready to switch to a Document database |
Use postgres on azure |
Why not google sql? |
Can we do the anaysis here? #7 |
I think this is false https://www.enterprisedb.com/news/new-benchmarks-show-postgres-dominating-mongodb-varied-workloads
https://info.enterprisedb.com/rs/069-ALB-339/images/PostgreSQL_MongoDB_Benchmark-WhitepaperFinal.pdf |
Interesting, our source for this was this whitepaper, it compares MySQL instead of PostgreSQL with MongoDB: |
After looking at Azure Serverless SQL pricing model, it isn't really that good, and the SQL flavor is Microsoft specific. |
I've been using GCP Sql mysql flavor and am very satisfied with it. It does
cost bit for an instance, but I can run multiple databases on the same
instance.
In production I've seen and worked on mysql databases that are at least 10
times BCC's size in terms of traffic and customers, so as a technology I
think it can work very well as the source of truth.
Other databases can be synced/indexed from the source of truth for improved
performance.
Eg.
State&transactions stores: document database (firestore, mongodb)
Search: elasticseaech or dedicated search service
Cache: redis database
Audit and Logging: elastic or big query
Relations heavy queries: neo4j (graph database)
…On Fri, 1 Apr 2022, 11:26 Jakub Czyż, ***@***.***> wrote:
Why not google sql?
After looking at Azure Serverless SQL pricing model, it isn't really that
good, and the SQL flavor is Microsoft specific.
We would like to use a mainstream SQL flavor (like Postgres or MySQL).
Therefore we're going to try GCP's SQL offer (probably postgres flavor).
—
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSVMWUORGEAYUCFJIVAVADVC26NLANCNFSM5SFPTPJQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
There are 2 types or databases that are considered:
Considerations
Database Comparison
Relational
Pros
Cons
Document
Pros
Cons
Summary
After lining up the considerations for Relational and Document DBs we come to our final candidates:
Decision
Consequences
Alternatives
Document databases where not chosen for the source of truth APIs because;
CockroachDB / PlanetScale
The text was updated successfully, but these errors were encountered: