Interview with the Ghost of MongoDB Scalability

Have you heard the rumors about the Ghost of MongoDB Scalability? Do you know someone who came close to finding it? Have you been haunted by it?

These are the questions that keep me up at night.

I’ve been searching for the Ghost of MongoDB Scalability for as long as I can remember. Finally, I came to the conclusion that it was time for experts. I reached out to Ghost Hunters of SyFy fame. If anyone could help me find the Ghost of MongoDB Scalability, it would be this crack team of paranormal investigators.

It took us three months, but we found him and I interviewed him.

Shane First things first, are you a ghost?

Ghost of MongoDB Scalability Yes.

Shane So, for a time, you existed in the physical world?

Ghost of MongoDB Scalability No, I did not. I was an ideal. I existed only to give the MongoDB community hope. That is the sole purpose for which I was created.

Shane What happened?

Ghost of MongoDB Scalability I was the light at the end of an endless tunnel. I faded.

Shane I'm sorry to hear that. I’ve heard rumors of MongoDB scaling?

Ghost of MongoDB Scalability If I install MongoDB on a server with a 6TB HDD and write 1.6B documents to it, is that scalability?

Shane Well, I suppose it's not. Perhaps it's vertical scalability. What about horizontal scalability?

Ghost of MongoDB Scalability If I make copies of it, is that scalability?

Shane You’re referring to a replica set. I suppose it's not. However, you could scale reads if you sacrifice consistency or performance.

Ghost of MongoDB Scalability That’s true, but I can’t scale writes.

Shane What about sharding?

Ghost of MongoDB Scalability I’d rather not talk about it, but I will. I could create a few replica sets, assign each one a subset of the data, and call them shards. However, it’s still inefficient because only one-third of the instances will handle write requests. If consistency is required, only one-third of the instances will handle read requests. Not to mention there’s routers, config servers, and arbiters. It’s ridiculous. MongoDB, at its core, is not designed for horizontal scalability. It’s an active / passive deployment, not an active / active deployment.

Shane I’ve heard sharding is a challenge. To be honest, I’ve heard it invokes fear. Skeleton key? Shard key? I can’t remember.

Ghost of MongoDB Scalability I do know of one person. Albert. You think the president has aged a lot over the past six years. You should see what happens to people who shard MongoDB.

Ghost of MongoDB Scalability shows me a couple of photos.

The first one is Albert before sharding MongoDB. The second one is Albert after sharding MongoDB. These photos were taken one year apart.

Shane Wow. I have one last question. Do you know the Ghost of MongoDB Cross Data Center Replication?

Ghost of MongoDB Scalability

With that, it was gone. Does it know the Ghost of MongoDB Cross Data Center Replication? I don’t know for certain, but I suspect it does.

That’s one mystery solved. Now, it’s time to find the Ghost of MongoDB Cross Data Center Replication. Perhaps I will start by checking with the community over at TSS.

Would you like to know more about the interview?

Reddit | Hacker News