# Logstash - Improving speed of reading data from Redis queue

**URL:** https://discuss.elastic.co/t/logstash-improving-speed-of-reading-data-from-redis-queue/241260
**Category:** Logstash
**Created:** [July 15, 2020, 9:56am UTC](https://discuss.elastic.co/t/logstash-improving-speed-of-reading-data-from-redis-queue/241260 "2020-07-15T09:56:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vasek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vasek/32/136636_2.png) [@vasek](https://discuss.elastic.co/u/vasek)
#### Post date: [July 15, 2020, 9:56am UTC](https://discuss.elastic.co/t/logstash-improving-speed-of-reading-data-from-redis-queue/241260/1 "2020-07-15T09:56:09Z")

</div>

Hi,  
can you please help how to increase speed of reading messages from redis queue by Logstash?

An application generates 100 mil. documents / day.  
I have 3 logstash instances.

I've tried these input configuration:

```
input {
  redis {
    key => "filebeat-app-name"
    data_type => "list"
    host => "redis-as1.XXX"
  }
}

```

and

```
input {
  redis {
    key => "filebeat-app-name"
    data_type => "list"
    host => "redis-as1.XXX"
    threads => 8
  }
}

```

On each Logstash instance:  
**CPU** has usage in range 50 - 70 % (4 cpu)  
**RAM** has usage about 40 % (4 GB)

Do you have any ideas how to tune logstash instances to read events more quickly?

---

<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: [August 12, 2020, 9:56am UTC](https://discuss.elastic.co/t/logstash-improving-speed-of-reading-data-from-redis-queue/241260/2 "2020-08-12T09:56:11Z")

</div>

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