Drupal Memcached Nginx

Size: px
Start display at page:

Download "Drupal Memcached Nginx"

Transcription

1 Drupal Memcached Nginx

2 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do)

3 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do)

4 Technology overview Nginx PHP-FPM Memcached Xhprof Scrapy Siege

5 Nginx 1000 concurrent connection == normal Serves as a connection 'router' Advanced configuration (variables, control structures,...) Extend with modules

6 PHP-FPM FastCGI Process Manager for PHP Werkt adhv configuratie 'pool' Elk item heeft eigen configuratie Unix socket of TCP poort per entry in pool Chroot

7 Memcached Key value store Distributed Key max. 255 chars

8 XHProf Profiler Time spend in each function (inclusive/exclusive wall time) Drill down in functions to pinpoint problems

9 Scrapy Webscraper (Spider) Sites indexeren Spamlijsten aanleggen Xpath

10 Siege Advanced 'Apache Benchmark' Crawl list of URL's Output: URL Responscode Time siege -c 100 -t 5m -b -i -f url-list.txt

11 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do)

12 Drupal optimization Optimize application Reduce server load Tune your stack

13 Drupal optimization Optimize application Reduce server load Tune your stack

14 Optimize application (1) First Turn pagecaching OFF Turn poormanscron OFF (bad UX) Turn on slow query log (Devel) while developing

15 Optimize application (2) Crawl site with Speedy Visit all URL's once with Siege Pipe output to file convert to CSV Response code 404's? Internal broken links 302? Extra hit on server! 500? Upstream server is down Tip: tail -f on errorlogs

16 Optimize application (3) Analyze slow pages XHProf Add caching where applicable (Block, Entity, Views, Webservice calls, ) Turn on php-fpm slowlog on test/production

17 Drupal optimization Optimize application Reduce server load Tune your stack

18 Reduce server load Minify Js Aggregate JS & CSS Turn ON pagecaching Correct cache headers CSS Sprites, use repeat-x/y (reduce size) Consider using CDN (CloudFront 0.12$/Gb)

19 Drupal optimization Optimize application Reduce server load Tune your stack

20 Tune your stack - Memcached Download & compile Memcached (daemon) Configure, make, make install Start: :~# memcached -u www-data -s /var/run/memcached.sock Use Unix socket if possible (local)

21 Tune your stack Memcached (2) Install php bindings Apt-get install php5-memcached Enable in php.ini Alter settings.php $conf['cache_backends'][] = './sites/all/modules/contrib/memcache/memcache.inc'; $conf['cache_default_class'] = 'MemCacheDrupal'; $conf['memcache_servers'] = array( ); 'unix:///var/run/memcached.sock' => 'default',

22 Tune your stack Nginx Compile from source! Check out perusio's excellent scripts Fetch required modules Create a compile script Create vhosts upstream phpcgi { server unix:/var/run/php-fpm.sock; }

23 Tune your stack PHP-FPM :~# apt-get install php5-fpm Create entry in /etc/php5/fpm/pool.d listen = /var/run/php-fpm.sock slowlog = log/$pool.log.slow request_slowlog_timeout = 4s /etc/init.d/php5-fpm start

24 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do)

25 Future Access memcached from nginx Write new memcached module (hack looks promising) Use ngx_http_enhanced_memcached_module (support headers, key hashing) Soft expiration? server-side locking (stampede protection)? Server side includes Puppet

26

27 Drupal Memcached Nginx 1

28 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do) 2

29 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do) 3

30 Technology overview Nginx PHP-FPM Memcached Xhprof Scrapy Siege 4

31 Nginx 1000 concurrent connection == normal Serves as a connection 'router' Advanced configuration (variables, control structures,...) Extend with modules 5

32 PHP-FPM FastCGI Process Manager for PHP Werkt adhv configuratie 'pool' Elk item heeft eigen configuratie Unix socket of TCP poort per entry in pool Chroot 6

33 Memcached Key value store Distributed Key max. 255 chars 7 Socket forwarden naar poort: sudo socat -v UNIX-CONNECT:/tmp/memcache TCP- LISTEN:6666,reuseaddr

34 XHProf Profiler Time spend in each function (inclusive/exclusive wall time) Drill down in functions to pinpoint problems 8 Install and usage:

35 Scrapy Webscraper (Spider) Sites indexeren Spamlijsten aanleggen Xpath 9 Spider.py: from scrapy.selector import HtmlXPathSelector from scrapy.spider import BaseSpider from scrapy.http import Request DOMAIN = 'localhost' URL = ' % DOMAIN class MySpider(BaseSpider): name = DOMAIN allowed_domains = [DOMAIN] start_urls = [ URL ] def parse(self, response): hxs = HtmlXPathSelector(response) for url in hxs.select('//a/@href').extract(): if not url.startswith(' url= URL + url print url yield Request(url, callback=self.parse) scrapy runspider spider.py > urls.out

36 Siege Advanced 'Apache Benchmark' Crawl list of URL's Output: URL Responscode Time siege -c 100 -t 5m -b -i -f url-list.txt 10 Siege -c 100 -t 5m -b -i -f url-lijst.txt c => Concurrent users t => Tijd (5 minuten) B => Geen delay tussen requests i => Internet random select uit lijst f => File met URL's

37 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do) 11

38 Drupal optimization Optimize application Reduce server load Tune your stack 12

39 Drupal optimization Optimize application Reduce server load Tune your stack 13

40 Optimize application (1) First Turn pagecaching OFF Turn poormanscron OFF (bad UX) Turn on slow query log (Devel) while developing 14

41 Optimize application (2) Crawl site with Speedy Visit all URL's once with Siege Pipe output to file convert to CSV Response code 404's? Internal broken links 302? Extra hit on server! 500? Upstream server is down Tip: tail -f on errorlogs 15

42 Optimize application (3) Analyze slow pages XHProf Add caching where applicable (Block, Entity, Views, Webservice calls, ) Turn on php-fpm slowlog on test/production 16

43 Drupal optimization Optimize application Reduce server load Tune your stack 17

44 Reduce server load Minify Js Aggregate JS & CSS Turn ON pagecaching Correct cache headers CSS Sprites, use repeat-x/y (reduce size) Consider using CDN (CloudFront 0.12$/Gb) 18

45 Drupal optimization Optimize application Reduce server load Tune your stack 19

46 Tune your stack - Memcached Download & compile Memcached (daemon) Configure, make, make install Start: :~# memcached -u www-data -s /var/run/memcached.sock Use Unix socket if possible (local) 20 -Create socket first: sudo touch /var/run/memcached.pid -Settings

47 Tune your stack Memcached (2) Install php bindings Apt-get install php5-memcached Enable in php.ini Alter settings.php $conf['cache_backends'][] = './sites/all/modules/contrib/memcache/memcache.inc'; $conf['cache_default_class'] = 'MemCacheDrupal'; $conf['memcache_servers'] = array( ); 'unix:///var/run/memcached.sock' => 'default', 21

48 Tune your stack Nginx Compile from source! Check out perusio's excellent scripts Fetch required modules Create a compile script Create vhosts upstream phpcgi { server unix:/var/run/php-fpm.sock; } 22 Perusio's Nginx-Drupal scripts: My build script: cd./nginx /configure \ --prefix=/opt/nginx \ --add-module=../ngx_devel_kit \ --add-module=../set-misc-nginx-module \ --add-module=../nginx-upload-progress-module \ --add-module=../nginx-upstream-fair \ --add-module=../ngx_http_enhanced_memcached_module \ --with-http_realip_module \ --with-http_ssl_module \ --with-file-aio \ --with-http_flv_module \ --with-http_mp4_module \ make make install cd /opt/nginx/conf/ rm./* -R cp /opt/nginx-sources/conf/*./ -R

49 Tune your stack PHP-FPM :~# apt-get install php5-fpm Create entry in /etc/php5/fpm/pool.d listen = /var/run/php-fpm.sock slowlog = log/$pool.log.slow request_slowlog_timeout = 4s /etc/init.d/php5-fpm start 23

50 Drupal, Memcached &Nginx Technology overview Drupal optimization Future (To Do) 24

51 Future Access memcached from nginx Write new memcached module (hack looks promising) Use ngx_http_enhanced_memcached_module (support headers, key hashing) Soft expiration? server-side locking (stampede protection)? Server side includes Puppet 25

52 26

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

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013 The importance of Drupal Cache Luis F. Ribeiro Ci&T Inc. 2013 Introduction Caio Ciao Luppi Software Architect at Ci&T Inc. More than 4 years of experience with Drupal Development Experience with Application

More information

OVERVIEW... 2. Methodology... 2. Objectives... 2. Terminology... 2. Recommended Test Protocol... 3 CLOUD SERVICES VS. DEDICATED HOSTING...

OVERVIEW... 2. Methodology... 2. Objectives... 2. Terminology... 2. Recommended Test Protocol... 3 CLOUD SERVICES VS. DEDICATED HOSTING... TABLE OF CONTENTS OVERVIEW... 2 Methodology... 2 Objectives... 2 Terminology... 2 Recommended Test Protocol... 3 CLOUD SERVICES VS. DEDICATED HOSTING... 4 SYSTEM RESOURCE MONITORING... 4 MAGENTO CONFIGURATION

More information

How To Use Ngnix (Php) With A Php-Fpm (Php-Fmm) On A Web Server (Php5) On Your Web Browser) On An Ubuntu Web Server On A Raspberry Web 2.5 (Net

How To Use Ngnix (Php) With A Php-Fpm (Php-Fmm) On A Web Server (Php5) On Your Web Browser) On An Ubuntu Web Server On A Raspberry Web 2.5 (Net Powering Magento with Ngnix and PHP-FPM Written by: Yuri Golovko Alexey Samorukov Table of Contents INTRODUCTION WHY YOU SHOULD CONSIDER NGNIX NGNIX AND STATIC CONTENT HOW TO USE NGNIX NGNIX SYSTEM REQUIREMENTS

More information

Accelerating Wordpress for Pagerank and Profit

Accelerating Wordpress for Pagerank and Profit Slide No. 1 Accelerating Wordpress for Pagerank and Profit Practical tips and tricks to increase the speed of your site, improve conversions and climb the search rankings By: Allan Jude November 2011 Vice

More information

(An) Optimal Drupal 7 Module Configuration for Site Performance JOE PRICE

(An) Optimal Drupal 7 Module Configuration for Site Performance JOE PRICE (An) Optimal Drupal 7 Module Configuration for Site Performance JOE PRICE Intro I m a performance junkie. My top three non-drupal performance tools are Apache Bench, Google PageSpeed Insights, and NewRelic.

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

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

Simple Tips to Improve Drupal Performance: No Coding Required. By Erik Webb, Senior Technical Consultant, Acquia

Simple Tips to Improve Drupal Performance: No Coding Required. By Erik Webb, Senior Technical Consultant, Acquia Simple Tips to Improve Drupal Performance: No Coding Required By Erik Webb, Senior Technical Consultant, Acquia Table of Contents Introduction................................................ 3 Types of

More information

PHP web serving study Performance report

PHP web serving study Performance report PHP web serving study Performance report by Stefan "SaltwaterC" Rusu Date: May - June 2010 Contact: http://saltwaterc.net/contact or admin [at] saltwaterc [dot] net Hardware Configurations Web Server:

More information

Running Nginx as Reverse Proxy server

Running Nginx as Reverse Proxy server Running Nginx as Reverse Proxy server October 30 2011 This is a tutorial on running Nginx as a reverse proxy server. It covers all basics of using Nginx as a reverse proxy server. By Ayodhyanath Guru www.jafaloo.com

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

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

Installing an open source version of MateCat

Installing an open source version of MateCat Installing an open source version of MateCat This guide is meant for users who want to install and administer the open source version on their own machines. Overview 1 Hardware requirements 2 Getting started

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

5 Mistakes to Avoid on Your Drupal Website

5 Mistakes to Avoid on Your Drupal Website 5 Mistakes to Avoid on Your Drupal Website Table of Contents Introduction.... 3 Architecture: Content.... 4 Architecture: Display... 5 Architecture: Site or Functionality.... 6 Security.... 8 Performance...

More information

Nginx 1 Web Server Implementation

Nginx 1 Web Server Implementation Nginx 1 Web Server Implementation Cookbook Over 100 recipes to master using the Nginx HTTP server and reverse proxy Dipankar Sarkar [ 11 open so " *' '" i I community experience d PUBLISHING community

More information

AUDIT REPORT EXAMPLE

AUDIT REPORT EXAMPLE AUDIT REPORT EXAMPLE Severity levels: low, average, high, critical Difficulty levels: low, average, high I. General information and server configuration Problem: Too many HTTP requests. Found (on homepage):

More information

Taking Drupal development to the Cloud. Karel Bemelmans

Taking Drupal development to the Cloud. Karel Bemelmans Taking Drupal development to the Cloud Karel Bemelmans About me Working with Internet based services since 1996 Working with Drupal since 2011 Currently the devops guy @ Nascom Case Study: Nascom Genk,

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

Magento & Zend Benchmarks Version 1.2, 1.3 (with & without Flat Catalogs)

Magento & Zend Benchmarks Version 1.2, 1.3 (with & without Flat Catalogs) Magento & Zend Benchmarks Version 1.2, 1.3 (with & without Flat Catalogs) 1. Foreword Magento is a PHP/Zend application which intensively uses the CPU. Since version 1.1.6, each new version includes some

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

Who s me? Zequi Vázquez DevOps & Backend PhD student Hacking & Security Rock n Roll (electric guitarist) Videogames Books

Who s me? Zequi Vázquez DevOps & Backend PhD student Hacking & Security Rock n Roll (electric guitarist) Videogames Books Who s me? Zequi Vázquez DevOps & Backend PhD student Hacking & Security Rock n Roll (electric guitarist) Videogames Books 1 Introduction 2 The Project 3 Problems and Solutions 4 Demo 5 Conclusions 1 Introduction

More information

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

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

Using Redis as a Cache Backend in Magento

Using Redis as a Cache Backend in Magento Using Redis as a Cache Backend in Magento Written by: Alexey Samorukov Aleksandr Lozhechnik Kirill Morozov Table of Contents PROBLEMS WITH THE TWOLEVELS CACHE BACKEND CONFIRMING THE ISSUE SOLVING THE ISSUE

More information

Web Load Stress Testing

Web Load Stress Testing Web Load Stress Testing Overview A Web load stress test is a diagnostic tool that helps predict how a website will respond to various traffic levels. This test can answer critical questions such as: How

More information

SharePoint 2010 Performance and Capacity Planning Best Practices

SharePoint 2010 Performance and Capacity Planning Best Practices Information Technology Solutions SharePoint 2010 Performance and Capacity Planning Best Practices Eric Shupps SharePoint Server MVP About Information Me Technology Solutions SharePoint Server MVP President,

More information

Front-End Performance Testing and Optimization

Front-End Performance Testing and Optimization Front-End Performance Testing and Optimization Abstract Today, web user turnaround starts from more than 3 seconds of response time. This demands performance optimization on all application levels. Client

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

4x High Performance for Drupal. Presented by Fabian Franz. Step by Step

4x High Performance for Drupal. Presented by Fabian Franz. Step by Step 4x High Performance for Drupal Presented by Fabian Franz Step by Step Your BOSS is calling! It happens to the best of us Especially during DrupalCon or during elections. The site goes down, the site is

More information

Stress Testing for Performance Tuning. Stress Testing for Performance Tuning

Stress Testing for Performance Tuning. Stress Testing for Performance Tuning Stress Testing for Performance Tuning Stress Testing for Performance Tuning A t l o g y s T e c h n i c a l C o n s u l t i n g, R - 8, N e h r u P l a c e, N e w D e l h i Page 1 This Guide is a Sys Admin

More information

IERG 4080 Building Scalable Internet-based Services

IERG 4080 Building Scalable Internet-based Services Department of Information Engineering, CUHK Term 1, 2015/16 IERG 4080 Building Scalable Internet-based Services Lecture 4 Load Balancing Lecturer: Albert C. M. Au Yeung 30 th September, 2015 Web Server

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

Configuring Nex-Gen Web Load Balancer

Configuring Nex-Gen Web Load Balancer Configuring Nex-Gen Web Load Balancer Table of Contents Load Balancing Scenarios & Concepts Creating Load Balancer Node using Administration Service Creating Load Balancer Node using NodeCreator Connecting

More information

Instalar debian 6 atualizado. Executar a sequencia abaixo

Instalar debian 6 atualizado. Executar a sequencia abaixo Instalar debian 6 atualizado. Executar a sequencia abaixo echo deb http://packages.dotdeb.org stable all >> /etc/apt/sources.list echo deb-src http://packages.dotdeb.org stable all >> /etc/apt/sources.list

More information

Installation, Configuration, and Usage

Installation, Configuration, and Usage Installation, Configuration, and Usage Copyright Free Lunch Labs www.freelunchlabs.com Installation BEFORE INSTALLING THIS EXTENSION CREATE OF BACKUP OF YOUR MAGENTO INSTALLATION AND ALL ASSOCISTED FILES

More information

Embedded Based Web Server for CMS and Automation System

Embedded Based Web Server for CMS and Automation System Embedded Based Web Server for CMS and Automation System ISSN: 2278 909X All Rights Reserved 2014 IJARECE 1073 ABSTRACT This research deals with designing a Embedded Based Web Server for CMS and Automation

More information

Build it with Drupal 8

Build it with Drupal 8 Build it with Drupal 8 Comprehensive guide for building common websites in Drupal 8. No programming knowledge required! Antonio Torres This book is for sale at http://leanpub.com/drupal-8-book This version

More information

Installing Drupal on Your Local Computer

Installing Drupal on Your Local Computer Installing Drupal on Your Local Computer This tutorial will help you install Drupal on your own home computer and allow you to test and experiment building a Web site using this open source software. This

More information

Acquia Introduction December 9th, 2009

Acquia Introduction December 9th, 2009 Acquia Introduction December 9 th, 2009 Agenda 1. Content Management 2. Web Application Framework 3. Architecture principles 1. Modular 2. Event driven 3. Skinnable 4. Secure 5. Accessible 4. Enterprise

More information

Varnish the Drupal way

Varnish the Drupal way Varnish the Drupal way About me Boyan Borisov Team Leader @ Propeople boyanb@propeople.dk @boyan_borisov Skype: boian.borisov hap://linkedin.com/in/ boyanborisov What is Varnish? Reverse proxy cache server...

More information

Rails Application Deployment. July 2007 @ Philly on Rails

Rails Application Deployment. July 2007 @ Philly on Rails Rails Application Deployment July 2007 @ Philly on Rails What Shall We Deploy Tonight? Blogging/publishing system Standard Rails application Ships with gems in vendor directory Easy rake task for database

More information

Performance Tuning and Optimization for high traffic Drupal sites. Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007

Performance Tuning and Optimization for high traffic Drupal sites. Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007 Performance Tuning and Optimization for high traffic Drupal sites Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007 Agenda Introduction The LAMP Stack Linux, Apache, MySQL, PHP Drupal Database queries

More information

Auditing Drupal sites for performance, content and optimal configuration

Auditing Drupal sites for performance, content and optimal configuration Auditing Drupal sites for performance, content and optimal configuration! drupal.org/project/site_audit 2014.10.18 - Pacific NW Drupal Summit Jon Peck Senior Engineer at Four Kitchens @FluxSauce - github.com/fluxsauce

More information

Installing Apache, MySQL, PHP, and PECL on Windows

Installing Apache, MySQL, PHP, and PECL on Windows A P P E N D I X A Installing Apache, MySQL, PHP, and PECL on Windows Throughout the book, we outlined methods of improving different web servers and database configurations but stopped short of outlining

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

Learning To Fly: How Angry Birds Reached the Heights of Store Performance

Learning To Fly: How Angry Birds Reached the Heights of Store Performance Learning To Fly: How Angry Birds Reached the Heights of Store Performance Learning To Fly: How Angry Birds Reached the Insert photo of speaker here 891 pixels h x 688 pixels w Heights of Store Performance

More information

Linux Tools for Monitoring and Performance. Khalid Baheyeldin November 2009 KWLUG http://2bits.com

Linux Tools for Monitoring and Performance. Khalid Baheyeldin November 2009 KWLUG http://2bits.com Linux Tools for Monitoring and Performance Khalid Baheyeldin November 2009 KWLUG http://2bits.com Agenda Introduction Definitions Tools, with demos Focus on command line, servers, web Exclude GUI tools

More information

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache.

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache. JSP, and JSP, and JSP, and 1 2 Lecture #3 2008 3 JSP, and JSP, and Markup & presentation (HTML, XHTML, CSS etc) Data storage & access (JDBC, XML etc) Network & application protocols (, etc) Programming

More information

CS312 Solutions #6. March 13, 2015

CS312 Solutions #6. March 13, 2015 CS312 Solutions #6 March 13, 2015 Solutions 1. (1pt) Define in detail what a load balancer is and what problem it s trying to solve. Give at least two examples of where using a load balancer might be useful,

More information

Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2

Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2 Security Workshop Apache + SSL exercises in Ubuntu Contents 1 Install apache2 and enable SSL 2 2 Generate a Local Certificate 2 3 Configure Apache to use the new certificate 4 4 Verify that http and https

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

Bring your intranet to the IBM i With Drupal and Zend Server

Bring your intranet to the IBM i With Drupal and Zend Server Bring your intranet to the IBM i With Drupal and Zend Server Mike Pavlak Solution Consultant mike.p@zend.com Insert->Header 1 & Footer Audience Manager looking for Intranet/place to put stuff Developers

More information

Zend Server Cluster Manager 5.1. Reference Manual. By Zend Technologies. www.zend.com

Zend Server Cluster Manager 5.1. Reference Manual. By Zend Technologies. www.zend.com Zend Server Cluster Manager 5.1 Reference Manual By Zend Technologies www.zend.com Abstract This is the Reference Manual for Zend Server Cluster Manager Version 5.1. The information in this document is

More information

SiteCelerate white paper

SiteCelerate white paper SiteCelerate white paper Arahe Solutions SITECELERATE OVERVIEW As enterprises increases their investment in Web applications, Portal and websites and as usage of these applications increase, performance

More information

Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu

Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu 1 Motivation Serving web content from one location presents problems Scalability Reliability Performance Flash

More information

WompMobile Technical FAQ

WompMobile Technical FAQ WompMobile Technical FAQ What are the technical benefits of WompMobile? The mobile site has the same exact URL as the desktop website. The mobile site automatically and instantly syncs with the desktop

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

An Introduction to Drupal Architecture. John VanDyk DrupalCamp Des Moines, Iowa September 17, 2011

An Introduction to Drupal Architecture. John VanDyk DrupalCamp Des Moines, Iowa September 17, 2011 An Introduction to Drupal Architecture John VanDyk DrupalCamp Des Moines, Iowa September 17, 2011 1 PHP 5.2.5 Apache OS IIS Nginx Stack with OS, webserver and PHP. Most people use mod_php but deployments

More information

Content Management Software Drupal : Open Source Software to create library website

Content Management Software Drupal : Open Source Software to create library website Content Management Software Drupal : Open Source Software to create library website S.Satish, Asst Library & Information Officer National Institute of Epidemiology (ICMR) R-127, Third Avenue, Tamil Nadu

More information

CloudLinux is a proven solution for shared hosting providers that:

CloudLinux is a proven solution for shared hosting providers that: CloudLinux Overview What is CloudLinux CloudLinux is a proven solution for shared hosting providers that: Improves server s stability and security Increases density Improves performance Decreases support

More information

A Comparative Study on Vega-HTTP & Popular Open-source Web-servers

A Comparative Study on Vega-HTTP & Popular Open-source Web-servers A Comparative Study on Vega-HTTP & Popular Open-source Web-servers Happiest People. Happiest Customers Contents Abstract... 3 Introduction... 3 Performance Comparison... 4 Architecture... 5 Diagram...

More information

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015 Distributed Systems 23. Content Delivery Networks (CDN) Paul Krzyzanowski Rutgers University Fall 2015 November 17, 2015 2014-2015 Paul Krzyzanowski 1 Motivation Serving web content from one location presents

More information

Automating Testing and Configuration Data Migration in OTM/GTM Projects using Open Source Tools By Rakesh Raveendran Oracle Consulting

Automating Testing and Configuration Data Migration in OTM/GTM Projects using Open Source Tools By Rakesh Raveendran Oracle Consulting Automating Testing and Configuration Data Migration in OTM/GTM Projects using Open Source Tools By Rakesh Raveendran Oracle Consulting Agenda Need Desired End Picture Requirements Mapping Selenium Testing

More information

Getting FileMaker Server 11 and IIS 7.x to Work with SSL. By Todd Duell

Getting FileMaker Server 11 and IIS 7.x to Work with SSL. By Todd Duell Getting FileMaker Server 11 and IIS 7.x to Work with SSL Enable FileMaker Server to communicate with IIS Server using an SSL certificate. By Todd Duell FileMaker Server 11 installs cleanly with IIS Server

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

Monitoring Nginx Server

Monitoring Nginx Server Monitoring Nginx Server eg Enterprise v6 Restricted Rights Legend The information contained in this document is confidential and subject to change without notice. No part of this document may be reproduced

More information

EXECUTIVE SUMMARY CONTENTS. 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix. 1.

EXECUTIVE SUMMARY CONTENTS. 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix. 1. CONTENTS 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix EXECUTIVE SUMMARY Tenzing Managed IT services has recently partnered with Amazon Web Services

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

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

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux CSC 482/582 Assignment #2 Securing SimpleWebServer Due: September 29, 2015 The goal of this assignment is to learn how to validate input securely. To this purpose, students will add a feature to upload

More information

Optimizing TYPO3 performance

Optimizing TYPO3 performance Optimizing TYPO3 performance Dmitry Dulepov (dmitry@typo3.org) Performance optimization areas: TYPO3 code TYPO3 installation Server hardware Server software Apache MySQL Optimizing TYPO3 code Hardly possible

More information

Two Novel Server-Side Attacks against Log File in Shared Web Hosting Servers

Two Novel Server-Side Attacks against Log File in Shared Web Hosting Servers Two Novel Server-Side Attacks against Log File in Shared Web Hosting Servers Seyed Ali Mirheidari 1, Sajjad Arshad 2, Saeidreza Khoshkdahan 3, Rasool Jalili 4 1 Computer Engineering Department, Sharif

More information

Bubble Code Review for Magento

Bubble Code Review for Magento User Guide Author: Version: Website: Support: Johann Reinke 1.1 https://www.bubbleshop.net bubbleshop.net@gmail.com Table of Contents 1 Introducing Bubble Code Review... 3 1.1 Features... 3 1.2 Compatibility...

More information

Sitecore Health. Christopher Wojciech. netzkern AG. christopher.wojciech@netzkern.de. Sitecore User Group Conference 2015

Sitecore Health. Christopher Wojciech. netzkern AG. christopher.wojciech@netzkern.de. Sitecore User Group Conference 2015 Sitecore Health Christopher Wojciech netzkern AG christopher.wojciech@netzkern.de Sitecore User Group Conference 2015 1 Hi, % Increase in Page Abondonment 40% 30% 20% 10% 0% 2 sec to 4 2 sec to 6 2 sec

More information

CMS Diagnostics Guide

CMS Diagnostics Guide Sitecore CMS 6.0-6.5 CMS Diagnostics Guide Rev: 22 August 2012 Sitecore CMS 6.0-6.5 CMS Diagnostics Guide A developer's guide to diagnosis of Sitecore CMS performance Sitecore CMS 6.0-6.5 Table of Contents

More information

Emergency Preparedness

Emergency Preparedness Emergency Preparedness Creating a Disaster Recovery Plan for your Drupal Site Keri Poeppe Gorton Studios/NodeSquirrel.com Twin Cities Drupal Camp 2014 Hello! Keri Poeppe Product Manager, NodeSquirrel Content

More information

Magento Optimised Template CentOS 6 with cpanel/whm V1.0

Magento Optimised Template CentOS 6 with cpanel/whm V1.0 Magento Optimised Template CentOS 6 with cpanel/whm V1.0 Magento Optimised Template CentOS 6 with cpanel/whm Crucial Cloud Hosting 1 Contents Introduction... 2 Objectives... 3 Web Server Optimisation...

More information

Loudon & Company. Better Decision-Making:! Drupal Performance

Loudon & Company. Better Decision-Making:! Drupal Performance Loudon & Company Better Decision-Making: Drupal Performance May 17th, 2014 The problem space Performance, Scaling, & Optimization focuses on: Latency - delay, e.g. length of time for a single request Experts

More information

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server November 6, 2008 Group Logic, Inc. 1100 North Glebe Road, Suite 800 Arlington, VA 22201 Phone: 703-528-1555 Fax: 703-528-3296 E-mail:

More information

Apache Thrift and Ruby

Apache Thrift and Ruby Apache Thrift and Ruby By Randy Abernethy In this article, excerpted from The Programmer s Guide to Apache Thrift, we will install Apache Thrift support for Ruby and build a simple Ruby RPC client and

More information

PeopleSoft Online Performance Guidelines

PeopleSoft Online Performance Guidelines PeopleSoft Online Performance Guidelines Agenda Introduction Web Browser configuration Web Server configuration Application Server PIA PeopleSoft Internet Architecture Introduction Pure Internet Architecture

More information

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt 1 Lecture 10: Application Layer 2 Application Layer Where our applications are running Using services provided by

More information

PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery

PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code

More information

Website Optimization Tips for Speed

Website Optimization Tips for Speed Website Optimization Tips for Speed Sothern California WordPress Meetup Microsoft HQ, Los Angeles - 3/20/2012 Belsien Thomas belsien@wppowerguide.com S Overview Of Website Optimization Content Optimizations

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

User Guide Zend Server Community 4.0.3

User Guide Zend Server Community 4.0.3 User Guide Zend Server Community 4.0.3 By Zend Technologies www.zend.com Table of Contents Abstract... 1 Password Management... 1 Support... 2 Zend Support Center... 2 Administration Interface... 3 General

More information

BOA BARRACUDA ON ÆGIR ~ MY FIRST YEAR ~ Mladen Đurić @macmladen

BOA BARRACUDA ON ÆGIR ~ MY FIRST YEAR ~ Mladen Đurić @macmladen BOA BARRACUDA ON ÆGIR ~ MY FIRST YEAR ~ Mladen Đurić @macmladen 1 2 MLADEN ĐURIĆ a.k.a MacMladen in IT since the time of mainframes, 8th year in UNIX epoch. started with Z80 assembly, went over 6502 to

More information

Load Balancing MODX. Garry Nutting, Senior Developer at MODX, LLC

Load Balancing MODX. Garry Nutting, Senior Developer at MODX, LLC Load Balancing MODX Garry Nutting, Senior Developer at MODX, LLC This presentation, while remaining fairly high-level, will demonstrate how to load balance MODX. It is a setup we have rolled out to a few

More information

Remote Desktop With P2P VNC

Remote Desktop With P2P VNC Remote Desktop With P2P VNC VNC is a well-known tool for remote desktop view and control. The two computers establish a TCP connection so that one of them can access the display of the other. However,

More information

SI455 Advanced Computer Networking. Lab2: Adding DNS and Email Servers (v1.0) Due 6 Feb by start of class

SI455 Advanced Computer Networking. Lab2: Adding DNS and Email Servers (v1.0) Due 6 Feb by start of class SI455 Advanced Computer Networking Lab2: Adding DNS and Email Servers (v1.0) Due 6 Feb by start of class WHAT TO HAND IN: 1. Completed checklist from the last page of this document 2. 2-4 page write-up

More information

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009 Web Performance Sergey Chernyshev March '09 New York Web Standards Meetup New York, NY March 19 th, 2009 About presenter Doing web stuff since 1995 Director, Web Systems and Applications at trutv Personal

More information

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide! Kollaborate Server Installation Guide 1 Kollaborate Server Installation Guide Kollaborate Server is a local implementation of the Kollaborate cloud workflow system that allows you to run the service in-house

More information

Understanding Slow Start

Understanding Slow Start Chapter 1 Load Balancing 57 Understanding Slow Start When you configure a NetScaler to use a metric-based LB method such as Least Connections, Least Response Time, Least Bandwidth, Least Packets, or Custom

More information

How to create a load testing environment for your web apps using open source tools by Sukrit Dhandhania

How to create a load testing environment for your web apps using open source tools by Sukrit Dhandhania How to create a load testing environment for your web apps using open source tools by Sukrit Dhandhania Open source load testing for web putting demand on an application and measuring its response see

More information

MLADEN ĐURIĆ. @MacMladen

MLADEN ĐURIĆ. @MacMladen MLADEN ĐURIĆ @MacMladen 1 THANKS! 2 TIME SPACE CONTINUUM THE EXISTENCE OF GOD AND OBJECT ORIENTED PHP IN DRUPAL 8 Mladen Đurić @macmladen 3 BOA BARRACUDA OCTOPUS ÆGIR ~ HOW TO RUN A WEB SERVER LIKE A PRO

More information

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

Tipping The Scale Tips, Tools, and Techniques For Building Scalable. Steve French Senior Software Engineer digg.com Tipping The Scale Tips, Tools, and Techniques For Building Scalable Steve French Senior Software Engineer digg.com First Thing s First... The Stack Server OS Linux, MacOS X, UNIX, Windows Web Server apache,

More information

WordPress Optimization

WordPress Optimization WordPress Optimization markkelnar WP Engine @renderandserve howdy@wpengine.com wpengine.com/optimizing-wordpress WordCamp Atlanta 2012 Who is this guy? Head of Technology, System Administration, database,

More information

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014 Distributed Systems 25. Content Delivery Networks (CDN) Paul Krzyzanowski Rutgers University Fall 2014 November 16, 2014 2014 Paul Krzyzanowski 1 Motivation Serving web content from one location presents

More information