Hi all,
i just added a new module to the repository - 'memcached'. Its allows to connect to a memcached server, and supports add, get, delete and atomic operations via pseudo-variables.
Further details can be found in the module documentation: http://kamailio.org/docs/modules/devel/memcached.html
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
Best regards,
Henning Westerholt
Thanks Henning,
thanks, this is very useful!
Does the name of a MC key can include pseudo-variables?
Have you added description ofr the new PV in the dokuwiki, maybe I missed them?
Cheers, Daniel
On 03/10/2009 08:44 PM, Henning Westerholt wrote:
Hi all,
i just added a new module to the repository - 'memcached'. Its allows to connect to a memcached server, and supports add, get, delete and atomic operations via pseudo-variables.
Further details can be found in the module documentation: http://kamailio.org/docs/modules/devel/memcached.html
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
Best regards,
Henning Westerholt
Kamailio (OpenSER) - Devel mailing list Devel@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
On Tuesday 10 March 2009, Daniel-Constantin Mierla wrote:
Thanks Henning,
thanks, this is very useful!
Does the name of a MC key can include pseudo-variables?
Have you added description ofr the new PV in the dokuwiki, maybe I missed them?
Hi Daniel,
indeed, the documentation in the wiki is missing, will do it later today.
Cheers,
Henning
Hello Henning,
On 03/11/2009 10:43 AM, Henning Westerholt wrote:
On Tuesday 10 March 2009, Daniel-Constantin Mierla wrote:
Thanks Henning,
thanks, this is very useful!
Does the name of a MC key can include pseudo-variables?
you forgot above question ... can I have $mct($ru)? thanks!
Daniel
Have you added description ofr the new PV in the dokuwiki, maybe I missed them?
Hi Daniel,
indeed, the documentation in the wiki is missing, will do it later today.
Cheers,
Henning
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On Wednesday 11 March 2009, Daniel-Constantin Mierla wrote:
thanks, this is very useful!
Does the name of a MC key can include pseudo-variables?
you forgot above question ... can I have $mct($ru)? thanks!
Hi Daniel,
ah, sorry. Yes, from the readme:
"This hash table is stored in memory and can can be accessed via a pseudo-variable: $mcd(key). [..] The “key” can be a static string and also any existing pseudo-variable."
Cheers,
Henning
Hello Henning,
On 03/11/2009 01:32 PM, Henning Westerholt wrote:
On Wednesday 11 March 2009, Daniel-Constantin Mierla wrote:
thanks, this is very useful!
Does the name of a MC key can include pseudo-variables?
you forgot above question ... can I have $mct($ru)? thanks!
Hi Daniel,
ah, sorry. Yes, from the readme:
"This hash table is stored in memory and can can be accessed via a pseudo-variable: $mcd(key). [..] The “key” can be a static string and also any existing pseudo-variable."
sorry, I missed that, thanks. Just have in mind that I saw in the readme $mct(key) and $mcd(key), might be a typo or there are two new PV and one is missing from the PV section.
Cheers, Daniel
On Wednesday 11 March 2009, Daniel-Constantin Mierla wrote:
sorry, I missed that, thanks. Just have in mind that I saw in the readme $mct(key) and $mcd(key), might be a typo or there are two new PV and one is missing from the PV section.
Hi Daniel,
it was named '$mcd' in a previous iteration of the module, i'll fix this.
Cheers,
Henning
Henning,
On 10-03 19:44, Henning Westerholt wrote:
Hi all,
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
I pulled the module into the git repository with updated modules:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=kamailio-3.0/.git;a=shortlog;...
defined some missing macros and the module compiles (well, it will compile when you commit the makefile ;-).
Jan.
On Wednesday 11 March 2009, Jan Janak wrote:
Henning,
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
I pulled the module into the git repository with updated modules:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=kamailio-3.0/.git;a=shortlog ;h=refs/heads/memcached
defined some missing macros and the module compiles (well, it will compile when you commit the makefile ;-).
Hi Jan,
thanks, should be fixed now.
Cheers,
Henning
10 mar 2009 kl. 19.44 skrev Henning Westerholt:
Hi all,
i just added a new module to the repository - 'memcached'. Its allows to connect to a memcached server, and supports add, get, delete and atomic operations via pseudo-variables.
Further details can be found in the module documentation: http://kamailio.org/docs/modules/devel/memcached.html
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
Cool. Thanks!
Please add pointers to the library on the doc page...
/O
On Wednesday 11 March 2009, Olle E. Johansson wrote:
If the pv module is imported into the sip-router it should be also work there, i'll migrate the module then to this tree.
Cool. Thanks!
Please add pointers to the library on the doc page...
Hi Olle,
thanks, done.
Cheers,
Henning
El Martes, 10 de Marzo de 2009, Henning Westerholt escribió:
Hi all,
i just added a new module to the repository - 'memcached'. Its allows to connect to a memcached server, and supports add, get, delete and atomic operations via pseudo-variables.
Further details can be found in the module documentation: http://kamailio.org/docs/modules/devel/memcached.html
Hi, I read this in the documentation:
----------- This module is an addition to the existing htable functionality, not a replacement. In smaller architectures or installations where only one instance needs access to the hash table this module is easier to setup, as no dedicated server needs to be provided. But when a distributed storage facilility is necessary, or one want to separate the storage from the SIP server, this module could be used. ------------
Perhaps you could clarify in which case is better using htable or memcached? I understand that htable (not distributed but in local memory) is more suitable for a simple installation while memcached allow varios servers accessing to the same storege.
If I'm right, sould the text be a bit improved? :)
PD: Congratulations for this module, it seems really useful for complex environments.
On Wednesday 11 March 2009, Iñaki Baz Castillo wrote:
Hi, I read this in the documentation:
This module is an addition to the existing htable functionality, not a replacement. In smaller architectures or installations where only one instance needs access to the hash table this module is easier to setup, as no dedicated server needs to be provided. But when a distributed storage facilility is necessary, or one want to separate the storage from the SIP server, this module could be used.
Perhaps you could clarify in which case is better using htable or memcached? I understand that htable (not distributed but in local memory) is more suitable for a simple installation while memcached allow varios servers accessing to the same storege.
If I'm right, sould the text be a bit improved? :)
Hi Iñaki,
thanks. Yes, you're right, this text could be improved. :-) I'll rephrase it a bit.
Cheers,
Henning