# Performance: is better to deploy on host or on docker containers

**URL:** <https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123>\
**Category:** Logstash\
**Created:** [September 19, 2018, 11:57am UTC](https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123 "2018-09-19T11:57:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcellOr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcellor/32/35665_2.png) [@marcellOr](https://discuss.elastic.co/u/marcellOr)\
**Post date:** [September 19, 2018, 11:57am UTC](https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123/1 "2018-09-19T11:57:54Z")

</div>

Hi all,  
I'm new to ElasticSearch and I'm starting an analysis for using ElasticSearch both for logging and for data metrics.

I know that ES could be deployed using docker and I surely prefer this solution because I prefer to deploy an image instead of installing or update ES on the hosts.

Do you suggest to use docker to deploy ES on production with lot of data or, for performance reason, is better to install and upgrade it on the hosts?

Thank you in advance,  
Marcello

---

<div class="post-metadata">

**Author:** ![sm00thindian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sm00thindian/32/27376_2.png) [@sm00thindian](https://discuss.elastic.co/u/sm00thindian)\
**Post date:** [September 19, 2018, 1:41pm UTC](https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123/2 "2018-09-19T13:41:23Z")

</div>

MarcellOr, I think it boils down to quality of deployment. Network speed, memory, cpu allocated and the config balance in the logstash instance. One thing to consider, if you go the docker route it's pretty easy to setup parallel instances and throttle resources.

---

<div class="post-metadata">

**Author:** ![marcellOr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcellor/32/35665_2.png) [@marcellOr](https://discuss.elastic.co/u/marcellOr)\
**Post date:** [September 19, 2018, 2:43pm UTC](https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123/3 "2018-09-19T14:43:38Z")

</div>

Yes, this is for sure but I know that performance in accessing files from the container are really poor compared to performance in accessing files from the host.

The best is to know if someone already compared both solutions with ES.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 17, 2018, 2:43pm UTC](https://discuss.elastic.co/t/performance-is-better-to-deploy-on-host-or-on-docker-containers/149123/4 "2018-10-17T14:43:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
