Maybe also cache_pop_num(key) ? What is the recommended/minimum blocksize for a cache with only counters, 8bytes (64-bit integer)?
On Thu, Sep 11, 2014 at 3:34 PM, Roberto De Ioris <[email protected]> wrote: > > > That, OR > > > > another way is to use cache_keys to get a list of keys, and to > > cache_pop(key) for each key. > > > > Basically cache_pop(key) will do an atomic cache_get + cache_del. > > > > > cache_pop(key) could be extremely useful, i think it could be whorty to > add it to stable releases too > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
