Schlagwort-Archive: memcached

node.js, domino-db & Docker (7): The ValueHolder

I am using this for years in Java, so I thought it would be great to use this approach also in the JavaScript world: The ValueHolder. The class allows to easily define „cachable“ code and it’s result, without having to … Weiterlesen

Veröffentlicht unter ES6, Java Script, node.js | Verschlagwortet mit , , , | Schreib einen Kommentar

node.js, domino-db & Docker (6): Using memcached

mem.js I am using mem.js as client library for accessing memcached. To use it, the first thing to do is to add the requirement to your package.json: npm install memjs –save MemcachedFactory Then we can create a simple helper class … Weiterlesen

Veröffentlicht unter ES6, Java Script | Verschlagwortet mit , , | Schreib einen Kommentar

node.js, domino-db & Docker (5): memcached

To use memcached in our Docker container, we have to modify the existing Dockerfile a little bit. First it is required to install memcached in the container itself, and then it is required to change the CMD command to start … Weiterlesen

Veröffentlicht unter Docker, node.js | Verschlagwortet mit , , | Schreib einen Kommentar