This content originally appeared on DEV Community and was authored by Ravi Agheda
Tigris db is one the best no sql database I came across after the mongodb.
We love mongodb for it's ease of use and features, powered queries easy model setup, complex operations.
But still there are many things we have to handle on our own, i.e. Environment based setup etc.
Whereas Tigris provide native integration for branching enviroments, we can setup the main, staging, dev branch for different database using env config.
In order to get one more step further we have a tigris db to explore. Let's discuss some key points difference of tigris db and mongodb to get more idea around it.
How Tigris differ from MongoDB from the tigris doc
- Unlike MongoDB, Tigris follows a modern composable architecture with loosely coupled components. Furthermore, compute is separated from storage, allowing for independent scaling and a more resilient system.
- The storage layer in Tigris is built on FoundationDB, and Tigris inherits the strong consistency guarantees, and the scalability of FoundationDB.
- Tigris provides automatic database sharding, and shard keys are unnecessary as the data distribution is automatically handled. This ensures true serverless behavior with no painful transition from a non-sharded to a sharded MongoDB cluster.
- Tigris' open source Kubernetes-native design allows it to be deployed anywhere in the cloud in the user's account, ensuring that the user is always in control of their data.
- Some other differentiating features include global interactive ACID transactions, consistent secondary indexes, and an integrated search platform.
To try the Tigirs database with express app, visit: https://www.tigrisdata.com/
Signup, and create a test app. It'll provide a command set of npm. Create an express app using it and you'll be able to explore the codebase and queries.
Here's a reference of express tigris app: https://github.com/raviagheda/express-tigrisdb
Fun Fact: If we move to tigress db then our stacks will be as follow MEAN will be TEAN, and MERN will be TERN.
If you are here it means you may have enjoyed reading this blog. Just follow me "Ravi Agheda"
which will motivate to write more, and contribute to open source. You can make me a coffee☕️ . Small support comes a long way!
This content originally appeared on DEV Community and was authored by Ravi Agheda
Ravi Agheda | Sciencx (2023-04-18T05:12:54+00:00) Love Mongodb ? Try Tigris db once.. Retrieved from https://www.scien.cx/2023/04/18/love-mongodb-try-tigris-db-once/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.