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
330
[VirtualJUG] Apache Kafka — A Streaming Data Platform
vikgamov
3
330
[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
Tuning GraphQL on Rails
pyama86
2
1k
WEBエンジニア向けAI活用入門
sutetotanuki
0
300
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.3k
Vitest Browser Mode への期待 / Vitest Browser Mode
odanado
PRO
2
1.7k
macOS でできる リアルタイム動画像処理
biacco42
7
1.9k
Amazon Neptuneで始めてみるグラフDB-OpenSearchによるグラフの全文検索-
satoshi256kbyte
4
330
JaSST 24 九州:ワークショップ(は除く)実践!マインドマップを活用したソフトウェアテスト+活用事例
satohiroyuki
0
260
Vue SFCのtemplateでTypeScriptの型を活用しよう
tsukkee
3
1.5k
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
Outline View in SwiftUI
1024jp
1
140
CSC305 Lecture 13
javiergs
PRO
0
130
カスタムしながら理解するGraphQL Connection
yanagii
1
1.2k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
175
9.4k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
Embracing the Ebb and Flow
colly
84
4.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
Thoughts on Productivity
jonyablonski
67
4.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
What's new in Ruby 2.0
geeforr
342
31k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
Designing for Performance
lara
604
68k
GitHub's CSS Performance
jonrohan
1030
460k
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