LECTURE 34: WEB PROGRAMMING FOR SCALE

Slides:



Advertisements
Similar presentations
CS 4700 / CS 5700 Network Fundamentals Lecture 15: Content Delivery Networks (Over 1 billion served … each day) Revised 10/22/2014.
Advertisements

Distributed components
Chapter 3 : Distributed Data Processing
DISTRIBUTED COMPUTING
Wowza and Microsoft Azure Enable Easy Deployment and Management of Cloud-Based Streaming Solutions that Deliver Live and On-Demand Video to Any Device.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
CSE 534 – Fundamentals of Computer Networks Lecture 11: Content Delivery Networks (Over 1 billion served … each day) Based on slides by D. NEU.
TRƯỜNG ĐẠI HỌC CÔNG NGHỆ Bộ môn Mạng và Truyền Thông Máy Tính.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Fault – Tolerant Distributed Multimedia Streaming Web Application By Nirvan Sagar – Srishti Ganjoo – Syed Shahbaaz Safir
The Derivitec Risk Portal Provides Powerful, Cost-Effective Risk Management Solutions, Powered by Azure, that Deploy in Minutes MICROSOFT AZURE ISV PROFILE:
Meemim's Microsoft Azure-Hosted Knowledge Management Platform Simplifies the Sharing of Information with Colleagues, Clients or the Public MICROSOFT AZURE.
DocFusion 365 Intelligent Template Designer and Document Generation Engine on Azure Enables Your Team to Increase Productivity MICROSOFT AZURE APP BUILDER.
Nicho Joins Microsoft Azure Certified Program to Transform Brand Engagement, Boost Customer Acquisition and Conversions with Scalable Ease MICROSOFT AZURE.
Ralleo Enterprise-Grade Solution for Managing Change and Business Transformation Provides Opportunities to Better Analyze Real-Time Data MICROSOFT AZURE.
Vidcoding Introduces Scalable Video and TV Encoding in the Cloud at an Affordable Price by Utilizing the Processing Power of Azure Batch MICROSOFT AZURE.
New Heights by Guiding Them into the Cloud
Gather Valuable Customer Data
Trial.iO Makes it Easy to Provision Software Trials, Demos and Training Environments in the Azure Cloud in One Click, Without Any IT Involvement MICROSOFT.
A10 Networks vThunder Leverages the Powerful Microsoft Azure Cloud Platform to Offer Advanced Layer 4-7 Networking, Security on a Global Scale MICROSOFT.
Deployed on Microsoft Azure, ecManager Provides E-Business Retailers and Brand Manufacturers with a Dependable Omnichannel E-Commerce Platform MICROSOFT.
Wonderware Online Cost-Effective SaaS Solution Powered by the Microsoft Azure Cloud Platform Delivers Industrial Insights to Users and OEMs MICROSOFT AZURE.
Hosted on Azure, LoginRadius’ Customer Identity
Veeam Backup Repository
Get Real Value and Insights from Your Data: Biin Solutions Provides Predictive Analytics, IoT, and Business Intelligence with Microsoft Azure Power MICROSOFT.
With Help from the Microsoft Azure Cloud,
CS 4700 / CS 5700 Network Fundamentals
H3 Solutions and the Azure Government Cloud Team Up to Power Contextual Intelligence Platform – Where Big Data Meets Business Productivity MICROSOFT AZURE.
Built on the Powerful Microsoft Azure Platform, Lievestro Delivers Care Information, Capacity Management Solutions to Hospitals, Medical Field MICROSOFT.
Running on the Powerful Microsoft Azure Platform,
Oscar AP by Massive Analytic: A Precognitive Analytics Platform for Effortless Data-Driven Decisions. Now Available in Azure Marketplace MICROSOFT AZURE.
Designed for Big Data Visual Analytics, Zoomdata Allows Business Users to Quickly Connect, Stream, and Visualize Data in the Microsoft Azure Platform MICROSOFT.
Yellowfin: An Azure-Compatible Business Intelligence Platform That Connects People with Their Data for Better Decision Making MICROSOFT AZURE APP BUILDER.
Be Better: Achieve Customer Service Excellence and Create a Lean RMA and Returns Process with Renewity RMA and the Power of Microsoft Azure MICROSOFT AZURE.
Logsign All-In-One Security Information and Event Management (SIEM) Solution Built on Azure Improves Security & Business Continuity MICROSOFT AZURE APP.
Utilizing the Capabilities of Microsoft Azure, Skipper Offers a Results-Based Platform That Helps Digital Advertisers with the Marketing of Their Mobile.
On-Premises, or Deployed in a Hybrid Environment
Auth0 Is Identity Made Simple for Developers, Built by Developers and Supported by the High Availability and Performance of Microsoft Azure MICROSOFT AZURE.
I-POWER JAPAN Gives Small Businesses the Ability to Get Their Work Done from Anywhere, Even a Construction Site, by Using Microsoft Azure MICROSOFT AZURE.
LECTURE 32: WEB PROGRAMMING FOR SCALE
The Only Digital Asset Management System on Microsoft Azure, MediaValet Is Uniquely Equipped to Meet Any Company’s Needs MICROSOFT AZURE ISV PROFILE: MEDIAVALET.
DeFacto Planning on the Powerful Microsoft Azure Platform Puts the Power of Intelligent and Timely Planning at Any Business Manager’s Fingertips Partner.
LECTURE 33: WEB PROGRAMMING FOR SCALE
CloneManager® Helps Users Harness the Power of Microsoft Azure to Clone and Migrate Systems into the Cloud Cost-Effectively and Securely MICROSOFT AZURE.
Partner Logo Azure Provides a Secure, Scalable Platform for ScheduleMe, an App That Enables Easy Meeting Scheduling with People Outside of Your Company.
Datacastle RED Delivers a Proven, Enterprise-Class Endpoint Data Protection Solution that Is Scalable to Millions of Devices on the Microsoft Azure Platform.
MARMIND’s New Service Delivers a Single Centralized Marketing Plan That Connects Teams, Campaigns and Outcomes by Using the Power of the Azure Platform.
Dell Data Protection | Rapid Recovery: Simple, Quick, Configurable, and Affordable Cloud-Based Backup, Retention, and Archiving Powered by Microsoft Azure.
Carl Data Solutions Collects Utility Sensor and Meter Data to Provide Advanced Reporting, Alarming, and Analytics with Microsoft Azure MICROSOFT AZURE.
MICROSOFT AZURE ISV PROFILE: ONEBE
AdQ is Azure-Powered Pre-Roll Ad Management Software That Improves Pre-Roll Ad Performance, Increases Profits, and Optimizes User Experience MICROSOFT.
TEMPLATE.
Media365 Portal by Ctrl365 is Powered by Azure and Enables Easy and Seamless Dissemination of Video for Enhanced B2C and B2B Communication MICROSOFT AZURE.
Architectures of distributed systems Fundamental Models
AWS Cloud Computing Masaki.
Quasardb Is a Fast, Reliable, and Highly Scalable Application Database, Built on Microsoft Azure and Designed Not to Buckle Under Demand MICROSOFT AZURE.
Architectures of distributed systems Fundamental Models
BluSync by ParaBlu Offers Secure Enterprise File Collaboration and Synchronization Solution That Uses Azure Blob Storage to Enable Secure Sharing MICROSOFT.
Last.Backend is a Continuous Delivery Platform for Developers and Dev Teams, Allowing Them to Manage and Deploy Applications Easier and Faster MICROSOFT.
IST346: Scalability.
CSCI-351 Data communication and Networks
Architectures of distributed systems Fundamental Models
LOAD BALANCING INSTANCE GROUP APPLICATION #1 INSTANCE GROUP Overview
Zendos Tecnologia Utilizes the Powerful, Scalable
LECTURE 33: WEB PROGRAMMING FOR SCALE
Network management system
AKAMAI Content Delivery Services
COMPANY PROFILE: REELWAY
Calidad de Conducción y Seguridad Vial
Presentation transcript:

LECTURE 34: WEB PROGRAMMING FOR SCALE Objectives: Distributed Systems Service Architectures Resources: SOA Event Driven

What is Scale? “Scale” is the most common term in Web Development But what does it mean? Short Answer: Just means to grow in size and amount of traffic or concurrent users Long Answer: Is domain specific!

Metrics Service Level Agreements (SLA’s) are requirement designed by vendors to define performance and availability Speed Availability Compatibility Response Time

Response Time For Web pages Latency (RTT) matters most Where should the server go? For video Available bandwidth matters most Is there one location that is best for everyone? RTT: Round trip time delay

Speed Matters Impact on user experience Users navigating away from pages Video startup delay Impact on revenue Amazon: increased revenue 1% for every 100ms reduction in PLT Shopzilla:12% increase in revenue by reducing PLT from 6 seconds to 1.2 seconds Ping from BOS to LAX: ~100ms

Availability Commonly referred to as Uptime Refers to amount of time the site is available Amazon’s AWS SLA for Uptime Microsoft’s Azure SLA for Uptime *Both SLA’s are comparing Virtual Machine Uptime SLA as of 9/19/2016 Monthly Uptime Percentage Service Credit Percentage Equal to or greater than 98.0% but less than 99.0% 10% Less than 98.0% 25% Monthly Uptime Percentage Service Credit Percentage Greater 99.95% 10% Greater 99.0% 25%

Compatibility This is simply the number of supported devices or brewers

What is a Distributed System? Distributed System: “A number of independent computers linked by a network” (Oxford Dictionary) Simply an application or service that is distributed across multiple independent computers What some examples of distributed systems? Gmail Netflix's Internet Distribution Improves: Availability Reliability & Fault Tolerance Performance Scalability

Evolution of Distributed Systems In the beginning… …there was a single server Probably located in a closet And it probably served blinking text Issues with this model Site reliability Unplugging cable, hardware failure, natural disaster Scalability Flash crowds (aka Slashdotting)

XY Scalable Architecture Scale Up: Vertical Scaling (Y Scaling) Scale Out: Horizontal Scaling (X Scaling) Ebay uses a combination of X,Y,Z style scaling to their database tier

CDN? Content Delivery Network Also sometimes called Content Distribution Network At least half of the world’s bits are delivered by a CDN Probably closer to 80/90% Primary Goals Create replicas of content throughout the Internet Ensure that replicas are always available Directly clients to replicas that will give good performance

Components of CDN Distributed servers Usually located inside of other ISPs (Internet Service Provider) Often located in IXPs (coming up next) High-speed network connecting them Clients (eyeballs) Can be located anywhere in the world They want fast Web performance

Replicated Web Service Use multiple servers Advantages Better scalability Better reliability Disadvantages How do you decide which server to use? How to do synchronize state among servers?

Request Servicing Load Balancing Queues Synchronous Request

Architecture Patterns Monolithic Architecture Event Driven Architecture Micro service Architecture Database per Service Architecture Single Host per Service/Multi Host per Service Most Large Scale sites like (Netflix, Amazon, eBay) have evolved a monolithic architecture to a micro service Netflix is responsible for up to 30% of internet traffic, uses a service-oriented architecture (SOA) Handle over a billion request per day API average out to an average 6 backend services

Monolithic Architecture Everything complied and linked into a single (monolithic) application Usually written in a single programming language When is this the right architecture? Usually when you have a small team with limited experience Short time / Limited SLAs

Micro-Service Architecture Another form of SOA Miro-Service Architecture Small Services A lot of Small Services vs. A Few Big Ones Highly Scalable Easy to Debug Problems with State http://microservices.io/ Amazon.com uses 100-150 services to get all the data for the website

Event Driven Architecture Also known as message driven architecture Also a form of SOA Key Terms: Event Stream: List of events Event Producer: Source of Event Event Consumer: A service that reads the event stream Event Bus: Bundle of Event Streams Popular Systems: Kafka Service Bus EventStore

Companies Using SOA

Appendix