Report this

What is the reason for this report?

Redis Managed Database

Posted on August 24, 2019

Hello Everyone

I’m planning to migrate to Redis managed database once it is available in my current datacenter.

For the people whom already tried it, can you share your experience so far (I know it’s less than a week but let me know what do you think, did you move your production Redis or waiting? did you noticed any limitation or issues?)

Also, can I use Redis managed database to host my queue? I already use Redis queues in my own Redis and not sure if it’s supported in the managed Redis (nothing mentioned in the documentation)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

How is it going so far with your managed redis? How does it perform under high load?

So far, I am a little disappointed that we are not able to switch Redis Persistence off (for performance reasons). The only configuration we have access to is Eviction Policy.

Hello Everyone

I just finished the migration from Redis single instance to DO Redis Managed Database, everything went smooooooth :)

In case someone interested to copy his Redis data to another Redis server (aka DO Redis managed database) the below script will help you to do that

#!/bin/bash

# Credit goes to Elliot Chance https://medium.com/@elliotchance/migrating-data-between-redis-servers-without-downtime-429e4c8048e6

# Small change is done by AhmadT (ahmadt a.t. gmail.com)


if [ $# -eq 0 ]; then
  echo "select a db"
  exit 1
fi

export DBnumber="$1"

echo "DB ${DBnumber}"

export OLD="redis-cli -n ${DBnumber}"
export NEW="redis-cli -n ${DBnumber} -p MYPORT -a PASSWORD"


for KEY in $($OLD --scan); do
    $OLD --raw DUMP "$KEY" | head -c-1 > /tmp/dump
    TTL=$($OLD --raw TTL "$KEY")
    case $TTL in
        -2)
            $NEW DEL "$KEY"
            ;;
        -1)
            $NEW DEL "$KEY"
            cat /tmp/dump | $NEW -x RESTORE "$KEY" 0
            ;;
        *)
            $NEW DEL "$KEY"
            let TTLEX="$TTL*1000"
            cat /tmp/dump | $NEW -x RESTORE "$KEY" "$TTLEX"
            ;;
    esac
    echo "$KEY (TTL = $TTL)"
done

Hey,

Quick update here in case that anyone comes across this in the future, DigitalOcean has just announced two new features to the Managed Database for Redis offering:

  1. The ability to add up to two additional nodes to your existing cluster

  2. Support for using standby nodes to serve read requests

Both of these features offer increased scalability, enhanced performance, and improved availability of the managed Redis clusters and applications.

Official announcement post:

https://www.digitalocean.com/blog/introducing-redis-additional-and-standby-nodes

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.