I have successfully installed twemproxy and I can easily set data in redis through twemproxy , but when I have tried to fetch data from server it always take from 1st one from list which I mentioned in yml file .so how to fetch data from other server as well ? can you help me?
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!
Could you describe what you are trying to accomplish in a bit more detail? Is the cluster being used as a data store or for caching? It would likely help us answer you better.
twemproxy will partition your data, splitting it among multiple Redis instances. If you are trying to fetch the same key from Redis through twemproxy repeatedly it will come from the same node. This article from the Redis documentation is a good explanation of partitioning.
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.