C* Summit 2013: Aligning Technology Infrastructure With Horizontal Business Growth by Stefan Piesche

1,067 views

Published on

During this presentation Stefan Piesche, Chief Technology Officer at Constant Contact, will discuss how he and his team were able to grow and scale Constant Contact’s technology infrastructure by aligning technology with horizontal business growth to improve performance and reduce costs. He will share some of the lessons learned, best practices, and recommendations for other technology executives looking to transform their technology infrastructure to business.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,067
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

C* Summit 2013: Aligning Technology Infrastructure With Horizontal Business Growth by Stefan Piesche

  1. 1. Transforming Constant Contact withDataStax Enterprise#Cassandra13
  2. 2. Stefan Piesche, Chief Technology Officer© Copyright 2013 Constant Contact Inc. 2BIO§  Stefan focuses on evaluating newtechnologies to determine how they canhelp expand the Companys products andservice architecture to accommodate futuregrowth and increased performance.§  To do this, he combines technology visionwith practical delivery capabilities andengineering best practices.§  In previous roles at Cobalt Group andTrilogy Enterprises, Stefan has developedand driven corporate technology strategyand provided technical direction, designand architecture for all productdevelopment.#Cassandra13
  3. 3. Constant Contact•  500,000+ Small Businesses•  70% ≤ 10 employees•  1:1 interactions x 10,000/day© Copyright 2013 Constant Contact Inc. 3#Cassandra13
  4. 4. Constant Contact - Engineering•  ~200 Developers, QA and Operations•  ca. 2500 servers•  2.5 PB storage managed•  Java•  Ruby & Rails (96 node JRuby cluster)•  DB2, MySQL, Cassandra© Copyright 2013 Constant Contact Inc. 4#Cassandra13
  5. 5. Goals for Constant Contact SAASBecome a Multi Product CompanyGrowth via Horizontal Product Expansion: Go from1 to ManyExpand the Organization (more Dev teams)Grow via Mergers & Acquisitions© Copyright 2013 Constant Contact Inc. 5#Cassandra13
  6. 6. Tech in 2009© Copyright 2013 Constant Contact Inc. 6• Monolithic• DB Centric• Narrow Tech Stack:Websphere & DB2#Cassandra13
  7. 7. Pros and Cons+ Perfectly Suited for a Single Product,Vertically Growing Company+ Easy to Understand for Dev Teams- No Horizontal Scale- Velocity- Long Builds- Many SPOFs© Copyright 2013 Constant Contact Inc. 7#Cassandra13
  8. 8. Technology Strategy Goals 2010 – 2015Multi Datacenter (Active-DR to active-passive to active-active)Horizontal ScaleExtensibilityCost Effective & Predictable ($$ per 1000 customers)Improve Dev VelocityFault Tolerant© Copyright 2013 Constant Contact Inc. 8#Cassandra13
  9. 9. Tech Strategy ApproachSOA Open sourceDB2replacement:MySQL & ?IntegrateRailsSharding? CI/CDTDDWebsphere -> JBoss© Copyright 2013 Constant Contact Inc. 9#Cassandra13
  10. 10. Sharding Pros and Cons+ Semi-Predictable Scale- Difficult to Introduce in a MonolithicArchitecture (apps think data is in one place)- Hard to Manage (Operations)- Not always Cost Effective© Copyright 2013 Constant Contact Inc. 10#Cassandra13
  11. 11. Many of our Large Scale Data Needs areNon-RelationalContentTracking Events (opens, clicks, FB posts, tweets,event registrations)© Copyright 2013 Constant Contact Inc. 11Cassandra to the Rescue#Cassandra13
  12. 12. Why Cassandra?High Performance‘Transparent’ ShardingHorizontally ScalableFault TolerantMulti DC SupportCost EffectiveReplaced DB2 and SAN for >$1MM per DC with 72 node clustersupporting 2 DC for $250k© Copyright 2013 Constant Contact Inc. 12#Cassandra13
  13. 13. Cassandra Clusters at Constant ContactData1BN Piecesof ContentManaged100BNEventsTracked100-150BNRecordsAnalyzed© Copyright 2013 Constant Contact Inc. 13#Cassandra13
  14. 14. Cassandra Clusters at Constant Contact© Copyright 2013 Constant Contact Inc. 14Data1 - 72 NodeCluster with 36 TBusable forContent1 - 72 NodeCluster with 36 TBusable forTracking (willexpand to 200nodes over time)1 - 24 NodeCluster with 60 TBusable forAnalytics (willexpand to 150 TBusable over time)#Cassandra13
  15. 15. Clusters at CTCT© Copyright 2013 Constant Contact Inc. 1536 NodesEvent tracking36 NodesEvent tracking Analytics24 Nodes36 NodesContent36 NodesContentSanta Clara Boston#Cassandra13
  16. 16. ResultsReducedCost by 80%+Higher FT –No OutagesYet J5-10xPerformanceEnables UseCases WeCouldnt DoBefore.•  Event tracking -used to be 90days© Copyright 2013 Constant Contact Inc. 16#Cassandra13
  17. 17. LearningsLiving on the Bleeding Edge can Pay Off (westarted with version 0.7)Start SmallFortune Favors the Bold, but the Prepared:Partner with VendorsMigration Process: Dual Writes, then DualReads, then Primary Reads from Cassandra,Finally Deprecating the old RDBMS© Copyright 2013 Constant Contact Inc. 17#Cassandra13
  18. 18. © Copyright 2013 Constant Contact Inc. 18#Cassandra13

×