title: Redis is very slow on Digital Ocean , queried from Python Redis
body: <p>I have a database using Redis on Digital Ocean that is very slow.
  I have Kubernetes running some random queries on a 1mio set of data.
  This is an example of Key I have <code>ETHUSDT:1654903478350:851334981</code> as <code>Crypto:TimeStamp:TradeId</code>.
  And an example of Data:
  <code>&quot;{&quot;1654903478350&quot;:&quot;{\&quot;e\&quot;:\&quot;trade\&quot;,\&quot;E\&quot;:1654903478350,\&quot;s\&quot;:\&quot;ETHUSDT\&quot;,\&quot;t\&quot;:851334981,\&quot;p\&quot;:\&quot;1661.71000000\&quot;,\&quot;q\&quot;:\&quot;2.18090000\&quot;,\&quot;b\&quot;:9209342396,\&quot;a\&quot;:9209342326,\&quot;T\&quot;:1654903478347,\&quot;m\&quot;:false,\&quot;M\&quot;:true}&quot;}&quot;</code></p>
  <p>I am using Redis Python to connect as follow:</p>
  <pre><code>r = redis.Redis(host=&quot;db-redis-EXAMPLE-do-user-113414-0.b.db.ondigitalocean.com&quot;,
                  port=25061,
                  username=&quot;default&quot;,
                  password=&quot;PASSWORD&quot;,
                  ssl=True, ssl_cert_reqs=None)
  </code></pre>
  <p>Running the following code takes up to two minutes which seems slow, there is about 45K results to get from the database:</p>
  <pre><code>subselect = redis_conn.scan_iter(&quot;LUNAUSDT:*:*&quot;)
  p = redis_conn.pipeline()
  for key in subselect:
      p.hgetall(key)
  k = p.execute()
  </code></pre>