[ opensips-Feature Requests-2783054 ] add class/namespace support in memcache funcs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Feature Requests-2783054 ] add class/namespace support in memcache funcs

SourceForge.net
Feature Requests item #2783054, was opened at 2009-04-28 14:12
Message generated for change (Comment added) made by brettnem
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2783054&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: add class/namespace support in memcache funcs

Initial Comment:
From Mailing list discussion:
Ability to store cache information into a specific namespace/class/family (whatever you want to call it)

(btw: the "_family" appended to the following commands may be confusing since you arn't storing a family, removing a family, etc.. any suggestions for better syntax? maybe detect the extra field? maybe _byfamily)

for example:
cache_store_family("local","account_limits","10000001","24","3600")
(translation: store to local cache,in the account_limits family, account 10000001 has 24 channels. remember this for 3600 seconds)


And the ability to purge (delete) an entire namespace/class/family:
cache_purge_family("local","account_limits")
(translation: DELETE ALL cached entrieds in the account_limits family

Logically, you'll probably also need the ability to delete a single object that's in a family:
cache_remove_family("local","account_limits","10000001")
Other examples of caching families are:
1. Destination Rates
2. Account Codes

Please include fifo support to store / delete(single object) / purge(all objects)


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

Comment By: Brett Nemeroff (brettnem)
Date: 2009-04-28 14:14

Message:
Whoops! Sorry, I submitted this anonymously by mistake.. didn't know you
could even do that.. hum.



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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2783054&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel