[OracleCode - SF] Distributed caching for your next node.js project

Post on 19-Mar-2017

32 views 0 download

Transcript of [OracleCode - SF] Distributed caching for your next node.js project

Distributed Caching for Your

Next Node.js Project

@gamussa @hazelcast #oraclecode

Solutions ArchitectDeveloper Advocate@gamussa in internetz

Please, follow me on TwitterI’m very interesting ©

> whoami

@gamussa @hazelcast #oraclecode

Why cache?

@gamussa @hazelcast #oraclecode

@gamussa @hazelcast #oraclecode

@gamussa @hazelcast #oraclecode

Business Application (instance 2)

Business Application (instance 1)

Service Service Service

RDBMS Mainframe MongoDBNoSQL REST

@gamussa @hazelcast #oraclecode

@gamussa @hazelcast #oraclecode

Cache is good for…◇Performance ◇Offload expensive parts of your architecture◇Scale up – get the most out of one machine

@gamussa @hazelcast #oraclecode

@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

@gamussa @hazelcast #oraclecode

@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

@gamussa @hazelcast #oraclecode

@gamussa @hazelcast #oraclecode

Polyglot planform

@gAmUssA @hazelcast #jfokus #hazelcastjet

Problem

Data doesn’t fit just one machine

@gamussa @hazelcast #oraclecode

What’s

@gamussa @hazelcast #oraclecode

@gamussa @hazelcast #oraclecode

Replication or Sharding?

http://book.mixu.net/distsys/single-page.html

@gamussa @hazelcast #oraclecode

Demo time!It’s #oraclecode!Show me some code, yay!

@gamussa @hazelcast #oraclecode

http://hazelcast.github.io/hazelcast-nodejs-client/

@gamussa @hazelcast #oraclecode

Thanks!Any questions?You can find me at:◇@gamussa◇viktor@hazelcast.com