Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 18, 2023 05:12 am GMT

Love Mongodb ? Try Tigris db once.

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.

Image description

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:

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!


Original Link: https://dev.to/raviagheda/love-mongodb-try-tigris-db-once-52pn

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To