Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Distributed Caching for Your next Node.js Project
Search
Viktor Gamov
June 15, 2017
Programming
2
210
Distributed Caching for Your next Node.js Project
https://cfsummit2017.sched.com/mobile/#session:6e79e60f777bd1731bd3c9e16abfc905
Viktor Gamov
June 15, 2017
Tweet
Share
More Decks by Viktor Gamov
See All by Viktor Gamov
Processing Streaming Data with KSQL
vikgamov
4
340
[VirtualJUG] Apache Kafka — A Streaming Data Platform
vikgamov
3
340
[SF JUG] Apache Kafka — A Streaming Data Platform
vikgamov
4
72
[OracleCode NYC-2018] Apache Kafka A Streaming Data Platform
vikgamov
1
150
[OracleCode NYC-2018] Rethinking Stream Processing with KStreams and KSQL
vikgamov
2
210
[JBreak-2018] Это кто там твитить про #jbreak?
vikgamov
0
170
[DevNexus-2018] Apache Kafka A Streaming Data Platform
vikgamov
2
240
[DataSciCon] Divide, Distribute and Conquer: Stream v. Batch
vikgamov
0
94
[Philly JUG] Divide, Distribute and Conquer: Stream v. Batch
vikgamov
0
440
Other Decks in Programming
See All in Programming
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
440
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
103 Early Hints
sugi_0000
1
230
Zoneless Testing
rainerhahnekamp
0
120
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
310
return文におけるstd::moveについて
onihusube
1
1k
php-conference-japan-2024
tasuku43
0
240
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
RailsConf 2023
tenderlove
29
940
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Scaling GitHub
holman
458
140k
Raft: Consensus for Rubyists
vanstee
137
6.7k
The Language of Interfaces
destraynor
154
24k
Building Your Own Lightsaber
phodgson
103
6.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Transcript
@gamussa @hazelcast #cloudfoundry #cfsummit17 Distributed Caching for Your next Node.js
Project @gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17 > whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect > whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect Developer Advocate >
whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect Developer Advocate @gamussa
in internetz > whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect Developer Advocate @gamussa
in internetz Please, follow me on Twitter > whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Señor Solutions Architect Developer Advocate @gamussa
in internetz Please, follow me on Twitter I’m very interesting © > whoami
@gamussa @hazelcast #cloudfoundry #cfsummit17 Why cache?
@gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17 Applications are like onions Applications have
layers
@gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 1) Service Service
Service RDBMS Mainframe MongoDB NoSQL REST
@gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application
(instance 1) Service Service Service RDBMS Mainframe MongoDB NoSQL REST
@gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application
(instance 1) Service Service Service RDBMS Mainframe NoSQL REST CACHE
@gamussa @hazelcast #cloudfoundry #cfsummit17 Business Application (instance 2) Business Application
(instance 1) Service Service Service RDBMS Mainframe NoSQL REST CACHE Scale out
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17 CACHES CACHES EVERYWHERE!
@gamussa @hazelcast #cloudfoundry #cfsummit17 Cache is good for…
@gamussa @hazelcast #cloudfoundry #cfsummit17 Cache is good for… ◇Improving performance
@gamussa @hazelcast #cloudfoundry #cfsummit17 Cache is good for… ◇Improving performance
◇Offload expensive parts of the architecture
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17 Problem ◇Data doesn’t fit just one
machine ONE DOES NOT SIMPLY FIT ALL DATA IN ONE MACHINE
@gamussa @hazelcast #cloudfoundry #cfsummit17 ◇Amount of data is too
big to fit
@gamussa @hazelcast #cloudfoundry #cfsummit17 ◇Data is too important to have
it only one machine
@gamussa @hazelcast #cloudfoundry #cfsummit17 What’s
@gamussa @hazelcast #cloudfoundry #cfsummit17
@gamussa @hazelcast #cloudfoundry #cfsummit17 REPLICATION
@gamussa @hazelcast #cloudfoundry #cfsummit17 REPLICATION SHARDING
@gamussa @hazelcast #cloudfoundry #cfsummit17 Replication or Sharding? http://book.mixu.net/distsys/single-page.html
@gamussa @hazelcast #cloudfoundry #cfsummit17 What’s Hazelcast IMDG?
@gamussa @hazelcast #cloudfoundry #cfsummit17 What’s Hazelcast IMDG? ◇In-memory Data Grid
@gamussa @hazelcast #cloudfoundry #cfsummit17 What’s Hazelcast IMDG? ◇In-memory Data Grid
◇Apache v2 Licensed
@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)
@gamussa @hazelcast #cloudfoundry #cfsummit17 https://network.pivotal.io/products/hazelcast
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17 Polyglot Platform
@gamussa @hazelcast #cloudfoundry #cfsummit17 Demo time! Let’s see some code,
yay!
@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
@gamussa @hazelcast #cloudfoundry #cfsummit17 https:/ /github.com/hazelcast/ cfsummit17-wednesday
@gamussa @hazelcast #cloudfoundry #cfsummit17 Thanks! Any questions? You can find
me at: ◇@gamussa ◇
[email protected]
◇http://gamov.io