• Share
  • Email
  • Embed
  • Like
  • Private Content
LivePerson_Couchbase_SF_2013
 

LivePerson_Couchbase_SF_2013

on

  • 1,630 views

 

Statistics

Views

Total Views
1,630
Views on SlideShare
445
Embed Views
1,185

Actions

Likes
2
Downloads
22
Comments
0

5 Embeds 1,185

http://www.couchbase.com 1172
http://www.linkedin.com 9
https://www.google.co.uk 2
https://www.linkedin.com 1
http://www.google.fr 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    LivePerson_Couchbase_SF_2013 LivePerson_Couchbase_SF_2013 Presentation Transcript

    • I get by with a little help from my friends Ido Shilon | 7/22/2013
    • Today’s programme Who is LivePerson? What was our journey? Why was Couchbase chosen? How did we build the new platform? What can you take with you?
    • @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)" ] }
    • 8,500customers Creating Meaningful Customer Connections LivePerson is… SaaS pioneer since 1998 Mission Customers Technology
    • Optimize Customer Acquisition & Reduce Bounce Rate Live engagement for lingering customer Rich multimedia to drive sales closure Recommended use case
    • Technology @ LivePerson Application Stack JVM heavy - Java & Scala Private cloud based on openstack Linux on commodity servers
    • Data @ LP 13 TB per  month 20M Engagements  per  month 1.8 B Visits  per  month VOLUME
    • Data stack LiveEngage DASHBOARD MONITORING CHAT/VOICE system Batch track Real-Time track APACHE KAFKA STORM COMPLEX EVENT PROCESSING PERPETUAL STORE RT REPOSITORY Cassandra BUSINESS INTELLIGENCE ANALYTICAL DB
    • Web agent console Enables your agents to interact with website visitors Improve agent efficiency Reduce chat time The use case
    • The story - once upon a time Visitor’s Events Agents console (Java app) Web Tier Visitors
    • And then the story continues Data center 1 Data center 2 Kafka & Strom (Event bus) Web Agent ???
    • Possible solutions we considered
    • Why did we pick Couchbase Always on Linear scale Searchable Document store Key Value High throughput (R/W) XDCR Cassandra
    • Architecture Couchbase Java SDK Application server Tomcat M/R views cluster M/R views cluster XDCR REST API Couchbase Java SDK Storm Topology Couchbase Java SDK Storm Topology
    • Data flow Visitor Visitor Feed - Storm Topology Agent Kafka Couchbase Visitor Monitoring Service (1) Visitor browsing (2) Visitor events (4) Write event to visitor document (6) Return relevant visitors (7) Return relevant visitors (5) Get visitors List Every 3 sec Visitor Feed API (3) Analyze relevant events
    • Data modeling - doc Visitor type doc Document = Active visitor Contain session level attributes Multi tenant bucket Views Used for secondary indexes
    • { "accountId": "64302875", "id": 121640710013, "rtSessionId": "643028754295878498", "eventSequence": 5104, "ipAddress": { "fieldValue": "194.39.63.10", "seq": 1 }, "browser": { "fieldValue": "Chrome 27.0.1453.116", "seq": 1 }, "state": { "fieldValue": "LEFT_SITE", "seq": 5104 } ...................................... } Document structure Multi tenant DB Basic visitor information Sequence use due to Kafka
    • Cross data center replication Using Bi Directional replication (A/A) Tips : Key space is the same across the two clusters (avoid conflicts) Impact on the sizing
    • Couchbase in production
    • What did we learn till now ? Test in production Use the Couchbase sizing guidelines RAM and SSD are key factors in scalability
    • Data stack now with Couchbase LiveEngage DASHBOARD MONITORING CHAT/VOICE system Batch track Real-Time track APACHE KAFKA STORM COMPLEX EVENT PROCESSING PERPETUAL STORE RT REPOSITORY Cassandra BUSINESS INTELLIGENCE ANALYTICAL DB
    • Couchbase in LP - Strategic choice Visitor Session state Cross Session state Fast RW persistent store Generic caching layer (Memcached style)
    • Summary Who we are Our journey The problem we have encountered We are not alone - Couchbase helped us
    • Thank You