Giter VIP home page Giter VIP logo

Comments (6)

chylvina avatar chylvina commented on September 1, 2024

and
4.6. quit

from memjs.

alevy avatar alevy commented on September 1, 2024

I don't think the get variants are valuable to expose in the client interface (it's useful as a building block for higher level operations like multi-get, or for handling get requests asynchronously).

Multi-get would certainly be valuable (often implemented as a series of get-key-quietly so) although I haven't thought through whether it would require any significant changes in how callbacks are invoked in server.js

Fairly simple but useful features that I would be thrilled if you submitted a patch for (no one has asked for these yet, but they should be there):

  • Append/prepend
  • An optimization of set to use set-quietly when a callback isn't passed. SetQ isn't documented as well as getq, but basically it only responds if there was an error (which if there is no callback should probably just be discarded).
  • Touch command

Thanks for your interest! BTW, you probably want to be looking at this wiki page which is slightly more up to date: http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped

from memjs.

alevy avatar alevy commented on September 1, 2024

we could, in principal add quit commands to the Client#close function, i'm not against that - it's more polite to the server even if not strictly necessary.

from memjs.

chylvina avatar chylvina commented on September 1, 2024

OK, I'll check it out first.

from memjs.

alevy avatar alevy commented on September 1, 2024

@chylvina any news?

from memjs.

dterei avatar dterei commented on September 1, 2024

Closing as we support touch, quit, prepend... just not multi-get and others, but we have that documented elsewhere.

from memjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.