Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building a connected community: the Couchbase journey at Care.com – Couchase Connect New York 2017

160 views

Published on

Care.com is all about connecting people – care givers with the people who need them, while making the process simple, reliable, and secure. In order to do that, we needed a flexible, scalable, highly reliable data platform. In this session, you’ll learn about Care.com’s journey from relational to NoSQL, our architectural approach and how we deal with 100%+ growth in data every 18 months. Hear about the lessons learned and future direction for our connected application.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Building a connected community: the Couchbase journey at Care.com – Couchase Connect New York 2017

  1. 1. Care.com 2017 | Proprietary & Confidential Page 1 Couchbase Connect New York, May 2017
  2. 2. Care.com 2017 | Proprietary & Confidential Page 2 Education Financial Services Home Services Automotive Travel Services Entertainment Care Care for family members—the most important decision in people’s lives Care.com 2017 | Proprietary & Confidential
  3. 3. Care.com 2017 | Proprietary & Confidential Page 3 Care Is a Top Budgetary Item for Families Health Utilities Food Transportation CollegeTuition Housing Childcare $3K $4K $6K $9K $17K $18K $8K Source: Child Care Aware of America 2013 Report "Parents and the High Cost of Child Care". Based on unweighted averages across regions. Childcare costs are based on 2012 costs for an infant and 4-year old in full-time care in a center.
  4. 4. Care.com 2017 | Proprietary & Confidential Page 4 44 MM Target U.S. HHs 4% US Matching Penetration Enormous, fragmented market WE’RE EARLY $280B spend on care in U.S. $8–10B total addressable spending US Matching & Payments $8-10B Total Addressable market assumes a 3.0 - 3.5% take-rate on $280 B spend on care. Source: U.S. Census on HH data, IBIS 2014 on annual spending, Care.com Internal Data as of December 2015 of families paying to date
  5. 5. Care.com 2017 | Proprietary & Confidential Page 5 Largest Care Marketplace Platform POWERFUL NETWORK EFFECTS Source: Care.com internal data as of September 2016
  6. 6. Care.com 2017 | Proprietary & Confidential Page 6 Breadth of Coverage Caregiver Density 1,000+ 500–1,000 250–500 100–250 1–100 89% Coverage of U.S. ZIP Codes 5000+ Caregivers within 10 miles of 95% of ZIP codes of top 20 metro areas 8.1M U.S. Caregivers Source: Care.com internal data as of September 2016
  7. 7. Care.com 2017 | Proprietary & Confidential Page 7 Mobile: Access and Convenience 5.8M Average unique mobile visitors per month in Q3’16 3rd Top Grossing App in Lifestyle Category on iPhone App Store* 70% Of all unique visitors to Care.com on mobile platforms Q3’16 Source: Care.com internal data as of September 2016; US only *As of October 2016
  8. 8. Care.com 2017 | Proprietary & Confidential Page 8 Messaging: Core to the Care.com User Experience 100M Number of messages exchanged in 2016 1M+ Number of users using the messaging platform actively Source: Care.com internal data as of September 2016; US only *As of October 2016
  9. 9. Care.com 2017 | Proprietary & Confidential Page 9 Care.com Ecosystem Sign Up Post a Job Get Job Application Interview Caregiver Negotiate Salary and Terms Hire Caregiver Pay Caregiver Arrange Backup Care as Needed For Families For Caregivers Sign Up Apply to Jobs Interview Negotiate Terms Get Paid Messaging connects our users at every step.
  10. 10. Care.com 2017 | Proprietary & Confidential Page 10 Care.com Messaging Platform Messages needs to be filtered for bad words, contact information, etc. There is a signaling platform on top of messaging providing help during the conversation based on the discussion, age of conversation, etc. Various monetization actions sitting on top of messaging. We need a messaging system to connect our 12.4M families to 9M caregivers. Messaging between families and caregivers is core to our system. Messages are tied to jobs, bookings, payments, etc., which adds several layers of sorting and organization.
  11. 11. Care.com 2017 | Proprietary & Confidential Page 11 Our Journey Moving off Relational MySQL Moving on to Couchbase
  12. 12. Care.com 2017 | Proprietary & Confidential Page 12 Messaging Timeline 2007 2010 ~10M messages ~100M messages 2013 2015 200M messages 250M messages 2016 May 2017 350M messages Summer 2017 Upgrading to 4.6.1 First version of messaging released (mySQL) First implementation of Couchbase 2.5x. Re-architected solution with upgraded Couchbase deployed. RDMS runs into issues and user experience suffers. Large view sizes start causing problems with rebalancing. Engaged Couchbase to upgrade to 3.5.x and reduce reliance on views. Couchbase supporting message count doubling every 18 months.
  13. 13. Care.com 2017 | Proprietary & Confidential Page 13 API GATEWAY 5-node Live Cluster Couchbase Architecture 5-node Standby Cluster DR Cluster Desktop Mobile Web Android App IOS App XDC R
  14. 14. Care.com 2017 | Proprietary & Confidential Page 14 Care.com Messaging Design Challenges How to design the documents ?. How to ensure 100 % uptime ? How about updating documents ? How much business logic do you put in couchbase ? When to use the views ? How to handle n+1 select issues ?
  15. 15. Care.com 2017 | Proprietary & Confidential Page 15 Messaging: Member Doc • { • "receivedSummary": [ • { • "w": "2013-05-22 22:49:05", • "t": 66325241, • "s": "C", • "c": 1, • "ac": 0, • "o": true, • "m": 95952922 • }, • ], • "sentSummary": [ • { • "w": "2013-05-25 17:56:17", • "e": 9417560, • "t": 66570295, • "s": "A", • "c": 1, • "a": 43564210, • "ac": 1, • "wa": "2013-05-25 17:56:17", • "m": 96295973, • "j": 2307791 • }, • ], • "docType": "ms", • "memberId": 10000002, • "lastNewMsgSentTLM": "2013-05-25 17:56:17", • "lastRead": "2013-05-22 23:50:33" • }
  16. 16. Care.com 2017 | Proprietary & Confidential Page 16 Messaging: Message Doc • { • "toMemberCustomName": "Karen S.", • "docType": "m", • "whenReceivedTimestamp": "2013-06-20 18:04:31", • "status": "C", • "tlm": "2016-06-25 21:42:32", • "statusTlm": "2016-06-25 21:42:32", • "whenReadTimestamp": "2016-06-25 20:25:21", • "messageThread": { • "id": 68161729, • "jobWhenCreated": "2013-06-07 10:41:22", • "recruitmentMsg": false, • "jobApplicantId": 44839585, • "jobId": 2510435, • "subject": "Re: Nanny Needed, Starting Early August, in Sandy, UT" • }, • "id": 100057072, • "message": “Alice, nI sent an email to tell you, but just in case you didn't get it- I never got the contract. I'm in no rush if you're out of town and are unavailable to send it to me. However, I just wanted you to know the current status of things. I Hope you enjoy your trip!nGina”, • "emailId": 1455258XXX, • "fromMemberStatus": "A", • "fromMemberCustomName": "Sara B.", • "fromMemberId": 10234XXX, • "toMemberId": 10204XXX, • "isReply": true, • "postingMethod": "SITE", • "opened": true • }
  17. 17. Care.com 2017 | Proprietary & Confidential Page 17 Messaging: Important Couchbase Features for Care.com • XDCR - > Live bi-directional XDCR is very important to us to keep all clusters in sync. We need ability to read/write to both clusters. • Rebalancing time -> We need nodes to rebalance as fast as possible. With bigger views the rebalancing time was 1-2 days. We have reduced it to 30 mins with help of Couchbase. • Couchbase nodes are very chatty among each other, you need to make sure that there is enough network bandwidth.
  18. 18. Care.com 2017 | Proprietary & Confidential Page 18 New Features We Would Like to Use • N1QL and indexing -> A lot of our complex logic lies in our middle tier. With N1QL it opens up an opportunity to move it to Couchbase and gain on scale and performance. • Search Integration -> We would like to put searches in our message store. We are waiting for an elastic search integration. • Mobile Sync Gateway -> We built our own proprietary caching on the apps as it was done before Couchbase’s gateway product. We would like to use a commercial off the shelf product if ever rearchitect it.
  19. 19. Care.com 2017 | Proprietary & Confidential Page 19 THANK YOU

×