Do I have to double my server requirement if I'm using ElasticSearch with Couchbase

I'm looking to develop a Large scale Web application.

I am going to be using Couchbase as the main data store primarily because of its ease of use and also because of Couchbase Lite which will be quite instrumental for Mobile later in the product lifecycle.

The app is also going to comprise of a publicly available search engine. For the backend of this I want to use ElasticSearch. However, I'm not sure how this is going to affect my hardware requirements.

I plan to use 4 Xeon-class dedicated servers each with 32Gb of RAM for Couchbase. Do I need to get more servers to run ElasticSearch, or can I run it on the same servers I'm running Couchbase on?!

Thanks.

1 Answer

« Back to question.

Its best to treat ES and CB as two different databases and have them on different machines.

The main thing that makes ES different is since its a Lucene product its writes to the index are immutable. So having SSD is great. As far as specs you don't need as much memory and cpu for ES. I would tell you to really think about what the right number of shards to begin with as you can not change the number of shards later.