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
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
950
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
flutterkaigi_2024.pdf
kyoheig3
0
150
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Remix on Hono on Cloudflare Workers
yusukebe
1
300
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
みんなでプロポーザルを書いてみた
yuriko1211
0
270
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
890
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Site-Speed That Sticks
csswizardry
0
27
Faster Mobile Websites
deanohume
305
30k
Designing the Hi-DPI Web
ddemaree
280
34k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
420
The Pragmatic Product Professional
lauravandoore
31
6.3k
A Philosophy of Restraint
colly
203
16k
GitHub's CSS Performance
jonrohan
1030
460k
How STYLIGHT went responsive
nonsquared
95
5.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Gamification - CAS2011
davidbonilla
80
5k
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