Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Distributed Caching for Your next Node.js Project

Distributed Caching for Your next Node.js Project

Viktor Gamov

June 15, 2017
Tweet

More Decks by Viktor Gamov

Other Decks in Programming

Transcript

  1. @gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect Developer Advocate @gamussa

    in internetz Please, follow me on Twitter I’m very interesting © > whoami
  2. @gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application

    (instance 1) Service Service Service RDBMS Mainframe MongoDB
 NoSQL REST
  3. @gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application

    (instance 1) Service Service Service RDBMS Mainframe NoSQL REST CACHE
  4. @gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application

    (instance 1) Service Service Service RDBMS Mainframe NoSQL REST CACHE Scale out
  5. @gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application

    (instance 1) Service Service Service RDBMS Mainframe NoSQL REST CACHE Scale out Read thought Write through
  6. @gamussa @hazelcast #cloudfoundry #cfsummit17 Cache is good for… ◇Improving performance

    ◇Offload expensive parts of the architecture ◇Scale up your – get the most out of one machine
  7. @gamussa @hazelcast #cloudfoundry #cfsummit17 Cache is good for… ◇Performance ◇Offload

    expensive parts of the architecture ◇Scale up – get the most out of one machine ◇Scale out – add more capacity with more machines
  8. @gamussa @hazelcast #cloudfoundry #cfsummit17 Caching use cases: ◇Performance ◇Offload expensive

    parts of the architecture ◇Scale up – get the most out of one machine ◇Scale out – add more capacity with more machines ◇Usually very fast and easy to apply
  9. @gamussa @hazelcast #cloudfoundry #cfsummit17 Problem ◇Data doesn’t fit just one

    machine ONE DOES NOT SIMPLY FIT ALL DATA IN ONE MACHINE
  10. @gamussa @hazelcast #cloudfoundry #cfsummit17 What’s Hazelcast IMDG? ◇In-memory Data Grid

    ◇Apache v2 Licensed ◇Distributed ■Caches (IMap, JCache) ■Collections (IList, ISet, IQueue) ■Messaging (Topic, RingBuffer) ■Computation (ExecutorService, M-R)
  11. @gamussa @hazelcast #cloudfoundry #cfsummit17 Tile Capabilities ◇dedicated VM for service

    ◇Support for multiple availability zones ◇Bosh ensures the availability of all VMs ◇Only Tile, no separate Bosh release for ODB
  12. @gamussa @hazelcast #cloudfoundry #cfsummit17 Useful materials ◇ Features https://hazelcast.org/clients/node-js/ ◇Refcard

    http://bit.ly/hzNodeRefcard ◇NPM package https://www.npmjs.com/package/hazelcast-client