12
Scalling to 1 million users Ido Shilon | 4/6/2014

Scaling to 1 million users v1

Embed Size (px)

Citation preview

Page 1: Scaling to 1 million users v1

Scalling to 1 million users

Ido Shilon | 4/6/2014

Page 2: Scaling to 1 million users v1

@idoshilon

{

name: "Ido Shilon",

age: 37,

kids: [

"illy"

],

wife: "Oshrat",

Title: "Group Manager @ LivePerson (Heading the

platform group)",

Lived_Worked_At: [

"Silicon Wadi (Israel)",

"Silicon Alley (NYC)",

"Silicon Valley (Bay Area)"

]

}

Page 3: Scaling to 1 million users v1

Data @ LP

13 TBper month 20M

Engagements per month 1.8 BVisits per month

VOLUME

Page 4: Scaling to 1 million users v1

Data stack

LiveEngage DASHBOARD

MONITORING CHAT/VOICEsystem

Batch track Real-Time trackAPACHE KAFKA

STORM

COMPLEX EVENT PROCESSING

PERPETUAL STORE

RT REPOSITORY

CassandraBUSINESS INTELLIGENCE

ANALYTICAL DB

Page 5: Scaling to 1 million users v1

Web agent console

Enables your agents to interact with

website visitors

Improve agent efficiency

Reduce chat time

The use case

Page 6: Scaling to 1 million users v1

The story - once upon a time

Visitor’sEvents

Agents console(Java app)

Web Tier Visitors

Page 7: Scaling to 1 million users v1

And then the story continues

Data center 1 Data center 2

Kafka & Strom(Event bus)

Web Agent

???

Page 8: Scaling to 1 million users v1

Possible solutions we considered

Page 9: Scaling to 1 million users v1

Why did we pick Couchbase

Always on

Linear scale

Searchable

Document store

Key Value

High throughput (R/W)

XDCR

Cassandra

Page 10: Scaling to 1 million users v1

Architecture

Couchbase Java SDK

Application serverTomcat

M/R views

cluster

M/R views

cluster

XDCR

REST API

Couchbase Java SDK

Storm Topology

Couchbase Java SDK

Storm Topology

Page 11: Scaling to 1 million users v1

Data stack now with Couchbase

LiveEngage DASHBOARD

MONITORING CHAT/VOICEsystem

Batch track Real-Time trackAPACHE KAFKA

STORM

COMPLEX EVENT PROCESSING

PERPETUAL STORE

RT REPOSITORY

CassandraBUSINESS INTELLIGENCE

ANALYTICAL DB

Page 12: Scaling to 1 million users v1

Thank You