WiredTiger storage engine primarily offers the following benefits :
Better concurrency
Native compression
Higher throughput and predictable performance
While updating a document, MongoDB acquires a write lock on the collection level. So, during this period your reads may be affected. In my opinion this is great if you expect less number of writes as compared to the reads. But what if you are building an app with more writes than reads or mixture of reads and writes? This is where WiredTiger can help you. WiredTiger engine offers document level locking which results in better concurrency.
Also WiredTiger by default uses Snappy compression algorithm which provides good balance between high compression ratio and low CPU overhead. There are also other algorithms that you can take advantage of depending on your requirements.
Check out this article to know what features WiredTiger brings to the table.
The default storage engine is MMAPv1. To switch to WiredTiger pass the flag --storageEngine wiredTiger.
Great answer @sandeep! I am working on an executive overview that I need to present to my manager, can anybody point me to some other high-level discussions on this topic, I'm not a great writer (except when it comes to code :)) and I would like to see how some people describe it in a way that's easy for non-technical folks ... Thanks
Well @barbarasmith , the article mentioned by @sandeep is clear enough I guess... What are you looking for exactly? Depending on that you can search for tech blog articles aimed to reach CIOs and managers, like this one for example: webcreek.com/2016/03/22/open-source-database-engi… It's the tech blog of a web design company called Webcreek. The articles are serious but very easy to read. Take a look! Cheers!
Sandeep Panda
co-founder, Hashnode
WiredTiger storage engine primarily offers the following benefits :
While updating a document, MongoDB acquires a write lock on the collection level. So, during this period your reads may be affected. In my opinion this is great if you expect less number of writes as compared to the reads. But what if you are building an app with more writes than reads or mixture of reads and writes? This is where WiredTiger can help you. WiredTiger engine offers document level locking which results in better concurrency.
Also WiredTiger by default uses Snappy compression algorithm which provides good balance between high compression ratio and low CPU overhead. There are also other algorithms that you can take advantage of depending on your requirements.
Check out this article to know what features WiredTiger brings to the table.
The default storage engine is MMAPv1. To switch to WiredTiger pass the flag
--storageEngine wiredTiger.