-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for incr/decr operations #1
base: master
Are you sure you want to change the base?
Commits on Mar 19, 2010
-
Configuration menu - View commit details
-
Copy full SHA for 9e739f3 - Browse repository at this point
Copy the full SHA 9e739f3View commit details
Commits on May 5, 2010
-
joewilliams committed
May 5, 2010 Configuration menu - View commit details
-
Copy full SHA for 8742789 - Browse repository at this point
Copy the full SHA 8742789View commit details -
Merge branch 'master' of github.com:joewilliams/merle
joewilliams committedMay 5, 2010 Configuration menu - View commit details
-
Copy full SHA for 3294247 - Browse repository at this point
Copy the full SHA 3294247View commit details
Commits on May 6, 2010
-
added priority queue for gen_server2
joewilliams committedMay 6, 2010 Configuration menu - View commit details
-
Copy full SHA for 9e60987 - Browse repository at this point
Copy the full SHA 9e60987View commit details -
joewilliams committed
May 6, 2010 Configuration menu - View commit details
-
Copy full SHA for ab4bccc - Browse repository at this point
Copy the full SHA ab4bcccView commit details
Commits on Jun 28, 2010
-
better disconnect procedure, thanks zabrane
joewilliams committedJun 28, 2010 Configuration menu - View commit details
-
Copy full SHA for 1fc2c4f - Browse repository at this point
Copy the full SHA 1fc2c4fView commit details -
disconnect should be a cast not call
joewilliams committedJun 28, 2010 Configuration menu - View commit details
-
Copy full SHA for 60b4251 - Browse repository at this point
Copy the full SHA 60b4251View commit details
Commits on Mar 22, 2012
-
added incr/2, decr/2, addcounter/1, literal/1
incr/2 implements the increment command for memcached, decr implements the decrement command. addcounter/1 uses a simple (non-CAS) set to initialized a counter set at zero, which can then be fiddled with via incr/2 and decr/2. This was necessary because merle functions mainly as a key/value store for arbitrary erlang data instead of a general data-store, such as we want for cacti purposes. literal/1 allows the user to submit literal strings over the socket to memcached. This should be used with extreme caution as memcached is intolerant of malformed input, but it is useful for determining what strings sent to memcached should look like and checking assumptions about its behavior. TODO: (optional) need a Check-And-Set version of addcounter so that distributed applications can update the same value with incr/2 and decr/2. This would save client code from having to try changing a value and then making a separate call to initialize it if it does not exist.
Jeremy authored and Jeremy committedMar 22, 2012 Configuration menu - View commit details
-
Copy full SHA for d312572 - Browse repository at this point
Copy the full SHA d312572View commit details -
better addcounter/1, incr/2 and decr/2
All three of the above functions now return more erlang-ish results, in keeping with the rest of merle. addcounter/1 also uses incr/2 to determine if a prospective key exists before creating it. This should be replaced with a CAS-version in the future.
Jeremy authored and Jeremy committedMar 22, 2012 Configuration menu - View commit details
-
Copy full SHA for 8aeacc7 - Browse repository at this point
Copy the full SHA 8aeacc7View commit details
Commits on Mar 26, 2012
-
Wrapped merle:literal/1 in conditional compilation; documentation
merle:literal/1 is rough and possibly dangerous to leave in production code (why would we let random erlang clients submit arbitrary strings to memcached?), so it is now compiled only when the DEV flag is defined to erlc. Added EDoc segments for addcounter/1, incr/2 and decr/2 have been added
Jeremy authored and Jeremy committedMar 26, 2012 Configuration menu - View commit details
-
Copy full SHA for 57194fe - Browse repository at this point
Copy the full SHA 57194feView commit details -
* added incr and decr to listed features * added note to the effect that counters aren't erlang terms * demonstration of incr, decr and addcounter * examples of delete with counters and incr/decr on counters that don't exist
Jeremy authored and Jeremy committedMar 26, 2012 Configuration menu - View commit details
-
Copy full SHA for da6a303 - Browse repository at this point
Copy the full SHA da6a303View commit details -
Adding myself to contributer list in NOTICES
Jeremy authored and Jeremy committedMar 26, 2012 Configuration menu - View commit details
-
Copy full SHA for 3c0798a - Browse repository at this point
Copy the full SHA 3c0798aView commit details -
Revert "Adding myself to contributer list in NOTICES"
This reverts commit 3c0798a.
Jeremy authored and Jeremy committedMar 26, 2012 Configuration menu - View commit details
-
Copy full SHA for 00538e0 - Browse repository at this point
Copy the full SHA 00538e0View commit details
Commits on Mar 27, 2012
-
Revert "Revert "Adding myself to contributer list in NOTICES""
This reverts commit 00538e0.
Jeremy authored and Jeremy committedMar 27, 2012 Configuration menu - View commit details
-
Copy full SHA for 03148eb - Browse repository at this point
Copy the full SHA 03148ebView commit details -
adding LICENSE.txt to the project
merle is distributed under the MIT license, but doesn't seem to have copy of the text of the MIT license with the code. With the addition of LICENCE.txt, that little wrinkle should be cleared up.
Jeremy authored and Jeremy committedMar 27, 2012 Configuration menu - View commit details
-
Copy full SHA for ab1386e - Browse repository at this point
Copy the full SHA ab1386eView commit details
Commits on May 18, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 655f4c0 - Browse repository at this point
Copy the full SHA 655f4c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd05757 - Browse repository at this point
Copy the full SHA cd05757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 210caa0 - Browse repository at this point
Copy the full SHA 210caa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a18939f - Browse repository at this point
Copy the full SHA a18939fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f724f4d - Browse repository at this point
Copy the full SHA f724f4dView commit details
Commits on May 21, 2012
-
Added support for retrieving counter values, or indeed any value stor…
…e in purely list form
Configuration menu - View commit details
-
Copy full SHA for c2b7b23 - Browse repository at this point
Copy the full SHA c2b7b23View commit details
Commits on Jul 10, 2012
-
Merged changes from pplov fork. Trying to get connection pooling and …
…clustering to play nice with added support for increment operations
Configuration menu - View commit details
-
Copy full SHA for 76bb117 - Browse repository at this point
Copy the full SHA 76bb117View commit details -
Configuration menu - View commit details
-
Copy full SHA for d216f70 - Browse repository at this point
Copy the full SHA d216f70View commit details
Commits on Jul 11, 2012
-
Configuration menu - View commit details
-
Copy full SHA for e037527 - Browse repository at this point
Copy the full SHA e037527View commit details -
A few changes to the merle parsing of a get response... have to suppo…
…rt more than just erlang binary term storage in order to support inc/dec operations
Configuration menu - View commit details
-
Copy full SHA for a5e2d5f - Browse repository at this point
Copy the full SHA a5e2d5fView commit details
Commits on Jul 17, 2012
-
Configuration menu - View commit details
-
Copy full SHA for a4fda86 - Browse repository at this point
Copy the full SHA a4fda86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e619039 - Browse repository at this point
Copy the full SHA e619039View commit details
Commits on Jul 20, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 48fefff - Browse repository at this point
Copy the full SHA 48fefffView commit details
Commits on Jul 24, 2012
-
Fixed bug with merle timeouts. When these occur it's best to kill the…
… merle process and let the merle_watcher restart it via the supervisor.
Configuration menu - View commit details
-
Copy full SHA for a9e8ecd - Browse repository at this point
Copy the full SHA a9e8ecdView commit details
Commits on Jul 27, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 6f58759 - Browse repository at this point
Copy the full SHA 6f58759View commit details
Commits on Aug 15, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 0fc016f - Browse repository at this point
Copy the full SHA 0fc016fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73950f4 - Browse repository at this point
Copy the full SHA 73950f4View commit details
Commits on Aug 16, 2012
-
Ended race condition with local_pg2 init... debugged round_robin merl…
…e connection pooling
Configuration menu - View commit details
-
Copy full SHA for b011877 - Browse repository at this point
Copy the full SHA b011877View commit details
Commits on Aug 21, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 26e8ad8 - Browse repository at this point
Copy the full SHA 26e8ad8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e96b68 - Browse repository at this point
Copy the full SHA 9e96b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 495d231 - Browse repository at this point
Copy the full SHA 495d231View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed5898 - Browse repository at this point
Copy the full SHA 2ed5898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 114e463 - Browse repository at this point
Copy the full SHA 114e463View commit details
Commits on Aug 22, 2012
-
Modified strategy so that merle_watchers are managed by process group…
….. They manage rebooting failed processes internally so that we don't back the local_pg2's message queue
Configuration menu - View commit details
-
Copy full SHA for 94fa953 - Browse repository at this point
Copy the full SHA 94fa953View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9e5bd - Browse repository at this point
Copy the full SHA dd9e5bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6c2e95 - Browse repository at this point
Copy the full SHA b6c2e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be553f - Browse repository at this point
Copy the full SHA 0be553fView commit details -
Changed exit scheme for merle processes.. should now issue exit messa…
…ge in queue, and move on
Configuration menu - View commit details
-
Copy full SHA for 394d186 - Browse repository at this point
Copy the full SHA 394d186View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0435ab - Browse repository at this point
Copy the full SHA a0435abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccc51f8 - Browse repository at this point
Copy the full SHA ccc51f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba88778 - Browse repository at this point
Copy the full SHA ba88778View commit details
Commits on Aug 23, 2012
-
Tweaked supervision tree for merle project, so that if process pool m…
…gr dies, all outstanding merle watchers will also die
Configuration menu - View commit details
-
Copy full SHA for 5a708f4 - Browse repository at this point
Copy the full SHA 5a708f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f7e194 - Browse repository at this point
Copy the full SHA 1f7e194View commit details -
Added utility method for retrieving number of available merle connect…
…ions at any given time
Configuration menu - View commit details
-
Copy full SHA for 059bab7 - Browse repository at this point
Copy the full SHA 059bab7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebe815d - Browse repository at this point
Copy the full SHA ebe815dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eae31a - Browse repository at this point
Copy the full SHA 1eae31aView commit details
Commits on Aug 24, 2012
-
Adding periodic clean so that we never lose merle connections, even i…
…n the event of a bug
Configuration menu - View commit details
-
Copy full SHA for 83191ce - Browse repository at this point
Copy the full SHA 83191ceView commit details -
Adding periodic clean so that we never lose merle connections, even i…
…n the event of a bug
Configuration menu - View commit details
-
Copy full SHA for 43afd58 - Browse repository at this point
Copy the full SHA 43afd58View commit details -
Configuration menu - View commit details
-
Copy full SHA for f76ea9e - Browse repository at this point
Copy the full SHA f76ea9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f382bbe - Browse repository at this point
Copy the full SHA f382bbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aec952 - Browse repository at this point
Copy the full SHA 7aec952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9381814 - Browse repository at this point
Copy the full SHA 9381814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f01024 - Browse repository at this point
Copy the full SHA 0f01024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3349a58 - Browse repository at this point
Copy the full SHA 3349a58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29ebe6e - Browse repository at this point
Copy the full SHA 29ebe6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf1e33 - Browse repository at this point
Copy the full SHA 4cf1e33View commit details
Commits on Nov 27, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 07e19d7 - Browse repository at this point
Copy the full SHA 07e19d7View commit details
Commits on Jan 2, 2013
-
No longer greedily initializing all connections upon first start. Ins…
…tead we initialize on demand.
Configuration menu - View commit details
-
Copy full SHA for 3fdbf4d - Browse repository at this point
Copy the full SHA 3fdbf4dView commit details
Commits on Jan 3, 2013
-
Simplified connection pooling logic. Now use status is stored within …
…merle_client itself. merle_pool merely chooses a client, which is then checked out via the exec function
Configuration menu - View commit details
-
Copy full SHA for 0e7459f - Browse repository at this point
Copy the full SHA 0e7459fView commit details
Commits on Jan 4, 2013
-
Configuration menu - View commit details
-
Copy full SHA for f5f6e11 - Browse repository at this point
Copy the full SHA f5f6e11View commit details
Commits on Jan 10, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 2e7323f - Browse repository at this point
Copy the full SHA 2e7323fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c93f7 - Browse repository at this point
Copy the full SHA 29c93f7View commit details -
Merged old-connection-pooling branch. Now returning merle exec result…
… along with value
Configuration menu - View commit details
-
Copy full SHA for 2ace37f - Browse repository at this point
Copy the full SHA 2ace37fView commit details
Commits on Jan 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 592f5d8 - Browse repository at this point
Copy the full SHA 592f5d8View commit details