$30 off During Our Annual Pro Sale. View Details »

[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.

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

    View Slide

  2. @gamussa @hazelcast #oraclecode
    Solutions Architect
    Developer Advocate
    @gamussa in internetz
    Please, follow me on Twitter
    I’m very interesting ©
    > whoami

    View Slide

  3. @gamussa @hazelcast #oraclecode
    Why cache?

    View Slide

  4. @gamussa @hazelcast #oraclecode

    View Slide

  5. @gamussa @hazelcast #oraclecode

    View Slide

  6. @gamussa @hazelcast #oraclecode
    Business Application (instance 2)
    Business Application (instance 1)
    Service Service Service
    RDBMS Mainframe MongoDB
    NoSQL
    REST

    View Slide

  7. @gamussa @hazelcast #oraclecode

    View Slide

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

    View Slide

  9. @gamussa @hazelcast #oraclecode

    View Slide

  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

    View Slide

  11. @gamussa @hazelcast #oraclecode

    View Slide

  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

    View Slide

  13. @gamussa @hazelcast #oraclecode

    View Slide

  14. @gamussa @hazelcast #oraclecode
    Polyglot planform
    @gAmUssA @hazelcast #jfokus #hazelcastjet
    Problem
    Data doesn’t fit just one machine

    View Slide

  15. @gamussa @hazelcast #oraclecode
    What’s

    View Slide

  16. @gamussa @hazelcast #oraclecode

    View Slide

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

    View Slide

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

    View Slide

  19. @gamussa @hazelcast #oraclecode
    http://hazelcast.github.io/hazelcast-nodejs-client/

    View Slide

  20. @gamussa @hazelcast #oraclecode
    Thanks!
    Any questions?
    You can find me at:
    ◇@gamussa
    [email protected]

    View Slide