PayPal_Couchbase_SF_2013

4,943 views

Published on

Published in: Technology, Economy & Finance
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,943
On SlideShare
0
From Embeds
0
Number of Embeds
3,496
Actions
Shares
0
Downloads
68
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

PayPal_Couchbase_SF_2013

  1. 1. 1 Anil Madan Sr. Director of Engineering amadan@paypal.com +
  2. 2. 2 PAYPAL'S VISION 132 million active accounts , 193 markets , 25 currencies
  3. 3. 3 WHY COUCHBASE?  Data volume • Online system ; 300M – 1B documents @ 10k value size ; 3-10TB total storage  Data Access • Distributed caching • Persistence  Data Structure • Flexible & Schemaless  Read/Write • 50% read/50% write • Low latency < 10 msec  Partitioning  Replication  Auto Healing  Availability and scalability • Resilient • Multi data center – DR/BCP • Linearly Scalable
  4. 4. 4 COUCHBASE USE CASES AD TECH COOKIE INFRASTRUCTURE REAL TIME ANALYTICS
  5. 5. 5 Geo-Fencing: Engage your customers where and when it matters most • Storefronts • Competitor locations • Events (grand openings, sponsorship activation, etc.) • Relevant POIs • New product announcements THE IDEAL MOBILE EXPERIENCE
  6. 6. 6 INTELLIGENT DIGITAL WALLET • A digital wallet that has been used by millions for 14 years • Simple, secure money management in a single solution • All funding sources saved in the wallet (credit, debit, etc.) • Deferred payment and credit options • Ability to store loyalty and rewards cards • All coupons and offers saved in one place
  7. 7. 7 OMNI CHANNEL PLATFORM Relevancy TARGETINGDATA PayPal Audience Extension Purchase Intent Geo-targeting Collaborative targeting & CRM match Lookalike 3rd Party Advertiser Reach Redemption Offers Awareness ads Coupons
  8. 8. 8 AD TECH OVERVIEW Distribution Channels On PayPal Core Experiences Advertisers & Ad Exchanges Channels Ad Frontend Ads Offers Coupons Ad Backend Data CLO Ad Server Data Collection Reporting Index domain identity profileindexedbuyitem
  9. 9. 9 DATA MODEL 110 18 18 18 18 18 18 231345 110132001
  10. 10. 10 IDENTITY MAPPING Social Platform ID PayPal User ID 3rd Party User ID Profile ID eBay User ID Email Address Home Address Phone Number IDFA
  11. 11. 11 Profile Record IDENTITY & PROFILE – DATA MODEL 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 BML Standing Account Locked PayPal Balance 123ABC456DEF Male $75K+ 25 – 35 Active Approved No 10 Identity Record
  12. 12. 12 document { "matchKeyData" : [{“pguid_1234" : "45564757"}, {“eguid_5678" : "45657556"}], "segmentProviders" : [ { "name" : ”paypal”, "attributes" : { "created" : 698465466, "updated" : 698465466, }, "segments" : { “pp.signup.recency":”6579696", “pp.bml.standing":”Approved", "pp.account.locked":”4", "pp.account.balance":"10" } }, { "name" : “ebay", "attributes" : { "created" : 698465466, "updated" : 759669696, }, "segments" : { “ebay.gender":"1” , “ebay.married”:"0”, “ebay.age_range”:”2”, “ebay_hhi”:”75” } } ] } 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" IDENTITY & PROFILE BUCKETS
  13. 13. 13 DOMAIN BUCKET - NESTED UPDATES BuyItem ver# AdUnits ver# Creatives ver#AdUnits ver2# Creatives ver2# CAS 1:N 1:N ver2#
  14. 14. 14 AGENDA AD TECH TARGETING COOKIE INFRASTRUCTURE REAL TIME ANALYTICS
  15. 15. 15 DATA MODEL
  16. 16. 16 COOKIE ARCHITECTURE CookieService Couchbase DC A Couchbase DC B Front Tier Interaction Channels Application Cookie Libraries Mid Tier Data Service - Key Value - Cache Interface - Couchbase Client Data Tier XDCR
  17. 17. 17 DEPLOYMENT MODEL A CB Cookie Service Cookie Service Cookie Service XDCR ACTIVE ACTIVE PASSIVE AVAILABILITY REDUNDANCY DISASTER RECOVERY WRITEREAD
  18. 18. 18 AGENDA AD TECH TARGETING COOKIE INFRASTRUCTURE REAL TIME ANALYTICS
  19. 19. 19 REAL TIME ANALYTICS Collection Processing Analysis & Visualization Web Mobile Services CollectionService Storm Cloud Hadoop Cloud Tracking Metadata Metadata Service HBaseTools REST Spout Filtering & Enrichment Bolt Real Time Metrics Bolt Loader Sessionization Adhoc Analytics TrackingServers
  20. 20. 20 DATA MODEL
  21. 21. 21 DATA MODEL
  22. 22. 22 DATA MODEL
  23. 23. 23 VIEWS

×