mirror of
https://github.com/predis/predis.git
synced 2026-08-27 18:51:07 +00:00
d45ce35923
Using gethostbyname, we will reuse the same (first) IP address for each request. Here, we choose the IP we use randomly. This is practical in a case where we have multiple redis read-only slaves that can't invidually support the full application load, but are accessible through a single hostname.