@corey,

  I've been looking into res_sorcery_astdb, but I think I'm missing
something in here.
If I would create a a redis backend for sorcery, the functionality is
fairly limited in the scope
of Redis usage. Mainly due to the fact that sorcery is meant as a CRUD
interface.

  Have I got it correct?



On Thu, Nov 23, 2017 at 2:03 AM Nir Simionovich <nir.simionov...@gmail.com>
wrote:

> Actually, I was more thinking about Redis as a PubSub mechanism, not as a
> static storage backend.
>
> Here is my take on things, developers need tools. Some developers prefer
> Redis, other may prefer beanstalk,
> and other may prefer log files. Each one has its merits and its issues,
> but the overall ability to choose is important.
> I believe that adding modern backends improves our appeal to "modern
> developers" who are accustomed to these
> tools.
>
>
>
> On Thu, Nov 23, 2017 at 1:52 AM Corey Farrell <g...@cfware.com> wrote:
>
>> From your configure.ac:
>> > AST_EXT_LIB_CHECK([REDIS], [redis], [redisReaderCreate],
>> [hiredis/hiredis.h])
>>
>> This tries linking with '-lredis', but it needs to use '-lhiredis':
>>
>> AST_EXT_LIB_CHECK([REDIS], [hiredis], [redisReaderCreate],
>> [hiredis/hiredis.h])
>>
>> In addition instead of using variable prefix "REDIS" (the first argument)
>> I suggest switching to "HIREDIS" (don't forget makeopts.in and
>> build_tools/menuselect-deps.in).  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.
>>
>> 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.
>>
>> On 11/22/2017 06:01 PM, Nir Simionovich wrote:
>>
>> Hi All,
>>
>>   I've started a new branch at team/nirs/cdr-redis-support
>>
>>   I'm having some issues integrating the hiredis library into the
>> automake. It seems to be configured correctly,
>> however, for some odd reason it will not become available in the
>> 'menuselect' tool.
>>
>>   Would highly appreciate it if someone can take a look for a minute and
>> see if I missed anything major in there.
>>
>>
>> --
>>
>> Kind Regards,
>>
>>   Nir Simionovich
>>
>>   GreenfieldTech
>>
>>   (schedule) http://nirsimionovich.appointy.com/
>>
>>   (w) http://www.greenfieldtech.net
>>
>>   (p) +972-73-2557799 <073-255-7799>        (MSN):
>> n...@greenfieldtech.net
>>
>>   (m) +972-54-6982826 <054-698-2826>      (GTALK):
>> nir.simionov...@gmail.com
>>
>>   (f) +972-73-2557202 <073-255-7202>      (SKYPE): greenfieldtech.nir
>>
>>
>> ----------------------------------------------------------
>>
>>                Zero Your Inbox <https://mailstrom.co/referral/ARZJE> | Cloud
>> Servers <https://www.digitalocean.com/?refcode=97eeea09917a>
>>
>> ----------------------------------------------------------
>>
>>
>> *Disclaimer:*
>>
>> 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.
>> 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.
>>
>>
>>
>> --
>
> Kind Regards,
>
>   Nir Simionovich
>
>   GreenfieldTech
>
>   (schedule) http://nirsimionovich.appointy.com/
>
>   (w) http://www.greenfieldtech.net
>
>   (p) +972-73-2557799 <073-255-7799>        (MSN): n...@greenfieldtech.net
>
>   (m) +972-54-6982826 <054-698-2826>      (GTALK):
> nir.simionov...@gmail.com
>
>   (f) +972-73-2557202 <073-255-7202>      (SKYPE): greenfieldtech.nir
>
>
> ----------------------------------------------------------
>
>                Zero Your Inbox <https://mailstrom.co/referral/ARZJE> | Cloud
> Servers <https://www.digitalocean.com/?refcode=97eeea09917a>
>
> ----------------------------------------------------------
>
> *Disclaimer:*
>
> 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.
> 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.
>
-- 

Kind Regards,

  Nir Simionovich

  GreenfieldTech

  (schedule) http://nirsimionovich.appointy.com/

  (w) http://www.greenfieldtech.net

  (p) +972-73-2557799        (MSN): n...@greenfieldtech.net

  (m) +972-54-6982826      (GTALK): nir.simionov...@gmail.com

  (f) +972-73-2557202      (SKYPE): greenfieldtech.nir


----------------------------------------------------------

               Zero Your Inbox <https://mailstrom.co/referral/ARZJE> | Cloud
Servers <https://www.digitalocean.com/?refcode=97eeea09917a>

----------------------------------------------------------

*Disclaimer:*

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.
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.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to