<span style="font-family:courier new,monospace">The latest improvement on Redis module are very interesting, thanks for the contributiom, I would like to understand how the hiredis client is working with a "redis cluster"</span><span style="font-family:courier new,monospace"><br>
<br>Where can I find information on the "server groups/cluster" support ?<br><br>Is it working with "Redis Sentinel" (the official high availability solution for Redis).<br><br>The hiredis client documentation are not mentioning this mechanics. <br>
<a href="https://github.com/redis/hiredis">https://github.com/redis/hiredis</a><br><br><br><br><br><br>---------------------------------------------------<br>Module Documentation</span><br><span style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">---------------------------------------------------</span><br>
<br>1.5.1. cachedb_url (string)<br><br>The urls of the server groups that OpenSIPS will connect to in order to use the from script cache_store,cache_fetch, etc operations. It can be set more than one time. The prefix part of the URL will be the identifier that will be used from the script.<br>
<br>Example 1.1. Set cachedb_url parameter<br><br>...<br>modparam("cachedb_redis", "cachedb_url","redis:group1://localhost:6379/");<br>modparam("cachedb_redis", "cachedb_url","redis:cluster1://random_url:8888/");<br>
...<br> <br><br>Example 1.2. Use Redis servers<br><br>...<br>cache_store("redis:group1","key","$ru value");<br>cache_fetch("redis:cluster1","key",$avp(10));<br>cache_remove("redis:cluster1","key");<br>
...<br> </span><br>