zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Running ZooKeeper on limited hardware?
Date Thu, 29 Sep 2011 13:21:35 GMT
On Thu, Sep 29, 2011 at 10:12 PM, Jasper Kremer <jasper.kremer@nedap.com>wrote:

> 1) Embedded ZooKeeper
> Because ram is limited (128MB) I would like to run ZooKeeper embedded in
> our current Java App.
> This way starting up 2 VM could be avoided. But it seems that this is the
> recommended way?
>

Yes.  That would be fine.


> 2) File size of log files.
> As I understand the data is stored in the log file.
> The log file in
> /export/crawlspace/mahadev/zookeeper/server1/data/version-2/ is quit big.
> For example log.1 is about 65MB.
> In our case we will not store a lot of data and there is only limited
> flash-space (256MB).
> Is it possible to limit the size of the log.1 file?
>

What is your need for persistence?  If none, you may consider disabling
logging entirely with a code change.

You should also be able to adjust the snapshot interval which should help
moderate the log size.

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