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

[OracleCode - SF] Distributed Caching for Your Next Node.js Project

[OracleCode - SF] Distributed Caching for Your Next Node.js Project

Caching keeps the data in memory that either slow to calculate or originate from another underlying back-end system. In this presentation, you will see how to leverage Hazelcast as a distributed cache for Node.js applications. Hazelcast is an open source, elastic, self-balancing, self-healing and highly available in-memory computing platform provides fast, reliable access to scalable in-memory data. This hands-on talk will enable you to get started exploring Hazelcast for Node.js and give your project a jump start in speed and scale. In this talk, will be covered: - How distributed caching works in general. - Capabilities of Node.js client. - Real world use cases and best practices.

0680be1c881abcf19219f09f1e8cf140?s=128

Viktor Gamov

March 01, 2017
Tweet

More Decks by Viktor Gamov

Other Decks in Programming

Transcript

  1. Distributed Caching for Your Next Node.js Project

  2. @gamussa @hazelcast #oraclecode Solutions Architect Developer Advocate @gamussa in internetz

    Please, follow me on Twitter I’m very interesting © > whoami
  3. @gamussa @hazelcast #oraclecode Why cache?

  4. @gamussa @hazelcast #oraclecode

  5. @gamussa @hazelcast #oraclecode

  6. @gamussa @hazelcast #oraclecode Business Application (instance 2) Business Application (instance

    1) Service Service Service RDBMS Mainframe MongoDB NoSQL REST
  7. @gamussa @hazelcast #oraclecode

  8. @gamussa @hazelcast #oraclecode Cache is good for… ◇Performance ◇Offload expensive

    parts of your architecture ◇Scale up – get the most out of one machine
  9. @gamussa @hazelcast #oraclecode

  10. @gamussa @hazelcast #oraclecode Cache is good for… ◇Performance ◇Offload expensive

    parts of your architecture ◇Scale up – get the most out of one machine ◇Scale out – add more capacity with more machines
  11. @gamussa @hazelcast #oraclecode

  12. @gamussa @hazelcast #oraclecode Cache is good for… ◇Performance ◇Offload expensive

    parts of your 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
  13. @gamussa @hazelcast #oraclecode

  14. @gamussa @hazelcast #oraclecode Polyglot planform @gAmUssA @hazelcast #jfokus #hazelcastjet Problem

    Data doesn’t fit just one machine
  15. @gamussa @hazelcast #oraclecode What’s

  16. @gamussa @hazelcast #oraclecode

  17. @gamussa @hazelcast #oraclecode Replication or Sharding? http://book.mixu.net/distsys/single-page.html

  18. @gamussa @hazelcast #oraclecode Demo time! It’s #oraclecode! Show me some

    code, yay!
  19. @gamussa @hazelcast #oraclecode http://hazelcast.github.io/hazelcast-nodejs-client/

  20. @gamussa @hazelcast #oraclecode Thanks! Any questions? You can find me

    at: ◇@gamussa ◇viktor@hazelcast.com