# Slow throughput with beaver

**URL:** <https://discuss.elastic.co/t/slow-throughput-with-beaver/55895>\
**Category:** Logstash\
**Created:** [July 19, 2016, 3:29pm UTC](https://discuss.elastic.co/t/slow-throughput-with-beaver/55895 "2016-07-19T15:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smilin\_stan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@smilin\_stan](https://discuss.elastic.co/u/smilin_stan)\
**Post date:** [July 19, 2016, 3:29pm UTC](https://discuss.elastic.co/t/slow-throughput-with-beaver/55895/1 "2016-07-19T15:29:32Z")

</div>

I am using beaver to monitor a single log file and dump the contents as JSON to redis, from where logstash picks it up via the redis input plugin. This is working but the throughput is poor.

After performing some analysis the problem is with beaver - it is only adding records to redis at a rate of ~250 per second, when I know redis is capable of significantly higher throughput.

The server is utilising approx 5% CPU and has plenty of memory spare.

Is anyone else using beaver to ship to redis, and if so what sort of throughput are you getting?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 20, 2016, 10:25am UTC](https://discuss.elastic.co/t/slow-throughput-with-beaver/55895/2 "2016-07-20T10:25:16Z")

</div>

Can you link to Beaver, just in case someone doesn't know what is it? 🙂

---

<div class="post-metadata">

**Author:** ![smilin\_stan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@smilin\_stan](https://discuss.elastic.co/u/smilin_stan)\
**Post date:** [July 20, 2016, 4:29pm UTC](https://discuss.elastic.co/t/slow-throughput-with-beaver/55895/3 "2016-07-20T16:29:58Z")

</div>

Sure thing, beaver can be found here:

> **[python-beaver/python-beaver](https://github.com/python-beaver/python-beaver)**
>
> python-beaver - Needs Maintainer: python daemon that munches on logs and sends their contents to logstash

---

<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:** [July 6, 2017, 4:47am UTC](https://discuss.elastic.co/t/slow-throughput-with-beaver/55895/4 "2017-07-06T04:47:14Z")

</div>

Closed on July 6, 2017, 4:47am UTC


