Hi Jason,

Both Kafka and Zookeeper are IO intensive systems. Zookeeper uses
synchronous writes (there is some batching involved), so it is highly
advised that zookeeper be deployed on dedicated disks. We have shared
our production zookeeper experience here -
https://cwiki.apache.org/confluence/display/KAFKA/Operations#Operations-Zookeeper

Zookeeper keeps all its data in memory and Kafka's sequential access
pattern also takes advantage of the page cache. So, I would think the
caching patterns might interfere with each other. Al though, we have
never co-located Kafka and Zookeeper on the same hardware, I would
steer away from it due to the operational overhead involved.

Thanks,
Neha

On Thu, Oct 11, 2012 at 9:33 AM, Jason Rosenberg <j...@squareup.com> wrote:
> Hi,
>
> I'm wondering whether it's common and/or advisable to co-locate zookeeper
> and kafka instances on shared hardware?
>
> Thanks,
>
> Jason

Reply via email to