<div dir="ltr">@corey,<div><br></div><div> I've been looking into res_sorcery_astdb, but I think I'm missing something in here. </div><div>If I would create a a redis backend for sorcery, the functionality is fairly limited in the scope<br>of Redis usage. Mainly due to the fact that sorcery is meant as a CRUD interface.<br></div><div><br></div><div> Have I got it correct?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 23, 2017 at 2:03 AM Nir Simionovich <<a href="mailto:nir.simionovich@gmail.com">nir.simionovich@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Actually, I was more thinking about Redis as a PubSub mechanism, not as a static storage backend.<div><br></div><div>Here is my take on things, developers need tools. Some developers prefer Redis, other may prefer beanstalk,<br>and other may prefer log files. Each one has its merits and its issues, but the overall ability to choose is important.</div><div>I believe that adding modern backends improves our appeal to "modern developers" who are accustomed to these<br>tools.</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 23, 2017 at 1:52 AM Corey Farrell <<a href="mailto:git@cfware.com" target="_blank">git@cfware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
From your <a href="http://configure.ac" target="_blank">configure.ac</a>:<br>
> AST_EXT_LIB_CHECK([REDIS], [redis], [redisReaderCreate],
[hiredis/hiredis.h])
<p>This tries linking with '-lredis', but it needs to use
'-lhiredis':<br>
</p>
<p>AST_EXT_LIB_CHECK([REDIS], [hiredis], [redisReaderCreate],
[hiredis/hiredis.h])</p>
<p>In addition instead of using variable prefix "REDIS" (the first
argument) I suggest switching to "HIREDIS" (don't forget
<a href="http://makeopts.in" target="_blank">makeopts.in</a> and build_tools/<a href="http://menuselect-deps.in" target="_blank">menuselect-deps.in</a>). There are
multiple C redis libraries so you want the variable name to
identify which one you are using. This will also make it match
"<depend>hiredis</depend>" in cdr_redis.c so
menuselect will enable the module.<br>
</p>
<p>Since redis is in-memory I'm not really sure about using it for
CDR? I could see res_sorcery_redis being useful assuming it could
be used as an alternative to res_sorcery_astdb or
res_sorcery_memory.<br>
</p></div><div text="#000000" bgcolor="#FFFFFF">
<br>
<div class="m_4988214033860018120m_7774423677376422170moz-cite-prefix">On 11/22/2017 06:01 PM, Nir Simionovich
wrote:<br>
</div>
</div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div> I've started a new branch at team/nirs/cdr-redis-support</div>
<div><br>
</div>
<div> I'm having some issues integrating the hiredis library
into the automake. It seems to be configured correctly,<br>
however, for some odd reason it will not become available in
the 'menuselect' tool.</div>
<div><br>
</div>
<div> Would highly appreciate it if someone can take a look for
a minute and see if I missed anything major in there.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div dir="ltr">-- <br>
</div>
<div class="m_4988214033860018120m_7774423677376422170gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">Kind
Regards,</span><span style="color:rgb(31,73,125)"></span></font></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> Nir
Simionovich</span><span style="color:rgb(31,73,125)"></span></font></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">
GreenfieldTech</span><span style="color:rgb(31,73,125)"></span></font></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">
(schedule) </span></font><font face="Courier New" size="3"><a href="http://nirsimionovich.appointy.com/" style="color:rgb(17,85,204)" target="_blank">http://nirsimionovich.appointy.com/</a></font></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (w)<span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="http://www.greenfieldtech.net/" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">http://www.greenfieldtech.net</font></span></a><font size="3"> </font></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (p) <a href="tel:073-255-7799" value="+972732557799" target="_blank">+972-73-2557799</a> <span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(MSN):<span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nirs@greenfieldtech.net" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">nirs@greenfieldtech.net</font></span></a></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (m) <a href="tel:054-698-2826" value="+972546982826" target="_blank">+972-54-6982826</a> <span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(GTALK):<span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nir.simionovich@gmail.com" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">nir.simionovich@gmail.com</font></span></a><span style="color:rgb(31,73,125)"></span></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (f) <a href="tel:073-255-7202" value="+972732557202" target="_blank">+972-73-2557202</a> <span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(SKYPE):
greenfieldtech.nir</font></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><br>
</p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> <a href="https://mailstrom.co/referral/ARZJE" style="color:rgb(17,85,204)" target="_blank">Zero Your Inbox</a> | <a href="https://www.digitalocean.com/?refcode=97eeea09917a" style="color:rgb(17,85,204)" target="_blank">Cloud Servers</a></font></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span><span style="font-family:calibri;font-size:medium;line-height:0px"> </span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;margin:7.5pt 0in 0pt;line-height:0px"><span style="font-family:"courier new""></span></p>
<table style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td style="margin:0px"><br>
</td>
</tr>
</tbody><tbody>
<tr>
<td style="margin:0px;padding:0.75pt;border:rgb(0,0,0);background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial">
<p style="margin:0in 0in 0pt"><b><span style="font-family:"courier new"">Disclaimer:</span></b><br>
</p>
<p style="margin:0in 0in 0pt"><span style="font-family:"courier new"">This
e-mail is intended solely for the person to whom
it is addressed and may contain confidential or
legally privileged information. Access to this
e-mail by anyone else is unauthorized. If an
addressing or transmission error has misdirected
this e-mail, please notify the author by replying
to this e-mail and destroy this e-mail and any
attachments.<span class="m_4988214033860018120m_7774423677376422170inbox-inbox-inbox-inbox-Apple-converted-space"> </span><br>
E-mail may be susceptible to data corruption,
interception, unauthorized amendment, viruses and
delays or the consequences thereof. If you are not
the intended recipient, be advised that you have
received this email in error and that any use,
dissemination, forwarding, printing or copying of
this email is strictly prohibited.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<fieldset class="m_4988214033860018120m_7774423677376422170mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</div></blockquote></div><div dir="ltr">-- <br></div><div class="m_4988214033860018120gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">Kind Regards,</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> Nir Simionovich</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> GreenfieldTech</span><span style="color:rgb(31,73,125)"></span></font></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> (schedule) </span></font><font face="Courier New" size="3"><a href="http://nirsimionovich.appointy.com/" style="color:rgb(17,85,204)" target="_blank">http://nirsimionovich.appointy.com/</a></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (w)<span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="http://www.greenfieldtech.net/" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">http://www.greenfieldtech.net</font></span></a><font size="3"> </font></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (p) <a href="tel:073-255-7799" value="+972732557799" target="_blank">+972-73-2557799</a> <span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(MSN):<span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nirs@greenfieldtech.net" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">nirs@greenfieldtech.net</font></span></a></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (m) <a href="tel:054-698-2826" value="+972546982826" target="_blank">+972-54-6982826</a> <span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(GTALK):<span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nir.simionovich@gmail.com" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue"><font size="3">nir.simionovich@gmail.com</font></span></a><span style="color:rgb(31,73,125)"></span></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (f) <a href="tel:073-255-7202" value="+972732557202" target="_blank">+972-73-2557202</a> <span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(SKYPE): greenfieldtech.nir</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> <a href="https://mailstrom.co/referral/ARZJE" style="color:rgb(17,85,204)" target="_blank">Zero Your Inbox</a> | <a href="https://www.digitalocean.com/?refcode=97eeea09917a" style="color:rgb(17,85,204)" target="_blank">Cloud Servers</a></font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span><span style="font-family:calibri;font-size:medium;line-height:0px"> </span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;margin:7.5pt 0in 0pt;line-height:0px"><span style="font-family:"courier new""></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><font face="Times New Roman" style="color:rgb(34,34,34);font-size:small;line-height:normal"></font><table border="0" cellspacing="3" cellpadding="0" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><tbody><tr><td style="margin:0px"><font face="Times New Roman"></font></td></tr></tbody><tbody><tr><td style="margin:0px;padding:0.75pt;border:rgb(0,0,0);background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial"><font face="Times New Roman"></font><p style="margin:0in 0in 0pt"><b><span style="font-family:"courier new"">Disclaimer:</span></b><br></p><p style="margin:0in 0in 0pt"><span style="font-family:"courier new"">This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments.<span class="m_4988214033860018120inbox-inbox-inbox-inbox-Apple-converted-space"> </span><br>E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited.</span></p></td></tr></tbody></table></div></div></blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">Kind Regards,</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> Nir Simionovich</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> GreenfieldTech</span><span style="color:rgb(31,73,125)"></span></font></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new""> (schedule) </span></font><font face="Courier New" size="3"><a href="http://nirsimionovich.appointy.com/" target="_blank" style="color:rgb(17,85,204)">http://nirsimionovich.appointy.com/</a></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (w)<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="http://www.greenfieldtech.net/" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">http://www.greenfieldtech.net</font></span></a><font size="3"> </font></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (p) +972-73-2557799 <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(MSN):<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nirs@greenfieldtech.net" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">nirs@greenfieldtech.net</font></span></a></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (m) +972-54-6982826 <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(GTALK):<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nir.simionovich@gmail.com" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">nir.simionovich@gmail.com</font></span></a><span style="color:rgb(31,73,125)"></span></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> (f) +972-73-2557202 <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(SKYPE): greenfieldtech.nir</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3"> <a href="https://mailstrom.co/referral/ARZJE" target="_blank" style="color:rgb(17,85,204)">Zero Your Inbox</a> | <a href="https://www.digitalocean.com/?refcode=97eeea09917a" target="_blank" style="color:rgb(17,85,204)">Cloud Servers</a></font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span><span style="font-family:calibri;font-size:medium;line-height:0px"> </span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;margin:7.5pt 0in 0pt;line-height:0px"><span style="font-family:"courier new""></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><font face="Times New Roman" style="color:rgb(34,34,34);font-size:small;line-height:normal"></font><table border="0" cellspacing="3" cellpadding="0" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><tbody><tr><td style="margin:0px"><font face="Times New Roman"></font></td></tr></tbody><tbody><tr><td style="margin:0px;padding:0.75pt;border:rgb(0,0,0);background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial"><font face="Times New Roman"></font><p style="margin:0in 0in 0pt"><b><span style="font-family:"courier new"">Disclaimer:</span></b><br></p><p style="margin:0in 0in 0pt"><span style="font-family:"courier new"">This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments.<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span><br>E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited.</span></p></td></tr></tbody></table></div></div>