Scott Klein Technical Evangelist. Scott Klein.

Slides:



Advertisements
Similar presentations
From Startup to Enterprise A Story of MySQL Evolution Vidur Apparao, CTO Stephen OSullivan, Manager of Data and Grid Technologies April 2009.
Advertisements

Queuing and Caching to Scalability James Kovacs
2 Proprietary & Confidential What is Sharding Benefits of Sharding Alternatives of Sharding When to start Sharding Agenda.
Data Management in the Cloud Paul Szerlip. The rise of data Think about this o For the past two decades, the largest generator of data was humans -- now.
Take your CMS to the cloud to lighten the load Brett Pollak Campus Web Office UC San Diego.
Database Scalability, Elasticity, and Autonomy in the Cloud Agrawal et al. Oct 24, 2011.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
Getting Your Nerd on with Microsoft’s Cloud data services Scott Klein Technical Evangelist Microsoft Corporation.
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
UC Berkeley Scalable Structured Data Storage for Web 2.0 Michael Armbrust David Zhu Barret Rhoden.
Business Continuity and DR, A Practical Implementation Mich Talebzadeh, Consultant, Deutsche Bank
© 2009 Infosys Technologies Limited Designing scalable applications for cloud Raghavan Subramanian, Associate Vice President, Head of Cloud-computing CoE,
 Relational Cloud: A Database-as-a-Service for the Cloud Carlo Curino, Evan Jones, Raluca Ada Popa, Nirmesh Malaviya, Eugene Wu, Sam Madden, Hari Balakrishnan,
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
CMU SCS Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications C. Faloutsos – A. Pavlo How to Scale a Database System.
NoSQL Database.
 Built for SaaS and enterprise applications  Elastic database model for unpredictable workloads  99.99% availability with global reach  Geo-replication.
Architecting a Large-Scale Data Warehouse with SQL Server 2005 Mark Morton Senior Technical Consultant IT Training Solutions DAT313.
Data in the cloud O’Reilly MySQL Conference Mårten Mickos CEO, Eucalyptus Systems
Jiazhang Liu;Yiren Ding Team 8 [10/22/13]. Traditional Database Servers Database Admin DBMS 1.
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Road to the Cloud The Economics of Cloud Computing.
Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead.
Building Scalable.NET Applications Guy Nirpaz, EVP R&D, GigaSpaces Technologies.
Introduction To Windows Azure Cloud
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Hopkins Storage Systems Lab, Department of Computer Science A Workload-Driven Unit of Cache Replacement for Mid-Tier Database Caching Xiaodan Wang, Tanu.
Panagiotis Antonopoulos Microsoft Corp Ioannis Konstantinou National Technical University of Athens Dimitrios Tsoumakos.
Distributed Indexing of Web Scale Datasets for the Cloud {ikons, eangelou, Computing Systems Laboratory School of Electrical.
OSG Area Coordinator’s Report: Workload Management February 9 th, 2011 Maxim Potekhin BNL
Windows Azure SQL Database Deep Dive Chris Auld CTO – Intergen AZR432.
Windows Azure Conference 2014 Designing Applications for Scalability.
AZR308. Building distributed systems on an abstraction against commodity hardware at Internet scale, composed of multiple services. Distributed System.
1 Mapping to Relational Databases Presented by Ramona Su.
Domain and Persistence Patterns. Fundamental Pattern Types Design Patterns Business Logic Patterns.
Techcello Provides SaaS Lifecycle Management Solution to “SaaS-ify” Your Application Efficiently on the Powerful Microsoft Azure Cloud Platform MICROSOFT.
Konstantinos Pantos MVP, MSc, MCP, Software Solutions Architect
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Dynamo: Amazon’s Highly Available Key-value Store DAAS – Database as a service.
NoSQL Or Peles. What is NoSQL A collection of various technologies meant to work around RDBMS limitations (mostly performance) Not much of a definition...
SQL Database Federations Tips and Tricks Scott Klein Microsoft Corporation.
An Introduction to Super-Scalability But first…
OSG Area Coordinator’s Report: Workload Management February 9 th, 2011 Maxim Potekhin BNL
Miss a User Group meeting? Forget something that you learned? Want to see content from a User Group not in your area? Want to share with a buddy? We.
Cloud Computing from a Developer’s Perspective Shlomo Swidler CTO & Founder mydrifts.com 25 January 2009.
Cloud Computing: Pay-per-Use for On-Demand Scalability Developing Cloud Computing Applications with Open Source Technologies Shlomo Swidler.
Abstract MarkLogic Database – Only Enterprise NoSQL DB Aashi Rastogi, Sanket V. Patel Department of Computer Science University of Bridgeport, Bridgeport,
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
Aaron Stanley King. What is SQL Azure? “SQL Azure is a scalable and cost-effective on- demand data storage and query processing service. SQL Azure is.
Oracle Database Native Sharding: a customer perspective ©2016 PayPal Inc. Confidential and proprietary. John Kanagaraj, Sr. Member of Technical Staff,
#sqlsatPordenone #sqlsat495 February 27, 2016 Elastic Database, going to the infinity * Emanuele thinkit.it –
Security Group Amazon RDS Mysql Media Request S3
Lecture 18: Scalable Web Services
Windows Azure SQL Federation
SQL Database Federations Tips and Tricks
Elastic database patterns for SaaS applications in Azure
Scaling In e Scaling Out através do elastic pool
Azure SQL Database – Scaling in and Scaling out with elastic pool
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
NOSQL databases and Big Data Storage Systems
AWS. Introduction AWS launched in 2006 from the internal infrastructure that Amazon.com built to handle its online retail operations. AWS was one of the.
Cloud Scalability Helps Marketing Campaign Solution Handle Demands of Holiday Season MINI-CASE STUDY “Microsoft Azure has allowed us to quickly scale our.
Azure SQL Database – Scaling in and Scaling out with elastic pool
Powerful Microsoft Azure Platform Hosts the Cloud-Based Student Portal Built on Office 365 “Microsoft Azure has revolutionized our software and our offering.
Microsoft Azure Easily Accommodates Heavy Demands of Office 365 Management Platform MINI-CASE STUDY “Nuvolex relies on the Azure platform to deliver the.
Intelligent Migration Solution Simplifies, Scales Products While Saving Cloud Computing Costs “After assessing a variety of cloud-based computing platforms,
Go Large with SQL Azure Federations Do you want shards with that?
04 | Performance and the Premium SKU
Building global and highly-available services using Windows Azure
Presentation transcript:

Scott Klein Technical Evangelist

Scott Klein

Show the major components necessary to approach designing for scale at the database layer. Demonstrate the different approaches for designing a scalable database layer.

Scale-up Single database that houses all the data of an application Hard to handle peak load OK with exponential incremental cost Scale-Out Multiple databases spread over multiple independent nodes Cost effective, commodity class hardware Typical patterns: Sharding and Horizontal Partitioning

Cloud Applications Require Scale Beyond Scale-Up Demand the Best Economics Best Price/Performance Elasticity + Pay-as-you-go

Single tenant per database Multiple-tenants per database Multiple databases per tenant

A Few Examples Web Scale DB Solutions Multi-tenant Saas ISVs Workloads with Spikes, Bursts, Peaks, etc… NoSQL Applications

Tenant Key Used for all non-reference table records Used by almost all queries (indexes) Int, bigint, GUID Reference Table Int, bigint, GUID Reference Table Lookup table

SalesDB Orders_federation Orders_Fed [5000, 7500) & [7500, 10000) Built-in Data-Dependent Routing (DDR) Ensure apps can discover where the data is just-in-time No “Shard Map” caching Guaranteed member routing

Defining the Tenant Most granular as possible Tenant Size The smaller the better Current Max size (150 GB) Zero to minimal cross-database requirements Sharding key typically equates to TenantID Examples: User (very common) Region Company Cost Center of Company

Establishing Tenant Surrogate Key Used for all non-reference table records Used by almost all queries (indexes) Ideal Key Small Fixed size Large domain GUID is common data type Too large Cause of severe fragmentation Painful sharding boundary values Painful reference when troubleshooting BigInt is better Half-size of GUID