I am integrated my spring boot application with azure CosmosDB-SQL API and for integration test cases i want to use in memory database but trying with H2 in memory it's not working
The Azure Cosmos DB integrated cache is an in-memory cache that helps you ensure manageable costs and low latency as your request volume grows. The integrated cache is easy to set up and you don't need to spend time writing custom code for cache invalidation or managing backend infrastructure.
Azure Cosmos DB Core (SQL) API supports Java, Node. js, Python, . NET and JavaScript, and enables you to use the SQL language to write rich queries over JSON items.
By default, serverless containers can store up to 50GB of data. Store up to 1TB of data in new and existing serverless containers today.
Cosmos DB is a multi-model database, i.e., it can be used for storing data in Key-value Pair, Document-based, Graph-based, Column Family-based databases.
In my previous project I used CosmosDB
and MongoDriver
. In the integration test I had to use in-memory DB so I used Mongo2Go. It has worked really good.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With