# How much concurrency can logstash TCP input support?

**URL:** <https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698>\
**Category:** Logstash\
**Created:** [May 14, 2018, 9:00am UTC](https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698 "2018-05-14T09:00:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lipc](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lipc](https://discuss.elastic.co/u/lipc)\
**Post date:** [May 14, 2018, 9:00am UTC](https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698/1 "2018-05-14T09:00:51Z")

</div>

With the recent logstash releases, 5.\* or 6.\*, how much concurrency can it support?  
We run logstash on Linux, the CentOS 7 series, and use TCP input.  
Which factors affect the concurrency number? Memory, file descriptors?

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [May 14, 2018, 11:46am UTC](https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698/2 "2018-05-14T11:46:00Z")

</div>

Yes, all of that and more. You will have to benchmark it on your own to understand that question a

Number of CPU's you have, the MHZ they are, the tuning on the tcp input, the Network stack tunings, speed of your NIC, How complex your Filter section is, the size of your documents....

---

<div class="post-metadata">

**Author:** ![lipc](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lipc](https://discuss.elastic.co/u/lipc)\
**Post date:** [May 15, 2018, 1:01am UTC](https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698/3 "2018-05-15T01:01:30Z")

</div>

Thanks @eperry

---

<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:** [June 12, 2018, 1:01am UTC](https://discuss.elastic.co/t/how-much-concurrency-can-logstash-tcp-input-support/131698/4 "2018-06-12T01:01:32Z")

</div>

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