16
© 2013 KMS Technology

Caching and IPC with Redis

Embed Size (px)

DESCRIPTION

This slide deck that Mr. Duy Lam - KMS's Software Architect shared at "Java-Trends and Career Opportunities" seminar of Information Technology Center of HCMC University of Science.

Citation preview

Page 1: Caching and IPC with Redis

© 2013 KMS Technology

Page 2: Caching and IPC with Redis

KMS Technology Confidential 2

CACHING AND IPC(*) WITH REDISDuy Lam .::. May 2013

(*) Inter Process Communication

Page 3: Caching and IPC with Redis

KMS Technology Confidential 3

ABOUT ME

Duy LamSoftware [email protected]

Page 4: Caching and IPC with Redis

KMS Technology Confidential 4

AGENDA

Redis overview

Caching & IPC

Case Study

Page 5: Caching and IPC with Redis

KMS Technology Confidential 5

AGENDA

Redis overview

Caching & IPC

Case Study

Page 6: Caching and IPC with Redis

KMS Technology Confidential 6

REDIS IS …

an open source server for:– advanced key-value store – publish / subscribe messaging

runs on Linux, OS X and Windows and sponsored by VMware

Page 7: Caching and IPC with Redis

KMS Technology Confidential 7

REDIS APIS

A lot of client in many languages

C

TCP connection at low level

Page 8: Caching and IPC with Redis

KMS Technology Confidential 8

WHY TO USE REDISOR WHEN REDIS IS RIGHT FOR YOU

How this game runs ?

Page 9: Caching and IPC with Redis

KMS Technology Confidential 9

WHY TO USE REDISOR WHEN REDIS IS RIGHT FOR YOU

Server

CachingRead

Read

Write

Communicate

Page 10: Caching and IPC with Redis

KMS Technology Confidential 10

AGENDA

Redis overview

Caching & IPC

Case Study

Page 11: Caching and IPC with Redis

KMS Technology Confidential 11

CACHING

“abc”

[ “abc” , “def” ]

{ name: “Duy Lam” , company: “KMS Technology” , topic: “Redis”}

In Memory

Page 12: Caching and IPC with Redis

KMS Technology Confidential 12

INTER PROCESS COMMUNICATION

publish–subscribe pattern

Page 13: Caching and IPC with Redis

KMS Technology Confidential 13

AGENDA

Redis overview

Caching & IPC

Case Study

Page 14: Caching and IPC with Redis

KMS Technology Confidential 14

HTTP://WITURN.COM

Page 15: Caching and IPC with Redis

KMS Technology Confidential 15

WITURN ARCHITECT

WebSocket Server

Redis Server

TCP Socket Server

Page 16: Caching and IPC with Redis

© 2013 KMS Technology

THANK YOU