ohmu / omcache Goto Github PK
View Code? Open in Web Editor NEWOMcache - a memcached client library
License: Apache License 2.0
OMcache - a memcached client library
License: Apache License 2.0
24a17bd says:
fd_map array now starts from the lowest seen socket (but does not currently
resize it if the lowest socket goes away) which may use up a little less
memory in case the program already had a couple hundred thousand lower
numbered sockets, but the mapping will still be bloated in an environment
that handles tons of sockets with just a few memcache connections.
A future OMcache version may replace the fd_map array with a hash table.
I have on occasion run the omcache test suite and seen failures.
OMcahce doesn't do a lot of memory allocation, but where it does, it doesn't check the return values. Consider doing something about this. Just adding checks for NULL isn't enough, failed allocations need to either call abort() (which isn't a nice thing in a library) or they need to roll back the operation and they need tests to make sure it actually works.
tox can help with that.
Add a Makefile target to create HTML and manpage documentation for the API.
Add support for more commands, at least append, prepend, touch and gat should be supported.
Currently OMcache uses getaddrinfo() to resolve names which blocks. Replace it with something else, like optionally using libasyncns or c-ares or something similar.
Could be (probably spurious) but for the sake of clean build output it'd be nice to fix them:
omcache.c:1021:33: warning: missing field 'key' initializer [-Wmissing-field-initializers]
omcache_value_t value = {0};
^
omcache.c:1539:29: warning: missing field 'key' initializer [-Wmissing-field-initializers]
omcache_value_t value = {0};
There are no tests that verify that the CFFI bindings work.
There is one async c memcached client library, thanks for it.
Internally all command use omcache_io
. But there is no async interface for set commands.
Do you plan to add such functions?
There is only one commit between the latest release and now.
Have you guys stopped maintaining the project?
There's still a lot of work to be done in terms of documentation and performance benchmarks.
Add gevent / asyncio support for the Python bindings and libev / libevent support for the C module.
We need to create a django backend that allows us to use omcache from within Django.
I'd do it myself since it's pretty simple but there's no documentation yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.