Tipping The Scale Tips, Tools, and Techniques For Building Scalable. Steve French Senior Software Engineer digg.com

Size: px
Start display at page:

Download "Tipping The Scale Tips, Tools, and Techniques For Building Scalable. Steve French Senior Software Engineer digg.com"

Transcription

1 Tipping The Scale Tips, Tools, and Techniques For Building Scalable Steve French Senior Software Engineer digg.com

2 First Thing s First... The Stack Server OS Linux, MacOS X, UNIX, Windows Web Server apache, iis, nginx, lighttpd, tornado Programming Language php, python, ruby, java, asp, jsp Datastore mysql, postgresql, oracle, db2, mssql cassandra, mongodb, couchdb What is Digg.com Linux + Apache PHP, Python, Java MySQL, Cassandra

3 The Stack What Else? Load Balancer Barracuda, Cisco, Coyote, Caching memcache $userid = 211; //build key and set timeout for memcache use $key = user. $userid; $timeout = 60 * 60 * 24; //try to find in memcache $user = $memcache->get($key); //if not found, fetch and store in cache if($user === null) { $user = fetch_user( select * from users where userid =?, $userid); $memcache->store($key, $user, $timeout); } //use the object echo Hello. $user->first_name. \n ;

4 Challenges? Request/Connection Bound Your site can t respond to all connections being requested. Webserver Load Your webservers are doing too much work for active processes. Datastore Load You can t read/write data fast enough Unable to Bend Space/Time Self explanatory!

5 Request/Connection Bound Client Side Request Caching HTTP/ OK Date: Thu, 27 Sep :19:41 GMT Server: Apache/1.3.3 (Unix) Cache-Control: max-age=3600, must-revalidate Expires: Fri, 27 Sep :19:41 GMT Last-Modified: Mon, 24 Sep :28:12 GMT Server Side Request Caching Loadbalancer / Caching Proxy Server

6 Request/Connection Bound Minimize Requests Minimize the number of CSS/JS/Images/AJAX that you call on a page. Has the additional benefit that your pages will render much faster. MXHR - Multipart XMLHttpRequest Multiple resources can be Multipart encoded into a single request -- Content-Type: image/gif <snip> R0lGODlhIAAgAOYAAJGRkWlpaf///+vr66+vr/r6+vb29vz8/ Pn5+fPz8+7u7vHx8W1tbe3t7f39/ejo6Orq6ufn59fX1/v7+/Ly8u/v7/ X19ff399zc3PT09OXl5f7+/ ubm5tpt08lcwsrkynr0dlu7u4cagozs7onp6acgonls0tnz2bw1twxsbpj 4+OTk5NTU1IyMjNXV1aGhoWpqatbW1piYmKOjo7q6uqysrLGxsc3NzeDg </snip> -- Content-Type: text/plain This is some text to paste into your application -- Content-Type: text/css.foo { border: 1px solid black; } --

7 Request/Connection Bound Content Delivery Networks (CDN) You can push static content (images/css/javascript/video) to external delivery networks which take the request load off of your servers Add More Webservers Technically this is true, but isn t generally going to be the best option. Tune Existing Webservers If your server has enough resources you can experiment with increasing the maxclients that your webserver will allow.

8 Challenges? Request/Connection Bound Your site can t respond to all connections being requested. Webserver Load Your webservers are doing too much work for active processes. Datastore Load You can t read/write data fast enough Unable to Bend Space/Time Self explanatory!

9 Webserver Load Optimize Code and Code Use Cache Code In PHP - Alternative PHP Cache (APC) Cache Templates Cache Data Outputs Profile Code In PHP - xdebug, XHProf

10 Webserver Load Scale the System Architecture Scale Up This is really easy to do, but it really only really makes sense if hardware advances outpace your growth. Scale Out Many servers behind load balancer(s). Some care is needed to make sure that your code does not require machine affinity. You have to do this to run out of multiple data centers.

11 Challenges? Request/Connection Bound Your site can t respond to all connections being requested. Webserver Load Your webservers are doing too much work for active processes. Datastore Load You can t read/write data fast enough Unable to Bend Space/Time Self explanatory!

12 Data Access Load Code Changes Cache Data! Memcache - Test: Fetch users from mysql and memcached Caching Strategy Cache On Access Optimistic Cache Priming

13 Data Access Load Code Changes Optimize Queries Explain Queries Add Indices Sometimes many simple queries are better than a single complex one. select * from users where userid in (1000, 3002, 53, , 999,...); VS for($i=1, $i <= 500; $i++) select * from users where userid = $i

14 Data Access Load Scale the System Architecture - Read Traffic Scaling Out Read Slaves Vertical Partitioning Horizontal Partitioning Data Denormalization

15 Data Access Load Scaling Out Read Slaves

16 Data Access Load Vertical Partitions create table users( id bigint not null auto_increment, username char(20), password char(50), secretquestion char(100), secretanswer char(100), favoritecolor char(25), website text, active enum( Y, N ) ); create table users( id bigint not null autoincrement, username char(20), password char(50), active enum( Y, N ) ); create table userdetails( userid bigint not null, secretquestion char(100), secretanswer char(100), favoritecolor char(25), website text );

17 Data Access Load Horizontal Partitions

18 Data Access Load Data Denormalization Benefits Data is replicated to tables that need it. Less JOIN operations Drawbacks Updating values takes additional operations, so this technique is best used on rarely-changing data. create table users( id bigint not null autoincrement, username varchar(20), password varchar(50), secretquestion varchar(100), secretanswer varchar(100), active enum( Y, N ) ); create table stories( id bigint not null autoincrement, title varchar(100), description varchar(255), username varchar(20) ); create table comments( userid bigint not null, comment_body varchar(255), username varchar(20) );

19 Data Access Load Scale the System Architecture - Write Traffic Query-Specific Server Pools Scale Out Writable Servers Horizontal Partitioning

20 Data Access Load Query-Specific Server Pools

21 Data Access Load Scale Out Writable Servers

22 Data Access Load Horizontal Partitions

23 OK, Scaling Writes Sucks... What Else?

24 Data Access Load Key/Value Stores Benefits: Faster Suited to horizontal scaling Redundancy Read/Write Tradeoffs Drawbacks: Ad-hoc queries are almost impossible.

25 Data Access Load Cassandra Data Model - Example AddressBook = { // ColumnFamily of type Super phatduckk: { // all the address book entries (supercolumns) for phatduckk John: {street: "Howard street", zip: "94404", city: "San Francisco", state: "CA"}, Kim: {street: "X street", zip: "87876", city: "Sticks", state: "VA"}, Tod: {street: "Jerry street", zip: "54556", city: "Cartoon", state: "CO"}, Bob: {street: "Q Blvd", zip: "24252", city: "Nowhere", state: "MN"}, } }, ieure: { // all the address book entries for ieure Joey: {street: "A ave", zip: "55485", city: "Elko", state: "NV"}, William: {street: "Armpit Dr", zip: "93301", city: "Bakersfield", state: "CA"}, Bob: {street: "Q Blvd", zip: "24252", city: "Nowhere", state: "MN"}, },

26 Challenges? Request/Connection Bound Your site can t respond to all connections being requested. Webserver Load Your webservers are doing too much work for active processes. Datastore Load You can t read/write data fast enough Unable to Bend Space/Time Self explanatory!

27 Bending Space and Time Real Time vs Near Time Asynchronous Job Queues Gearman - RabbitMQ - JMS - Offline Processing Cron - man cron Hadoop -

28 Bending Space and Time Gearman - Example: $users = fetch_all_users(); foreach($users as $user) { //do an expensive process } $items = fetch_all_items(); foreach($items as $item) { //do an expensive process } gearman_exec(fetch_all_users, $userkey); gearman_exec(fetch_all_items, $itemskey); while(!gearman_fetch($userskey)) sleep(1); foreach($users as $user) { //do an expensive process } while(!$items = gearman_fetch($itemskey)) sleep(1); foreach($items as $item) { //do an expensive process }

29 Questions, Comments, Flames?

30 Thank You! twitter: twitter.com/frenchs web: sfrench.com

Cache All The Things

Cache All The Things Cache All The Things About Me Mike Bell Drupal Developer @mikebell_ http://drupal.org/user/189605 Exactly what things? erm... everything! No really... Frontend: - HTML - CSS - Images - Javascript Backend:

More information

Java, PHP & Ruby - Cloud Hosting

Java, PHP & Ruby - Cloud Hosting Java, PHP & Ruby - Cloud Hosting NO LOCK-IN No technical lock-in and no binding contract. We believe in open standards without any technical lock-ins. We think that Open source provides flexibility and

More information

Drupal High Availability High Performance

Drupal High Availability High Performance Drupal High Availability High Performance Drupal High Availability High Performance How to sleep without the server-crash-fear High Availability High Availability no Single Point of Failure High Availability

More information

Large-Scale Web Applications

Large-Scale Web Applications Large-Scale Web Applications Mendel Rosenblum Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet CS142 Lecture Notes - Intro LAN 2 Large-Scale: Scale-Out

More information

Building Scalable Web Sites: Tidbits from the sites that made it work. Gabe Rudy

Building Scalable Web Sites: Tidbits from the sites that made it work. Gabe Rudy : Tidbits from the sites that made it work Gabe Rudy What Is This About Scalable is hot Web startups tend to die or grow... really big Youtube Founded 02/2005. Acquired by Google 11/2006 03/2006 30 million

More information

Removing Failure Points and Increasing Scalability for the Engine that Drives webmd.com

Removing Failure Points and Increasing Scalability for the Engine that Drives webmd.com Removing Failure Points and Increasing Scalability for the Engine that Drives webmd.com Matt Wilson Director, Consumer Web Operations, WebMD @mattwilsoninc 9/12/2013 About this talk Go over original site

More information

Modern Web Development From Angle Brackets to Web Sockets

Modern Web Development From Angle Brackets to Web Sockets Modern Web Development From Angle Brackets to Web Sockets Pete Snyder Outline (or, what am i going to be going on about ) 1.What is the Web? 2.Why the web matters 3.What s unique about

More information

N-tier ColdFusion scalability. N-tier ColdFusion scalability WebManiacs 2008 Jochem van Dieten

N-tier ColdFusion scalability. N-tier ColdFusion scalability WebManiacs 2008 Jochem van Dieten N-tier ColdFusion scalability About me ColdFusion developer for over 10 year Adobe Community Expert for ColdFusion CTO for Prisma IT in the Netherlands consultancy development hosting training Find me

More information

CloudOYE CDN USER MANUAL

CloudOYE CDN USER MANUAL CloudOYE CDN USER MANUAL Password - Based Access Logon to http://mycloud.cloudoye.com. Enter your Username & Password In case, you have forgotten your password, click Forgot your password to request a

More information

Tobby Hagler, Phase2 Technology

Tobby Hagler, Phase2 Technology Tobby Hagler, Phase2 Technology Official DrupalCon London Party Batman Live World Arena Tour Buses leave main entrance Fairfield Halls at 4pm Purpose Reasons for sharding Problems/Examples of a need for

More information

Real-time reporting at 10,000 inserts per second. Wesley Biggs CTO 25 October 2011 Percona Live

Real-time reporting at 10,000 inserts per second. Wesley Biggs CTO 25 October 2011 Percona Live Real-time reporting at 10,000 inserts per second Wesley Biggs CTO 25 October 2011 Percona Live Agenda 1. Who we are, what we do, and (maybe) why we do it 2. Solution architecture and evolution 3. Top 5

More information

Retaining globally distributed high availability Art van Scheppingen Head of Database Engineering

Retaining globally distributed high availability Art van Scheppingen Head of Database Engineering Retaining globally distributed high availability Art van Scheppingen Head of Database Engineering Overview 1. Who is Spil Games? 2. Theory 3. Spil Storage Pla9orm 4. Ques=ons? 2 Who are we? Who is Spil

More information

Growing in web environment at XING

Growing in web environment at XING Growing in web environment at XING Jens Muecke Nuernberg, 06/24/2010 Content 1. Introduction into XING 2. Why does performance matter? 3. Solving growing pains 4. Why Open Source? Jens Muecke, Nuernberg,

More information

Drupal Performance Tuning

Drupal Performance Tuning Drupal Performance Tuning By Jeremy Zerr Website: http://www.jeremyzerr.com @jrzerr http://www.linkedin.com/in/jrzerr Overview Basics of Web App Systems Architecture General Web

More information

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Scalability of web applications. CSCI 470: Web Science Keith Vertanen Scalability of web applications CSCI 470: Web Science Keith Vertanen Scalability questions Overview What's important in order to build scalable web sites? High availability vs. load balancing Approaches

More information

E-commerce is also about

E-commerce is also about Magento server & environment optimization Get very fast page rendering, even under heavy load! E-commerce is also about NBS System 2011, all right reserved Managed Hosting & Security www.nbs-system.com

More information

Scalable Architecture on Amazon AWS Cloud

Scalable Architecture on Amazon AWS Cloud Scalable Architecture on Amazon AWS Cloud Kalpak Shah Founder & CEO, Clogeny Technologies kalpak@clogeny.com 1 * http://www.rightscale.com/products/cloud-computing-uses/scalable-website.php 2 Architect

More information

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview Web and HTTP Protocolo HTTP Web page consists of objects Object can be HTML file, JPEG image, Java applet, audio file, Web page consists of base HTML-file which includes several referenced objects Each

More information

eccharts: Behind the scenes

eccharts: Behind the scenes eccharts: Behind the scenes The Web people at ECMWF ECMWF October 1, 2015 eccharts: What users see (1) 2 eccharts: What users see (2) 3 eccharts: What users do not see

More information

ZingMe Practice For Building Scalable PHP Website. By Chau Nguyen Nhat Thanh ZingMe Technical Manager Web Technical - VNG

ZingMe Practice For Building Scalable PHP Website. By Chau Nguyen Nhat Thanh ZingMe Technical Manager Web Technical - VNG ZingMe Practice For Building Scalable PHP Website By Chau Nguyen Nhat Thanh ZingMe Technical Manager Web Technical - VNG Agenda About ZingMe Scaling PHP application Scalability definition Scaling up vs

More information

Moving Target: How Much Do Mobile Apps Cost? Lee Fischman Galorath Incorporated 26 March 2013

Moving Target: How Much Do Mobile Apps Cost? Lee Fischman Galorath Incorporated 26 March 2013 Moving Target: How Much Do Mobile Apps Cost? Lee Fischman Galorath Incorporated 26 March 2013 2013 Copyright Galorath Incorporated 2 2013 Copyright Galorath Incorporated 3 App development doesn t stop

More information

Database Scalability {Patterns} / Robert Treat

Database Scalability {Patterns} / Robert Treat Database Scalability {Patterns} / Robert Treat robert treat omniti postgres oracle - mysql mssql - sqlite - nosql What are Database Scalability Patterns? Part Design Patterns Part Application Life-Cycle

More information

Cluster Computing. ! Fault tolerance. ! Stateless. ! Throughput. ! Stateful. ! Response time. Architectures. Stateless vs. Stateful.

Cluster Computing. ! Fault tolerance. ! Stateless. ! Throughput. ! Stateful. ! Response time. Architectures. Stateless vs. Stateful. Architectures Cluster Computing Job Parallelism Request Parallelism 2 2010 VMware Inc. All rights reserved Replication Stateless vs. Stateful! Fault tolerance High availability despite failures If one

More information

making drupal run fast

making drupal run fast making drupal run fast 2 Objectives Improve drupal performance Provide Simple tips on Increasing Drupal performance We have some data from load testing a site in these different configs: ++ plain drupal

More information

Redundant Storage Cluster

Redundant Storage Cluster Redundant Storage Cluster For When It's Just Too Big Bob Burgess radian 6 Technologies MySQL User Conference 2009 Scope Fundamentals of MySQL Proxy Fundamentals of LuaSQL Description of the Redundant Storage

More information

white paper imaginea Building Applications for the Cloud Challenges, Experiences and Recommendations

white paper imaginea Building Applications for the Cloud Challenges, Experiences and Recommendations white paper Building Applications for the Cloud Challenges, Experiences and Recommendations Web applications need to be highly reliable. They must scale dynamically, as users and data volumes increase.

More information

HYBRID CLOUD SUPPORT FOR LARGE SCALE ANALYTICS AND WEB PROCESSING. Navraj Chohan, Anand Gupta, Chris Bunch, Kowshik Prakasam, and Chandra Krintz

HYBRID CLOUD SUPPORT FOR LARGE SCALE ANALYTICS AND WEB PROCESSING. Navraj Chohan, Anand Gupta, Chris Bunch, Kowshik Prakasam, and Chandra Krintz HYBRID CLOUD SUPPORT FOR LARGE SCALE ANALYTICS AND WEB PROCESSING Navraj Chohan, Anand Gupta, Chris Bunch, Kowshik Prakasam, and Chandra Krintz Overview Google App Engine (GAE) GAE Analytics Libraries

More information

.NET User Group Bern

.NET User Group Bern .NET User Group Bern Roger Rudin bbv Software Services AG roger.rudin@bbv.ch Agenda What is NoSQL Understanding the Motivation behind NoSQL MongoDB: A Document Oriented Database NoSQL Use Cases What is

More information

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON Eberhard Wolff Architecture and Technology Manager adesso AG, Germany 12.10. Agenda A Few Words About Cloud Java and IaaS PaaS Platform as a Service Google

More information

Overview of Databases On MacOS. Karl Kuehn Automation Engineer RethinkDB

Overview of Databases On MacOS. Karl Kuehn Automation Engineer RethinkDB Overview of Databases On MacOS Karl Kuehn Automation Engineer RethinkDB Session Goals Introduce Database concepts Show example players Not Goals: Cover non-macos systems (Oracle) Teach you SQL Answer what

More information

Performance for Site Builders

Performance for Site Builders Performance for Site Builders Erik Webb Erik Webb @erikwebb Senior Technical Consultant Acquia Acquia Agenda Introduction Evaluating Modules What to Look For Types of Caching Configuring Drupal Performance-related

More information

NoSQL: Going Beyond Structured Data and RDBMS

NoSQL: Going Beyond Structured Data and RDBMS NoSQL: Going Beyond Structured Data and RDBMS Scenario Size of data >> disk or memory space on a single machine Store data across many machines Retrieve data from many machines Machine = Commodity machine

More information

Are You Ready for the Holiday Rush?

Are You Ready for the Holiday Rush? Are You Ready for the Holiday Rush? Five Survival Tips Written by Joseph Palumbo, Cloud Usability Team Leader Are You Ready for the Holiday Rush? Five Survival Tips Cover Table of Contents 1. Vertical

More information

always available Cloud

always available Cloud North Trade Building Noorderlaan 133/8 B-2030 Antwerp T +32 (0) 3 275 01 60 F +32 (0) 3 275 01 69 Kinepolis.com: always available and reachable in the Cloud Since November 2011, the Kinepolis.com infrastructure

More information

BASICS OF SCALING: LOAD BALANCERS

BASICS OF SCALING: LOAD BALANCERS BASICS OF SCALING: LOAD BALANCERS Lately, I ve been doing a lot of work on systems that require a high degree of scalability to handle large traffic spikes. This has led to a lot of questions from friends

More information

Wednesday, October 10, 12. Running a High Performance LAMP stack on a $20 Virtual Server

Wednesday, October 10, 12. Running a High Performance LAMP stack on a $20 Virtual Server Running a High Performance LAMP stack on a $20 Virtual Server Simplified Uptime Started a side-business selling customized hosting to small e-commerce and other web sites Spent a lot of time optimizing

More information

Evolution of Web Application Architecture International PHP Conference. Kore Nordmann / @koredn / <kore@qafoo.com> June 9th, 2015

Evolution of Web Application Architecture International PHP Conference. Kore Nordmann / @koredn / <kore@qafoo.com> June 9th, 2015 Evolution of Web Application Architecture International PHP Conference Kore Nordmann / @koredn / June 9th, 2015 Evolution Problem Too many visitors Evolution Evolution Lessons Learned:

More information

This document will list the ManageEngine Applications Manager best practices

This document will list the ManageEngine Applications Manager best practices This document will list the ManageEngine Applications Manager best practices 1. Hardware and Software requirements 2. Configuring Applications Manager 3. Securing Applications Manager 4. Fault Management

More information

Scalable Web Application

Scalable Web Application Scalable Web Applications Reference Architectures and Best Practices Brian Adler, PS Architect 1 Scalable Web Application 2 1 Scalable Web Application What? An application built on an architecture that

More information

STREAMEZZO RICH MEDIA SERVER

STREAMEZZO RICH MEDIA SERVER STREAMEZZO RICH MEDIA SERVER Clustering This document is the property of Streamezzo. It cannot be distributed without the authorization of Streamezzo. Table of contents 1. INTRODUCTION... 3 1.1 Rich Media

More information

WebLogic Server Admin

WebLogic Server Admin Course Duration: 1 Month Working days excluding weekends Overview of Architectures Installation and Configuration Creation and working using Domain Weblogic Server Directory Structure Managing and Monitoring

More information

bla bla OPEN-XCHANGE Open-Xchange Hardware Needs

bla bla OPEN-XCHANGE Open-Xchange Hardware Needs bla bla OPEN-XCHANGE Open-Xchange Hardware Needs OPEN-XCHANGE: Open-Xchange Hardware Needs Publication date Wednesday, 8 January version. . Hardware Needs with Open-Xchange.. Overview The purpose of this

More information

MongoDB in the NoSQL and SQL world. Horst Rechner horst.rechner@fokus.fraunhofer.de Berlin, 2012-05-15

MongoDB in the NoSQL and SQL world. Horst Rechner horst.rechner@fokus.fraunhofer.de Berlin, 2012-05-15 MongoDB in the NoSQL and SQL world. Horst Rechner horst.rechner@fokus.fraunhofer.de Berlin, 2012-05-15 1 MongoDB in the NoSQL and SQL world. NoSQL What? Why? - How? Say goodbye to ACID, hello BASE You

More information

SCALABILITY. Hodicska Gergely. email: felho@ustream.tv twitter: @felhobacsi. Web Engineering Manager as Ustream. May 7, 2012

SCALABILITY. Hodicska Gergely. email: felho@ustream.tv twitter: @felhobacsi. Web Engineering Manager as Ustream. May 7, 2012 SCALABILITY Hodicska Gergely Web Engineering Manager as Ustream email: felho@ustream.tv twitter: @felhobacsi SCALABILITY BME 1 DEFINING SCALABILITY It is not: Performance Easier to scale HA It is the ability

More information

Introduction to Hadoop. New York Oracle User Group Vikas Sawhney

Introduction to Hadoop. New York Oracle User Group Vikas Sawhney Introduction to Hadoop New York Oracle User Group Vikas Sawhney GENERAL AGENDA Driving Factors behind BIG-DATA NOSQL Database 2014 Database Landscape Hadoop Architecture Map/Reduce Hadoop Eco-system Hadoop

More information

CSCI-UA:0060-02. Database Design & Web Implementation. Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com

CSCI-UA:0060-02. Database Design & Web Implementation. Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com CSCI-UA:0060-02 Database Design & Web Implementation Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com Lecture #27: DB Administration and Modern Architecture:The last real lecture. Database

More information

Drupal Performance Tips and Tricks. Khalid Baheyeldin. http://2bits.com Drupal Camp Toronto 2014

Drupal Performance Tips and Tricks. Khalid Baheyeldin. http://2bits.com Drupal Camp Toronto 2014 Drupal Performance Tips and Tricks Khalid Baheyeldin http://2bits.com Drupal Camp Toronto 2014 About Khalid 29 years in software development and software consulting First computer: Sinclair ZX Spectrum

More information

MySQL és Hadoop mint Big Data platform (SQL + NoSQL = MySQL Cluster?!)

MySQL és Hadoop mint Big Data platform (SQL + NoSQL = MySQL Cluster?!) MySQL és Hadoop mint Big Data platform (SQL + NoSQL = MySQL Cluster?!) Erdélyi Ernő, Component Soft Kft. erno@component.hu www.component.hu 2013 (c) Component Soft Ltd Leading Hadoop Vendor Copyright 2013,

More information

Techniques for Scaling Components of Web Application

Techniques for Scaling Components of Web Application , March 12-14, 2014, Hong Kong Techniques for Scaling Components of Web Application Ademola Adenubi, Olanrewaju Lewis, Bolanle Abimbola Abstract Every organisation is exploring the enormous benefits of

More information

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS This article looks into the benefits of using the Platform as a Service paradigm to develop applications on the cloud. It also compares a few top PaaS providers

More information

Comparing SQL and NOSQL databases

Comparing SQL and NOSQL databases COSC 6397 Big Data Analytics Data Formats (II) HBase Edgar Gabriel Spring 2015 Comparing SQL and NOSQL databases Types Development History Data Storage Model SQL One type (SQL database) with minor variations

More information

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1 UQC103S1 UFCE47-20-1 Systems Development uqc103s/ufce47-20-1 PHP-mySQL 1 Who? Email: uqc103s1@uwe.ac.uk Web Site www.cems.uwe.ac.uk/~jedawson www.cems.uwe.ac.uk/~jtwebb/uqc103s1/ uqc103s/ufce47-20-1 PHP-mySQL

More information

Big Data with Component Based Software

Big Data with Component Based Software Big Data with Component Based Software Who am I Erik who? Erik Forsberg Linköping University, 1998-2003. Computer Science programme + lot's of time at Lysator ACS At Opera Software

More information

Server Architecture for High- Performance Drupal

Server Architecture for High- Performance Drupal Server Architecture for High- Performance Drupal Robert Ristroph rgristroph@gmail.com @robgr http://www.drupalcampphoenix.com /high-performance-serverarchitecture Outline What is performance? Scaling?

More information

Tushar Joshi Turtle Networks Ltd

Tushar Joshi Turtle Networks Ltd MySQL Database for High Availability Web Applications Tushar Joshi Turtle Networks Ltd www.turtle.net Overview What is High Availability? Web/Network Architecture Applications MySQL Replication MySQL Clustering

More information

NoSQL replacement for SQLite (for Beatstream) Antti-Jussi Kovalainen Seminar OHJ-1860: NoSQL databases

NoSQL replacement for SQLite (for Beatstream) Antti-Jussi Kovalainen Seminar OHJ-1860: NoSQL databases NoSQL replacement for SQLite (for Beatstream) Antti-Jussi Kovalainen Seminar OHJ-1860: NoSQL databases Background Inspiration: postgresapp.com demo.beatstream.fi (modern desktop browsers without

More information

PaaS - Platform as a Service Google App Engine

PaaS - Platform as a Service Google App Engine PaaS - Platform as a Service Google App Engine Pelle Jakovits 14 April, 2015, Tartu Outline Introduction to PaaS Google Cloud Google AppEngine DEMO - Creating applications Available Google Services Costs

More information

Practical Cassandra. Vitalii Tymchyshyn tivv00@gmail.com @tivv00

Practical Cassandra. Vitalii Tymchyshyn tivv00@gmail.com @tivv00 Practical Cassandra NoSQL key-value vs RDBMS why and when Cassandra architecture Cassandra data model Life without joins or HDD space is cheap today Hardware requirements & deployment hints Vitalii Tymchyshyn

More information

Building Scalable e-commerce System

Building Scalable e-commerce System www.hcltech.com Building Scalable e-commerce System E-Commerce & Omni- Channel AuthOr: Sandeep has more than 17 years experience and has been working with HCL Technologies for more than 7 years. He has

More information

Enterprise Edition Scalability. ecommerce Framework Built to Scale Reading Time: 10 minutes

Enterprise Edition Scalability. ecommerce Framework Built to Scale Reading Time: 10 minutes Enterprise Edition Scalability ecommerce Framework Built to Scale Reading Time: 10 minutes Broadleaf Commerce Scalability About the Broadleaf Commerce Framework Test Methodology Test Results Test 1: High

More information

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam sastry.vedantam@oracle.com Agenda The rise of Big Data & Hadoop MySQL in the Big Data Lifecycle MySQL Solutions for Big Data Q&A

More information

The NoSQL Ecosystem, Relaxed Consistency, and Snoop Dogg. Adam Marcus MIT CSAIL marcua@csail.mit.edu / @marcua

The NoSQL Ecosystem, Relaxed Consistency, and Snoop Dogg. Adam Marcus MIT CSAIL marcua@csail.mit.edu / @marcua The NoSQL Ecosystem, Relaxed Consistency, and Snoop Dogg Adam Marcus MIT CSAIL marcua@csail.mit.edu / @marcua About Me Social Computing + Database Systems Easily Distracted: Wrote The NoSQL Ecosystem in

More information

Benchmarking and Analysis of NoSQL Technologies

Benchmarking and Analysis of NoSQL Technologies Benchmarking and Analysis of NoSQL Technologies Suman Kashyap 1, Shruti Zamwar 2, Tanvi Bhavsar 3, Snigdha Singh 4 1,2,3,4 Cummins College of Engineering for Women, Karvenagar, Pune 411052 Abstract The

More information

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY RED HAT S BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY TECHNOLOGY BRIEF INTRODUCTION BENEFITS Choose the right runtimes for your project with access to the latest stable versions. Preserve application

More information

WEBLOGIC ADMINISTRATION

WEBLOGIC ADMINISTRATION WEBLOGIC ADMINISTRATION Session 1: Introduction Oracle Weblogic Server Components Java SDK and Java Enterprise Edition Application Servers & Web Servers Documentation Session 2: Installation System Configuration

More information

Reference Model for Cloud Applications CONSIDERATIONS FOR SW VENDORS BUILDING A SAAS SOLUTION

Reference Model for Cloud Applications CONSIDERATIONS FOR SW VENDORS BUILDING A SAAS SOLUTION October 2013 Daitan White Paper Reference Model for Cloud Applications CONSIDERATIONS FOR SW VENDORS BUILDING A SAAS SOLUTION Highly Reliable Software Development Services http://www.daitangroup.com Cloud

More information

Serving 4 million page requests an hour with Magento Enterprise

Serving 4 million page requests an hour with Magento Enterprise 1 Serving 4 million page requests an hour with Magento Enterprise Introduction In order to better understand Magento Enterprise s capacity to serve the needs of some of our larger clients, Session Digital

More information

Drupal in the Cloud. by Azhan Founder/Director S & A Solutions

Drupal in the Cloud. by Azhan Founder/Director S & A Solutions by Azhan Founder/Director S & A Solutions > Drupal and S & A Solutions S & A Solutions who? doing it with Drupal since 2007 Over 70 projects in 5 years More than 20 clients 99% Drupal projects We love

More information

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015 CS 188/219 Scalable Internet Services Andrew Mutz October 8, 2015 For Today About PTEs Empty spots were given out If more spots open up, I will issue more PTEs You must have a group by today. More detail

More information

Use Your MySQL Knowledge to Become an Instant Cassandra Guru

Use Your MySQL Knowledge to Become an Instant Cassandra Guru Use Your MySQL Knowledge to Become an Instant Cassandra Guru Percona Live Santa Clara 2014 Robert Hodges CEO Continuent Tim Callaghan VP/Engineering Tokutek Who are we? Robert Hodges CEO at Continuent

More information

Ensuring scalability and performance with Drupal as your audience grows

Ensuring scalability and performance with Drupal as your audience grows Drupal performance and scalability Ensuring scalability and performance with Drupal as your audience grows Presented by Jon Anthony Bounty.com Northern and Shell (OK! Magazine etc) Drupal.org/project/

More information

Database Scalability and Oracle 12c

Database Scalability and Oracle 12c Database Scalability and Oracle 12c Marcelle Kratochvil CTO Piction ACE Director All Data/Any Data marcelle@piction.com Warning I will be covering topics and saying things that will cause a rethink in

More information

Cloud Scale Distributed Data Storage. Jürmo Mehine

Cloud Scale Distributed Data Storage. Jürmo Mehine Cloud Scale Distributed Data Storage Jürmo Mehine 2014 Outline Background Relational model Database scaling Keys, values and aggregates The NoSQL landscape Non-relational data models Key-value Document-oriented

More information

MAGENTO HOSTING Progressive Server Performance Improvements

MAGENTO HOSTING Progressive Server Performance Improvements MAGENTO HOSTING Progressive Server Performance Improvements Simple Helix, LLC 4092 Memorial Parkway Ste 202 Huntsville, AL 35802 sales@simplehelix.com 1.866.963.0424 www.simplehelix.com 2 Table of Contents

More information

How To Scale Out Of A Nosql Database

How To Scale Out Of A Nosql Database Firebird meets NoSQL (Apache HBase) Case Study Firebird Conference 2011 Luxembourg 25.11.2011 26.11.2011 Thomas Steinmaurer DI +43 7236 3343 896 thomas.steinmaurer@scch.at www.scch.at Michael Zwick DI

More information

Cloud Based Application Architectures using Smart Computing

Cloud Based Application Architectures using Smart Computing Cloud Based Application Architectures using Smart Computing How to Use this Guide Joyent Smart Technology represents a sophisticated evolution in cloud computing infrastructure. Most cloud computing products

More information

Load-Balancing Introduction (with examples...)

Load-Balancing Introduction (with examples...) Load-Balancing Introduction (with examples...) For AFNOG 2015 By Frank Kuse (Rework of slides from Joel Jaeggli and Laban Mwangi) 1 Load-Balancing Introduction (with examples...) For AFNOG 2015 By Frank

More information

A 100k Users.. Now What?

A 100k Users.. Now What? A 100k Users.. Now What? SEATTLE PORTLAND AUSTIN BALTIMORE ORLANDO D. Keith Casey Jr Chief Stuff Breaker/Blue Parabola Overview Basic triage and debugging Stack-wide Performance Tips PHP Web Server MySQL

More information

Integrating Big Data into the Computing Curricula

Integrating Big Data into the Computing Curricula Integrating Big Data into the Computing Curricula Yasin Silva, Suzanne Dietrich, Jason Reed, Lisa Tsosie Arizona State University http://www.public.asu.edu/~ynsilva/ibigdata/ 1 Overview Motivation Big

More information

Building Your First MongoDB Application

Building Your First MongoDB Application Building Your First MongoDB Application Ross Lawley Python Engineer @ 10gen Web developer since 1999 Passionate about open source Agile methodology email: ross@10gen.com twitter: RossC0 Today's Talk Quick

More information

Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu Lecture 4 Introduction to Hadoop & GAE Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu Outline Introduction to Hadoop The Hadoop ecosystem Related projects

More information

Designing, Scoping, and Configuring Scalable Drupal Infrastructure. Presented 2009-05-30 by David Strauss

Designing, Scoping, and Configuring Scalable Drupal Infrastructure. Presented 2009-05-30 by David Strauss Designing, Scoping, and Configuring Scalable Drupal Infrastructure Presented 2009-05-30 by David Strauss Understanding Load Distribution Predicting peak traffic Traffic over the day can be highly irregular.

More information

Nagios and Cloud Computing

Nagios and Cloud Computing Nagios and Cloud Computing Presentation by William Leibzon (william@leibzon.org) Nagios Thanks for being here! Open Source System Management Conference May 10, 2012 Bolzano, Italy Cloud Computing What

More information

Stackato PaaS Architecture: How it works and why.

Stackato PaaS Architecture: How it works and why. Stackato PaaS Architecture: How it works and why. White Paper Published in 2012 Stackato PaaS Architecture: How it works and why. Stackato is software for creating a private Platform-as-a-Service (PaaS).

More information

THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY

THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY As the constantly growing demands of businesses and organizations operating in a global economy cause an increased

More information

Lecture 6 Cloud Application Development, using Google App Engine as an example

Lecture 6 Cloud Application Development, using Google App Engine as an example Lecture 6 Cloud Application Development, using Google App Engine as an example 922EU3870 Cloud Computing and Mobile Platforms, Autumn 2009 (2009/10/19) http://code.google.com/appengine/ Ping Yeh ( 葉 平

More information

Open Source for Cloud Infrastructure

Open Source for Cloud Infrastructure Open Source for Cloud Infrastructure June 29, 2012 Jackson He General Manager, Intel APAC R&D Ltd. Cloud is Here and Expanding More users, more devices, more data & traffic, expanding usages >3B 15B Connected

More information

Scaling Progress OpenEdge Appservers. Syed Irfan Pasha Principal QA Engineer Progress Software

Scaling Progress OpenEdge Appservers. Syed Irfan Pasha Principal QA Engineer Progress Software Scaling Progress OpenEdge Appservers Syed Irfan Pasha Principal QA Engineer Progress Software Michael Jackson Dies and Twitter Fries Twitter s Fail Whale 3 Twitter s Scalability Problem Takeaways from

More information

Benchmarking Couchbase Server for Interactive Applications. By Alexey Diomin and Kirill Grigorchuk

Benchmarking Couchbase Server for Interactive Applications. By Alexey Diomin and Kirill Grigorchuk Benchmarking Couchbase Server for Interactive Applications By Alexey Diomin and Kirill Grigorchuk Contents 1. Introduction... 3 2. A brief overview of Cassandra, MongoDB, and Couchbase... 3 3. Key criteria

More information

Monitoring and Alerting

Monitoring and Alerting Monitoring and Alerting All the things I've tried that didn't work, plus a few others. By Aaron S. Joyner Senior System Administrator Google, Inc. Blackbox vs Whitebox Blackbox: Requires no participation

More information

BeBanjo Infrastructure and Security Overview

BeBanjo Infrastructure and Security Overview BeBanjo Infrastructure and Security Overview Can you trust Software-as-a-Service (SaaS) to run your business? Is your data safe in the cloud? At BeBanjo, we firmly believe that SaaS delivers great benefits

More information

Click to edit Master title style. Click to edit Master text styles. Hedley Aylott. CEO Summit www.magento.com

Click to edit Master title style. Click to edit Master text styles. Hedley Aylott. CEO Summit www.magento.com Click to edit Master title style Click to edit Master text styles Hedley Aylott CEO Summit www.magento.com Click to edit Master title style Click to edit Master text styles Slow sales? Serves you right!

More information

Social Networks and the Richness of Data

Social Networks and the Richness of Data Social Networks and the Richness of Data Getting distributed Webservices Done with NoSQL Fabrizio Schmidt, Lars George VZnet Netzwerke Ltd. Content Unique Challenges System Evolution Architecture Activity

More information

wow CPSC350 relational schemas table normalization practical use of relational algebraic operators tuple relational calculus and their expression in a declarative query language relational schemas CPSC350

More information

Performance. CSC309 TA: Sukwon Oh

Performance. CSC309 TA: Sukwon Oh Performance CSC309 TA: Sukwon Oh Outline 1. Load Testing 2. Frontend Tips 3. Server-side Tips Load Testing Load testing is the process of putting demand on a system or device and measuring its response.

More information

Search Big Data with MySQL and Sphinx. Mindaugas Žukas www.ivinco.com

Search Big Data with MySQL and Sphinx. Mindaugas Žukas www.ivinco.com Search Big Data with MySQL and Sphinx Mindaugas Žukas www.ivinco.com Agenda Big Data Architecture Factors and Technologies MySQL and Big Data Sphinx Search Server overview Case study: building a Big Data

More information

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2 DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing Slide 1 Slide 3 A style of computing in which dynamically scalable and often virtualized resources are provided as a service over the Internet.

More information

Big Data Analytics - Accelerated. stream-horizon.com

Big Data Analytics - Accelerated. stream-horizon.com Big Data Analytics - Accelerated stream-horizon.com Legacy ETL platforms & conventional Data Integration approach Unable to meet latency & data throughput demands of Big Data integration challenges Based

More information

CONTENT of this CHAPTER

CONTENT of this CHAPTER CONTENT of this CHAPTER v DNS v HTTP and WWW v EMAIL v SNMP 3.2.1 WWW and HTTP: Basic Concepts With a browser you can request for remote resource (e.g. an HTML file) Web server replies to queries (e.g.

More information

How To Use Big Data For Telco (For A Telco)

How To Use Big Data For Telco (For A Telco) ON-LINE VIDEO ANALYTICS EMBRACING BIG DATA David Vanderfeesten, Bell Labs Belgium ANNO 2012 YOUR DATA IS MONEY BIG MONEY! Your click stream, your activity stream, your electricity consumption, your call

More information