![]() ![]() Each container had a request/limit of 12 “cpu” and 2Gi memory (I explain more on the container resource settings later).īenchmark: For the purpose of stressing all the MongoDB instances and the storage, I used the YCSB (Yahoo! Cloud Service Benchmark). ![]() MongoDB: The MongoDB containers were based on the “latest” tag, (which at the time contributed to 6.0.4). Kubernetes: Since Kubernetes is one of the most common platforms to deploy, manage and run MongoDB we chose the recently released Red Hat’s Openshift Container Platform (OCP) version 4.13 - it is the only OCP version that has an EBS CSI driver that supports EBS io2 Block Express. In this blog, I will present the results of my testing and why choosing the right storage for your MongoDB databases is critical for both transactions performance (Lightbits outperforms EBS by an average of 30% for various workloads) as well for significantly reducing the cost of running databases in the cloud (EBS is about 2.5x more expensive than Lightbits). The drivers are available in static format, Helm Chart and also via a Kubernetes operator. To use a Lightbits volume in Kubernetes, all you need is to install the Lightbits CSI. One of the most widely used platforms to run MongoDB is Kubernetes, mainly because Kubernetes enables flexible scalability, high availability, resources optimization and simplified deployment of MongoDB databases. MongoDB runs on a wide variety of platforms both on and off premise and can utilize several storage options. It’s used globally for all industry verticals. It is one of the most prominent NoSQL databases, a BSON-based database that stores JSON in a binary format. I’ve paired my MongoDB databases with two storage options, the Lightbits SAN-in-the-cloud offering and the EBS io2 Block Express option.Ī few words on MongoDB. I’ve been playing with the idea of seeing how performant, from a storage-to-transactions-per-second point of view, can a NoSQL database operate, and I figured there’s no other database best for the task than MongoDB. In the world of AI, where every data point over the web is searched very easily (and fast), it is sometimes good to go back to the basics and run a good ol’ fashion performance testing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |