• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content







Total Views
Views on SlideShare
Embed Views



2 Embeds 39

http://www.denkwerk.com 35
http://accessibility_checker.siteimprove.com 4



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Nginx Nginx Presentation Transcript

    • nginxEinsatzgebiet:• Webserver• Reverse Proxying• E-Mail-Proxy (POP3/IMAP)Vorteile:• hohe Performance• Stabilität• einfache Konfiguration• geringer Ressourcenverbrauch• umfangreiche Features 26.03.2013 1
    • nginx: soft-facts• ausgesprochen „engine x“ [ˈ ɛnʤɪn ˈɛks]• BSD-Lizenz• 11,53 % aller erfassten Webserver mit nginx betrieben Netcraft-Statistik 08.2012• wikipedia, Domainfactory, 1und1, WordPress.com, GitHub, SourceForge, ComputerBase, Golem.de nutzen nginx• Parallels Plesk Panels ab Version 11 bietet Unterstützung für nginx als Reverse Proxy 26.03.2013 2
    • nginx: modular• Static file serving• Compression• Access controls• URL rewriting• Custom logging• Server-side includes• Limited WebDAV• fehlertolerantes Load Balancing• Virtual Hosts (name, ip)• SSL/TLS Server Name Indication (SNI)• Flash-Video-Streaming• und vieles mehr. de.wikipedia.org/wiki/Nginx www.admin-magazin.de/Das-Heft/2010/02/Nginx-Webserver-klein-und-schnell 26.03.2013 3
    • nginx: gute Leistung geringer Aufwand• Eventorientiert Only software we tested which could handle 8000 (live traffic, not benchmark) requests/second on a single server barry.wordpress.com/2008/04/28/load-balancer-update• Cachebare FastCGI Requests scratchbook.ch/2010/11/06/zehntausend-anfragen-pro-sekunde• Direkter Zugriff auf memcached technosophos.com/content/53900-speedup-nginx-drupal-and-memcache-bring-concurrency-and- page-load-time-way-down• Konfiguration und Betrieb: einfach und flexibel• simplify the software stack: Server, Reverse Proxy und Load Balancing: ein System 26.03.2013 4
    • nginx vs. andere Serverwww.zdnet.de/41559930/mehr-leistung-im-www-nginx-statt-apache-nutzen 14.02.2012 26.03.2013 5
    • nginx vs. Apache• "Apache is like Microsoft Word, it has a million options but you only need six. Nginx does those six things, and it does five of them 50 times faster than Apache." Chris Lea wiki.nginx.org/WhyUseIT• eventbased (nginx ) vs. threadbased (Apache) nginx: 46,9 % schneller, 55 % des Hauptspeichers benötigt 10.000 gleichzeitige HTTP-Abfragen benötigen nur etwa 2,5 MByte RAM www.zdnet.de/41559930/mehr-leistung-im-www-nginx-statt-apache-nutzen 14.02.2012• Nginx bei hoher Last schneller vor allem bei statischen Datieien als Apache und verbraucht deutlich weniger Speicher. www.wikivs.com/wiki/Apache_vs_nginx• timmehosting.de/blog/benchmark-nginx-12-vs-apache-24-statische- dateien-drupal-typo3 26.03.2013 6
    • nginx vs. Apachetimmehosting.de/blog/benchmark-nginx-12-vs-apache-24-statische-dateien-drupal-typo3 26.03.2013 7
    • nginx vs. Varnish (static)• Varnish – HTTP accelerator for dynamic websites• Nginx – excels at serving static assets. Varnish is capable of intelligently caching dynamic content. CGI Support and SSL• Apache+varnish a bit faster than nginx (alone)? – Ive found varnish ~5% faster for small static files than nginx -- varnish in front of apache, or varnish in front of a web app server would be big gains; but in front of nginx, the benefit is pretty negligible (especially with overheads and extra complexity taken into account) todsul.com/nginx-varnish – Using Varnish + Nginx is not worth *my* effort! (for static files) rtcamp.com/tutorials/why-we-never-use-varnish-with-nginx/ – no advantage to put Varnish in front of nginx www.garron.me/go2linux/nginx-varnish-vs-nginx-alone-compared.html 26.03.2013 8
    • nginx vs. Varnish (dynamic)• Static files as fast as possible, place Nginx in front• Dynamic ESI-enabled content, place Varnish in front• The best ESI config : – dynamic content served by Varnish on one VPS node – static assets served via a subdomain (static.example.com) by Nginx on another node• Any application that caches to static files is better off without Varnishtodsul.com/nginx-varnish 26.03.2013 9
    • nginx und TYPO3• scratchbook.ch/2010/11/06/zehntausend-anfragen-pro-sekunde mehr als 10.000 requests mit TYPO3• blog.thedigitals.pl/en/how-to-boostspeed-up-your-typo3-website-with- nginx• www.typofree.org/article/archive/2009/august/title/running-typo3-on- nginx 26.03.2013 10
    • nginx und TYPO3• timmehosting.de/blog/benchmark-nginx-12-vs-apache-24-statische-dateien-drupal-typo3 26.03.2013 11