couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Driscoll <luke.drisc...@gmail.com>
Subject Re: CouchDB and Elasticsearch on same machine
Date Tue, 04 Sep 2012 13:30:34 GMT
Thomas,
we don't limit the memory for couchdb, but elastic is set to 1GB.  Our box
is a dual core vm, with 2GB on it.

Luke

On 4 September 2012 08:50, Thomas Hommers <thomas.hommers@ebalu.com> wrote:

> Hi Luke,
>
> thanks, that's a great idea. I will follow this advice.
>
> How about memory and CPU? Did you had to limit couchdb? For
> elasticsearch's JVM i know you can set 'max-mem' ...
>
> Thomas
> ________________________________________
> From: Luke Driscoll [luke.driscoll@gmail.com]
> Sent: Tuesday, September 04, 2012 8:25 PM
> To: user@couchdb.apache.org
> Subject: Re: CouchDB and Elasticsearch on same machine
>
> We run this set up in QA with no real trouble, although we don't have very
> high traffic on that box.  I would suggest you give the box a couple of
> cnames, like test-couchdb and test-elasticsearch; then when you create the
> indices on test-elasticsearch you point them to test-couchdb; this should
> help separation in the future.
>
> Luke
>
> On 3 September 2012 21:39, Thomas Hommers <thomas.hommers@ebalu.com>
> wrote:
>
> > Hi,
> >
> > for a first small "testing" deployment of our application I would like to
> > run CouchDB and elasticsearch on the same machine to save some costs.
> After
> > demand grows i plan to separate them.
> >
> > Does anybody have experience with this, any specific issues to take care
> > of?
> >
> > I remember that several times i faced a problem with heavy CPU + memory
> > usage of couchdb. Is there any way to limit this, so it will nicely
> > co-exists with Elasticsearch? I read that elasticsearch makes trouble
> when
> > the system starts swaping ...
> >
> > Really appreciate any thoughts and comments.
> >
> > Thanks in advance!
> > Thomas
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message