Bikas Katwal
1 min readMar 28, 2020

--

Thanks!

On your questions, yes, then mongo DB will behave as mostly consistent and partition tolerant system. But you will lose availability to some degree. As you always need 3 running nodes(in a 5 node cluster).

These are the cases when it is tough to categorise a system in CAP. As one might argue I can tolerate upto 2 nodes failure, so can we say it’s available?

Being said that it’s general practice to keep read/write consistency as QUOROM/MAJORITY. As such system are almost always consistent and can almost always be available at the same time too.

--

--

Bikas Katwal
Bikas Katwal

Written by Bikas Katwal

Coder | Distributed Systems | Search | Software Engineer @Walmartlabs

Responses (1)