SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Couchbase@PayPal 
Anil Madan 
Sr. Director of Engineering 
amadan@paypal.com 
© 2014 PayPal Inc. All rights reserved. 
1
100 
CURRENCIES SUPPORTED 
155M 
ACTIVE REGISTERED 
ACCOUNTS 
203 
MARKETS OFFER PAYPAL 
EUROPEAN UNION 
EURO 
AUSTRALIAN 
DOLLAR 
CANADIAN 
DOLLAR 
NEW ZEALAND 
DOLLAR 
HUNGARIAN 
FORINT 
MALAYSIAN 
RINGGIT 
UNITED KINGDOM 
POUNDS STERLING 
HONG KONG 
DOLLAR 
UNITED STATES 
DOLLAR 
TAIWAN 
NEW DOLLAR 
CHINESE 
RMB 
SWEDISH 
KRONA 
SINGAPORE 
DOLLAR 
PHILIPPINE 
PESO 
BRAZILIAN 
REAL 
RUSSIAN 
RUBLE 
NORWEGIAN 
KRONE 
JAPANESE 
YEN 
MEXICAN 
PESO 
TURKISH 
LIRA 
SWISS 
FRANC 
CZECH 
KORUNA 
ISRAELI 
NEW SHEKEL 
DANISH 
KRONE 
THAI 
BAHT 
POLISH 
ZLOTY 
2
$1 in every $6 
Spent on e-commerce is 
spent through PayPal.* 
3
Why Couchbase? 
Data volume 
• Online system ; 300M – 1B documents 
• 4-10k size ; 3-10TB total storage 
Data Access 
• Distributed caching 
• Persistence 
Data Structure 
• Flexible & Schemaless; document based 
Workload characteristics 
• 50% read/50% write; 
• Low latency < 5-10 msec 
Availability and scalability 
• Multi data center – DR/BCP 
• Linearly Scalable 
© 2014 PayPal Inc. All rights reserved.. 
4
Cookie Store 
Personalization 
Use Cases 
© 2014 PayPal Inc. All rights reserved.. 
5
Background 
Problem Statement 
• 15 years of ungoverned growth and abuse 
• Customer experience impact 
• Performance impact 
• Security 
Goals 
• Reduce cookie payload by 70% 
• Central repository for site cookies 100% 
• Cookie approval < 1 day 
• Availability >= 99.99% 
© 2014 PayPal Inc. All rights reserved.. 
6
Problem Statement - Cookie Puzzle 
© 2014 PayPal Inc. All rights reserved.. 
Known Cookies ~350 
7 
Node 
Others 
C++ 
Java 
Persistent & Plain 
Text 
Session & Plain Text 
Persistent & 
Encrypted 
Session & 
Encrypted
Migration Strategy 
© 2014 PayPal Inc. All rights reserved.. 
Analyze 
Regressi 
on 
Dual- 
Mode 
Monitor 
Migrate 
Dual-Mode Plain Text Encrypted 
8
Functional View 
Customers 
Front Tier 
© 2014 PayPal Inc. All rights reserved.. 
Application 
Cookie Libraries 
CookieService 
Mid Tier 
Data Tier 
Couchbase Client 
XDCR 
Couchbase DC A Couchbase DC B 
9
Deployment Model 
© 2014 PayPal Inc. All rights reserved.. 
Active Passive 
Cookie 
Service 
Cookie 
Service 
Cookie 
Service 
XDCR 
Active 
Read 
Write 
Birdirectional Unidirectional 
10
Cookie Analytics 
https://github.com/paypal/ 
couchbasekafka 
© 2014 PayPal Inc. All rights reserved.. 
11
Cookie Schema 
© 2014 PayPal Inc. All rights reserved.. 
12
Cookie Documents - Analytics 
Cookie 
Audit 
Cookie 
Metrics 
© 2014 PayPal Inc. All rights reserved.. 
KEY : “cookieaudit” 
Value: { 
"name": "usersession", //Name of Cookie 
"encryptedName": "TVKbnJIgoopqWu",//Encrypted name of cookie 
"lastModified": 1412275511226 //Last modified timestamp 
} 
KEY : “cookiename_<yyyymmddhh>” 
Value: { 
"cookieName": "ca_-CBr2MVP2…”, //Cookie name 
”AppGetMap": {“App1": 5, “App2“: 9, }, //apps reading the cookie. 
”AppPutMap": {“App1": 2, “App2": 3, }, //apps writing to the cookie 
"totalGet": 7, //# of reads across all apps 
"totalPut": 12,//# of writes across all apps 
"totalKilled": 0, //# killed from browser . 
} 
13
Cookie Documents - Analytics 
Cookie 
User 
Session 
Map 
© 2014 PayPal Inc. All rights reserved.. 
KEY : <xxx> 
Value: { 
”totalsessions": 2, //# sessions 
"metadata": { 
"USERSESSIONKEYS": [ //Map of Server Sessions 
{"cookieProfileVal": "pp_8d86d0c53d30a39ac3b546f4ffffffbc”}, 
{ "cookieProfileVal": "pp_b14fea6c1470a39ac33dwf4ffffff3d”} 
Cookie 
User 
Migration 
Status 
KEY : Cookie Key (UUID) 
Value: {{ 
"h": { 
"clen": 105, //Cookie Length 
"updated": 1388606400000, //Last Updated date/time 
"brcount": 5, //# of cookies in Browser Side 
"sercount": 10, //# of cookies migrated to server 
"brsize": 1000, // Total size of browser cookies 
"sersize": 3000, //Total size of Server side cookies 
}, 
} 14
Cluster Overview 
© 2014 PayPal Inc. All rights reserved.. 
15
Data Buckets 
© 2014 PayPal Inc. All rights reserved.. 
16
Cookie Store 
Personalization 
Use Cases 
© 2014 PayPal Inc. All rights reserved.. 
17
Personalization 
Personalized Experiences 
Online Retail Beacon 
Merchants PayPal 3rd Parties 
© 2014 PayPal Inc. All rights reserved.. 
18 
Touch points 
Data 
Segments 
Science 
Models Hyperlocal 
Mobile 
Customer Journeys 
PayPal Merchant Inc 3rd Party
Business Problem 
Connect with 90MM US Shoppers Connect the right offer to the right 
Reach Relevancy Redemption 
© 2014 PayPal Inc. All rights reserved.. 
consumer 
Drive customers to purchase. 
Connect with over 155MM users via 
mobile and online 
Connect the right message to the 
right customer 
Drive shoppers to purchase and 
close the loop 
19
Real Time Personalization Service (RPS) 
3rd Party User ID 
Social Platform ID 
eBay User ID 
PayPal User ID 
© 2014 PayPal Inc. All rights reserved.. 
Email Address 
Home Address 
Phone Number 
Profile ID IDFA 
20
Identity & Profile Schema 
Profile Record 
© 2014 PayPal Inc. All rights reserved.. 
Match Key Value 
Master ID 123ABC456DEF 
Email JSmith@paypal.com, 
john.smith@gmail.com, 
Ebay ID 120AS09812DNE0983 
PayPal ID 03824AD814912NMD1 
ID Gender HHI Age PayPal 
Status 
Credit 
Standing 
Account 
Locked 
PayPal 
Balance 
123ABC456DEF Male $75K 
+ 
25 – 
35 
Active Approved No 10 
Identity Record 
21
Document id=550e8400-e29b-41d4-a716-446655440000 
{ 
"matchKeyData" : [{“pguid_1234" : "45564757"}, {“eguid_5678" : "45657556"}], 
"segmentProviders" : [ 
{ 
"name" : ”paypal”, 
"attributes" : { 
key : ”eguid_1234" 
value: "550e8400-e29b-41d4-a716-446655440000" 
key : ”pguid_5678" 
value: "550e8400-e29b-41d4-a716-446655440000" 
key : ”idfa_90" 
value: "550e8400-e29b-41d4-a716-446655440000" 
"created" : 698465466, 
"updated" : 698465466, 
}, 
"segments" : { 
“pp.signup.recency":”6579696", 
“pp.bml.standing":”Approved", 
"pp.account.locked":”4", 
"pp.account.balance":"10" 
} 
}, 
© 2014 PayPal Inc. All rights reserved.. 
{ 
"name" : “ebay", 
"attributes" : { 
"created" : 698465466, 
"updated" : 759669696, 
}, 
"segments" : { 
“ebay.gender":"1” , 
“ebay.married”:"0”, 
“ebay.age_range”:”2”, 
“ebay_hhi”:”75” 
} 
} 
] 
} 
Identity & Profile Documents 
22
Cluster Overview 
© 2014 PayPal Inc. All rights reserved.. 
23
Data Buckets 
© 2014 PayPal Inc. All rights reserved.. 
24

Weitere ähnliche Inhalte

Was ist angesagt?

Spark and MongoDB
Spark and MongoDBSpark and MongoDB
Spark and MongoDB
Norberto Leite
 
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a TimeWebinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
MongoDB
 

Was ist angesagt? (20)

MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
 
Spark and MongoDB
Spark and MongoDBSpark and MongoDB
Spark and MongoDB
 
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
 
Clickstream Analysis With Apache Spark
Clickstream Analysis With Apache SparkClickstream Analysis With Apache Spark
Clickstream Analysis With Apache Spark
 
Webinar: Position and Trade Management with MongoDB
Webinar: Position and Trade Management with MongoDBWebinar: Position and Trade Management with MongoDB
Webinar: Position and Trade Management with MongoDB
 
Lightning Talk: Why and How to Integrate MongoDB and NoSQL into Hadoop Big Da...
Lightning Talk: Why and How to Integrate MongoDB and NoSQL into Hadoop Big Da...Lightning Talk: Why and How to Integrate MongoDB and NoSQL into Hadoop Big Da...
Lightning Talk: Why and How to Integrate MongoDB and NoSQL into Hadoop Big Da...
 
Using Event-Driven Architectures with Cassandra
Using Event-Driven Architectures with CassandraUsing Event-Driven Architectures with Cassandra
Using Event-Driven Architectures with Cassandra
 
Querying NoSQL with SQL: HAVING Your JSON Cake and SELECTing it too
Querying NoSQL with SQL: HAVING Your JSON Cake and SELECTing it tooQuerying NoSQL with SQL: HAVING Your JSON Cake and SELECTing it too
Querying NoSQL with SQL: HAVING Your JSON Cake and SELECTing it too
 
MongoDB - General Purpose Database
MongoDB - General Purpose DatabaseMongoDB - General Purpose Database
MongoDB - General Purpose Database
 
Intro to Big Data - Orlando Code Camp 2014
Intro to Big Data - Orlando Code Camp 2014Intro to Big Data - Orlando Code Camp 2014
Intro to Big Data - Orlando Code Camp 2014
 
MongoDB Evenings Dallas: What's the Scoop on MongoDB & Hadoop
MongoDB Evenings Dallas: What's the Scoop on MongoDB & HadoopMongoDB Evenings Dallas: What's the Scoop on MongoDB & Hadoop
MongoDB Evenings Dallas: What's the Scoop on MongoDB & Hadoop
 
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a TimeWebinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
Webinar: Realizing Omni-Channel Retailing with MongoDB - One Step at a Time
 
Real World MongoDB: Use Cases from Financial Services by Daniel Roberts
Real World MongoDB: Use Cases from Financial Services by Daniel RobertsReal World MongoDB: Use Cases from Financial Services by Daniel Roberts
Real World MongoDB: Use Cases from Financial Services by Daniel Roberts
 
MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...
MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...
MongoDB .local Chicago 2019: A MongoDB Journey: Moving from a relational data...
 
How Insurance Companies Use MongoDB
How Insurance Companies Use MongoDB How Insurance Companies Use MongoDB
How Insurance Companies Use MongoDB
 
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
 
MongoDB ClickStream and Visualization
MongoDB ClickStream and VisualizationMongoDB ClickStream and Visualization
MongoDB ClickStream and Visualization
 
Data Treatment MongoDB
Data Treatment MongoDBData Treatment MongoDB
Data Treatment MongoDB
 
Best Practices for MongoDB in Today's Telecommunications Market
Best Practices for MongoDB in Today's Telecommunications MarketBest Practices for MongoDB in Today's Telecommunications Market
Best Practices for MongoDB in Today's Telecommunications Market
 
Webinar: Introducing the MongoDB Connector for BI 2.0 with Tableau
Webinar: Introducing the MongoDB Connector for BI 2.0 with TableauWebinar: Introducing the MongoDB Connector for BI 2.0 with Tableau
Webinar: Introducing the MongoDB Connector for BI 2.0 with Tableau
 

Ähnlich wie PayPal couchbase 2014

Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Deepak Nadig
 
PayU Biz Product Deck (1)
PayU Biz Product Deck (1)PayU Biz Product Deck (1)
PayU Biz Product Deck (1)
ICICI Bank
 

Ähnlich wie PayPal couchbase 2014 (20)

PayPal Real Time Analytics
PayPal  Real Time AnalyticsPayPal  Real Time Analytics
PayPal Real Time Analytics
 
Monetizing your apps with PayPal API:s
Monetizing your apps with PayPal API:sMonetizing your apps with PayPal API:s
Monetizing your apps with PayPal API:s
 
Monetize with PayPal X Payments Platform
Monetize with PayPal X Payments PlatformMonetize with PayPal X Payments Platform
Monetize with PayPal X Payments Platform
 
Droidcon Paris: The new Android SDK
Droidcon Paris: The new Android SDKDroidcon Paris: The new Android SDK
Droidcon Paris: The new Android SDK
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
Open Identity - getting to know your users
Open Identity - getting to know your usersOpen Identity - getting to know your users
Open Identity - getting to know your users
 
The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016
 
A2Lab - Payment Request API
A2Lab - Payment Request APIA2Lab - Payment Request API
A2Lab - Payment Request API
 
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
 
Using Big Data to Drive Customer 360
Using Big Data to Drive Customer 360Using Big Data to Drive Customer 360
Using Big Data to Drive Customer 360
 
PayU Biz Product Deck (1)
PayU Biz Product Deck (1)PayU Biz Product Deck (1)
PayU Biz Product Deck (1)
 
Understanding event data
Understanding event dataUnderstanding event data
Understanding event data
 
How To Avoid PCI Pitfalls in Keeping Your SAP® System Compliant and Secure
How To Avoid PCI Pitfalls in Keeping Your SAP® System Compliant and SecureHow To Avoid PCI Pitfalls in Keeping Your SAP® System Compliant and Secure
How To Avoid PCI Pitfalls in Keeping Your SAP® System Compliant and Secure
 
ReStream: Accelerating Backtesting and Stream Replay with Serial-Equivalent P...
ReStream: Accelerating Backtesting and Stream Replay with Serial-Equivalent P...ReStream: Accelerating Backtesting and Stream Replay with Serial-Equivalent P...
ReStream: Accelerating Backtesting and Stream Replay with Serial-Equivalent P...
 
ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995
 
The Case For Next Generation IAM
The Case For Next Generation IAM The Case For Next Generation IAM
The Case For Next Generation IAM
 
Recipes for a successful production cloudfoundry deployment - CF Summit 2014
Recipes for a successful production cloudfoundry deployment - CF Summit 2014Recipes for a successful production cloudfoundry deployment - CF Summit 2014
Recipes for a successful production cloudfoundry deployment - CF Summit 2014
 
Cloud Foundry Cookbook: Recipes for a Successful Cloud Foundry Deployment in ...
Cloud Foundry Cookbook: Recipes for a Successful Cloud Foundry Deployment in ...Cloud Foundry Cookbook: Recipes for a Successful Cloud Foundry Deployment in ...
Cloud Foundry Cookbook: Recipes for a Successful Cloud Foundry Deployment in ...
 
Flash session -goldengate--lht1053-lon
Flash session -goldengate--lht1053-lonFlash session -goldengate--lht1053-lon
Flash session -goldengate--lht1053-lon
 
One Gateway for All Kinds of Payments—the Payflow Integration
One Gateway for All Kinds of Payments—the Payflow IntegrationOne Gateway for All Kinds of Payments—the Payflow Integration
One Gateway for All Kinds of Payments—the Payflow Integration
 

Kürzlich hochgeladen

CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Kürzlich hochgeladen (20)

CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 

PayPal couchbase 2014

  • 1. Couchbase@PayPal Anil Madan Sr. Director of Engineering amadan@paypal.com © 2014 PayPal Inc. All rights reserved. 1
  • 2. 100 CURRENCIES SUPPORTED 155M ACTIVE REGISTERED ACCOUNTS 203 MARKETS OFFER PAYPAL EUROPEAN UNION EURO AUSTRALIAN DOLLAR CANADIAN DOLLAR NEW ZEALAND DOLLAR HUNGARIAN FORINT MALAYSIAN RINGGIT UNITED KINGDOM POUNDS STERLING HONG KONG DOLLAR UNITED STATES DOLLAR TAIWAN NEW DOLLAR CHINESE RMB SWEDISH KRONA SINGAPORE DOLLAR PHILIPPINE PESO BRAZILIAN REAL RUSSIAN RUBLE NORWEGIAN KRONE JAPANESE YEN MEXICAN PESO TURKISH LIRA SWISS FRANC CZECH KORUNA ISRAELI NEW SHEKEL DANISH KRONE THAI BAHT POLISH ZLOTY 2
  • 3. $1 in every $6 Spent on e-commerce is spent through PayPal.* 3
  • 4. Why Couchbase? Data volume • Online system ; 300M – 1B documents • 4-10k size ; 3-10TB total storage Data Access • Distributed caching • Persistence Data Structure • Flexible & Schemaless; document based Workload characteristics • 50% read/50% write; • Low latency < 5-10 msec Availability and scalability • Multi data center – DR/BCP • Linearly Scalable © 2014 PayPal Inc. All rights reserved.. 4
  • 5. Cookie Store Personalization Use Cases © 2014 PayPal Inc. All rights reserved.. 5
  • 6. Background Problem Statement • 15 years of ungoverned growth and abuse • Customer experience impact • Performance impact • Security Goals • Reduce cookie payload by 70% • Central repository for site cookies 100% • Cookie approval < 1 day • Availability >= 99.99% © 2014 PayPal Inc. All rights reserved.. 6
  • 7. Problem Statement - Cookie Puzzle © 2014 PayPal Inc. All rights reserved.. Known Cookies ~350 7 Node Others C++ Java Persistent & Plain Text Session & Plain Text Persistent & Encrypted Session & Encrypted
  • 8. Migration Strategy © 2014 PayPal Inc. All rights reserved.. Analyze Regressi on Dual- Mode Monitor Migrate Dual-Mode Plain Text Encrypted 8
  • 9. Functional View Customers Front Tier © 2014 PayPal Inc. All rights reserved.. Application Cookie Libraries CookieService Mid Tier Data Tier Couchbase Client XDCR Couchbase DC A Couchbase DC B 9
  • 10. Deployment Model © 2014 PayPal Inc. All rights reserved.. Active Passive Cookie Service Cookie Service Cookie Service XDCR Active Read Write Birdirectional Unidirectional 10
  • 11. Cookie Analytics https://github.com/paypal/ couchbasekafka © 2014 PayPal Inc. All rights reserved.. 11
  • 12. Cookie Schema © 2014 PayPal Inc. All rights reserved.. 12
  • 13. Cookie Documents - Analytics Cookie Audit Cookie Metrics © 2014 PayPal Inc. All rights reserved.. KEY : “cookieaudit” Value: { "name": "usersession", //Name of Cookie "encryptedName": "TVKbnJIgoopqWu",//Encrypted name of cookie "lastModified": 1412275511226 //Last modified timestamp } KEY : “cookiename_<yyyymmddhh>” Value: { "cookieName": "ca_-CBr2MVP2…”, //Cookie name ”AppGetMap": {“App1": 5, “App2“: 9, }, //apps reading the cookie. ”AppPutMap": {“App1": 2, “App2": 3, }, //apps writing to the cookie "totalGet": 7, //# of reads across all apps "totalPut": 12,//# of writes across all apps "totalKilled": 0, //# killed from browser . } 13
  • 14. Cookie Documents - Analytics Cookie User Session Map © 2014 PayPal Inc. All rights reserved.. KEY : <xxx> Value: { ”totalsessions": 2, //# sessions "metadata": { "USERSESSIONKEYS": [ //Map of Server Sessions {"cookieProfileVal": "pp_8d86d0c53d30a39ac3b546f4ffffffbc”}, { "cookieProfileVal": "pp_b14fea6c1470a39ac33dwf4ffffff3d”} Cookie User Migration Status KEY : Cookie Key (UUID) Value: {{ "h": { "clen": 105, //Cookie Length "updated": 1388606400000, //Last Updated date/time "brcount": 5, //# of cookies in Browser Side "sercount": 10, //# of cookies migrated to server "brsize": 1000, // Total size of browser cookies "sersize": 3000, //Total size of Server side cookies }, } 14
  • 15. Cluster Overview © 2014 PayPal Inc. All rights reserved.. 15
  • 16. Data Buckets © 2014 PayPal Inc. All rights reserved.. 16
  • 17. Cookie Store Personalization Use Cases © 2014 PayPal Inc. All rights reserved.. 17
  • 18. Personalization Personalized Experiences Online Retail Beacon Merchants PayPal 3rd Parties © 2014 PayPal Inc. All rights reserved.. 18 Touch points Data Segments Science Models Hyperlocal Mobile Customer Journeys PayPal Merchant Inc 3rd Party
  • 19. Business Problem Connect with 90MM US Shoppers Connect the right offer to the right Reach Relevancy Redemption © 2014 PayPal Inc. All rights reserved.. consumer Drive customers to purchase. Connect with over 155MM users via mobile and online Connect the right message to the right customer Drive shoppers to purchase and close the loop 19
  • 20. Real Time Personalization Service (RPS) 3rd Party User ID Social Platform ID eBay User ID PayPal User ID © 2014 PayPal Inc. All rights reserved.. Email Address Home Address Phone Number Profile ID IDFA 20
  • 21. Identity & Profile Schema Profile Record © 2014 PayPal Inc. All rights reserved.. Match Key Value Master ID 123ABC456DEF Email JSmith@paypal.com, john.smith@gmail.com, Ebay ID 120AS09812DNE0983 PayPal ID 03824AD814912NMD1 ID Gender HHI Age PayPal Status Credit Standing Account Locked PayPal Balance 123ABC456DEF Male $75K + 25 – 35 Active Approved No 10 Identity Record 21
  • 22. Document id=550e8400-e29b-41d4-a716-446655440000 { "matchKeyData" : [{“pguid_1234" : "45564757"}, {“eguid_5678" : "45657556"}], "segmentProviders" : [ { "name" : ”paypal”, "attributes" : { key : ”eguid_1234" value: "550e8400-e29b-41d4-a716-446655440000" key : ”pguid_5678" value: "550e8400-e29b-41d4-a716-446655440000" key : ”idfa_90" value: "550e8400-e29b-41d4-a716-446655440000" "created" : 698465466, "updated" : 698465466, }, "segments" : { “pp.signup.recency":”6579696", “pp.bml.standing":”Approved", "pp.account.locked":”4", "pp.account.balance":"10" } }, © 2014 PayPal Inc. All rights reserved.. { "name" : “ebay", "attributes" : { "created" : 698465466, "updated" : 759669696, }, "segments" : { “ebay.gender":"1” , “ebay.married”:"0”, “ebay.age_range”:”2”, “ebay_hhi”:”75” } } ] } Identity & Profile Documents 22
  • 23. Cluster Overview © 2014 PayPal Inc. All rights reserved.. 23
  • 24. Data Buckets © 2014 PayPal Inc. All rights reserved.. 24