• Save
Slide NoSQL Indonesia - Redis Cache n  PubSub
Upcoming SlideShare
Loading in...5
×
 

Slide NoSQL Indonesia - Redis Cache n PubSub

on

  • 892 views

berikut slide presentasi tentang pubsub dan cache di redis, via google hangout

berikut slide presentasi tentang pubsub dan cache di redis, via google hangout

Statistics

Views

Total Views
892
Views on SlideShare
666
Embed Views
226

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 226

http://me.mootuts.com 224
http://www.tumblr.com 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Slide NoSQL Indonesia - Redis Cache n  PubSub Slide NoSQL Indonesia - Redis Cache n PubSub Presentation Transcript

  • REDISCache dan PubSub
  • Rifqi Alfian@merembablas
  • kesibukan@anakbelajarAplikasi belajar untuk anak usia dini
  • Cache Redis• 2 cara :TTL , Volatile Objectmaxmemory
  • Redis as an LRU cacheLeast Recently Used
  • konfigurasi• maxmemory bytes• maxmemory-policy policy• maxmemory-samples jml_sample
  • Conf : maxmemory• Bytes1k => 1000 bytes1kb => 1024 bytes1m => 1000000 bytes1mb => 1024*1024 bytes1g => 1000000000 bytes1gb => 1024*1024*1024 bytes
  • Conf : maxmemory-policy• volatile-lru (default)• allkeys-lru• volatile-random• allkeys-random• volatile-ttl• noeviction
  • Conf : maxmemory-samples• Default : 3• TTL dan LRU bukan ‘precise algorithms’
  • PubSub Redis
  • Command• subscribe• unsubscribe• publish• psubscribe• punsubscribe
  • PSUBSCRIBE dan PUNSUBSCRIBE• Glob pattern matching• Ex :PSUBSCRIBE news.*match : news.art, news.world.war channel
  • Use Case• Chat• Notification System• Message Queue
  • Terima Kasih• Salvatore Sanfilippo• Om Hiraq• Om Wahyu• NoSQL Indonesia• PHP Indonesia