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!
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:
The ability to add up to two additional nodes to your existing cluster
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.