21
HOW DSE AND AZURE MAKE YOUR APPS SCALE FROM DAY 1 CARLOS ROLO APRIL 2016

How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

Embed Size (px)

Citation preview

Page 1: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

HOW DSE AND AZURE MAKE YOUR APPS SCALE FROM DAY 1CARLOS ROLOAPRIL 2016

Page 2: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

WHO AM I?

© 2016 Pythian Confidential 2

• Cassandra Consultant for Pythian

• I’m all about Distributed Systems

• Certified Datastax Architect

• Cassandra MVP

• Programming since 1997

• Cassandra DBA since 2011

• Previous experience:• INESC/ID

• DRI

• Portugal Telecom

• Leaseweb CDN

Page 3: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

© 2016 Pythian Confidential 3

ABOUT PYTHIANPythian’s 400+ professionals enable digital transformation

by helping companies adopt and manage disruptive technologies to better compete.

Page 4: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

Systems currently managed by Pythian

EXPERIENCED

Pythian experts in 35 countries

GLOBAL

of experience gathered and shared over 19 years

EXPERTS

© 2016 Pythian Confidential 4

11,800 2 millennia400

Page 5: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

AGENDA

1. Building Apps

2. Scale from day 1

3. DSE and Azure

4. Do more with DSE

5. Real Examples

6. Q&A

© 2016 Pythian Confidential 5

Page 6: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

HOW IT ALL STARTS

© 2016 Pythian Confidential 6

1. Identify the case for a new app/refactor

2. Design

3. Prototype

4. ????

5. Production

App Data

Page 7: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

APP LIFECYCLE

© 2016 Pythian Confidential 7

WHAT WE THOUGHT

Data Bus

Clients

C*App

App

WHAT IS IN PRODUCTION

Page 8: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• It was a prototype!• We didn’t think of:

• Performance• Scaling• Redundancy

WHY?

© 2016 Pythian Confidential 8

Page 9: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• How?• Start with Cassandra▪Replication, Redundancy, Scaling for

free!• Start in the cloud▪Replication, Redundancy and Scaling!

SCALE FROM DAY 1

© 2016 Pythian Confidential 9

Page 10: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• DSE• Cassandra hardened version by

DataStax• Geo-Distributed, Replicated,

Scalable Database• Azure

• Microsoft Cloud offering• Extensive service offering, available

in 27 Locations

DSE AND AZURE

© 2016 Pythian Confidential 10

Page 11: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

SCALE

© 2016 Pythian Confidential 11

1

2

App C*

3

App C*C*C*App C*C*C*

App C*C*C*

DC 1

DC 2

DC 3

Page 12: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

EASIER SAID THAN DONE…

© 2016 Pythian Confidential 12

• It’s Cassandra!• Leverage Azure tooling!

• Templating• Deep integration with Windows• Ever increasing integration with Linux• And this:

Page 13: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• Requirements change• New functionalities are expected• This brings change…

DO MORE WITH DSE

© 2016 Pythian Confidential 13

Page 14: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

DO MORE WITH DSE (2)

© 2016 Pythian Confidential 14

App C*C*C*App C*C*C*

App C*C*C*DC 1

DC 2

DC 3

Search Analytics Analytics Search

ADD MORE MOVING PARTS

Page 15: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

DO MORE WITH DSE (3)

© 2016 Pythian Confidential 15

App C*C*C* App C*C*C*

App C*C*C*

DC 1 - Cassandra

DC 2 - Analytics

DC 3 - Search

DO IT WITH DSE

Page 16: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• More flexibility• Less Moving parts• It is also possible to migrate!

DSE VS PLAIN CASSANDRA

© 2016 Pythian Confidential 16

Page 17: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

• Almost all software is “prototypes”• Change is expensive• So many moving pieces that

monitoring is non-existent• Maintenance hours eat all the

development, things tend to be as is.

REAL EXAMPLE –NO CLOUD, NO C*

© 2016 Pythian Confidential 17

Page 18: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

REAL EXAMPLE – CASSANDRA IN PLACE

© 2016 Pythian Confidential 18

• Application needed to evolve to keep pace• Rebuild data model

• Easy to move data• Easy to implement search and analytics• Lots of features deployed while keep system working

• Downside:• Hours of development burned on building tooling

Page 19: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

REAL EXAMPLE – C* + CLOUD

© 2016 Pythian Confidential 19

• Application was suffering bad, terrible performance, difficult to maintain.• Lots of tools available and a lot of flexibility

• 1st month - app is performing better• 2nd month - monitoring is in place for everything• 3rd month - refactors are happening• Expected new launch after 5 months

Page 20: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

© 2016 Pythian Confidential 20

TAKEAWAYS• Start with a scalable

Foundation• Use flexible tools/platforms• Development time can be

seriously cut by using available features

• Don’t forget to shutdown your unused environments!

Page 21: How DataStax Enterprise and Azure Make Your Apps Scale from Day 1

© 2016 Pythian Confidential 21

Q & ATwitter: @cjroloLinkedIn: linkedin.com/carlosjuzarteroloBlog: blog.pythian.com/carlosrolo