Suche senden
Hochladen
T.Pollak y C.Yaconi - Prey
•
0 gefällt mir
•
2,220 views
StarTech Conference
Folgen
Technologie
Bildung
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 87
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Eduardo Silva - monkey http-server everywhere
Eduardo Silva - monkey http-server everywhere
StarTech Conference
Small, Simple, and Secure: Alpine Linux under the Microscope
Small, Simple, and Secure: Alpine Linux under the Microscope
Docker, Inc.
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
Vagrant
Vagrant
Denys Haryachyy
A little systemtap
A little systemtap
yang bingwu
Tools used for debugging
Tools used for debugging
Marian Marinov
Who Broke My Crypto
Who Broke My Crypto
John Varghese
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Yireo
Empfohlen
Eduardo Silva - monkey http-server everywhere
Eduardo Silva - monkey http-server everywhere
StarTech Conference
Small, Simple, and Secure: Alpine Linux under the Microscope
Small, Simple, and Secure: Alpine Linux under the Microscope
Docker, Inc.
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
Vagrant
Vagrant
Denys Haryachyy
A little systemtap
A little systemtap
yang bingwu
Tools used for debugging
Tools used for debugging
Marian Marinov
Who Broke My Crypto
Who Broke My Crypto
John Varghese
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Yireo
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Stacey Whitney
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Tanya Denisyuk
Haproxy - zastosowania
Haproxy - zastosowania
Łukasz Jagiełło
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Michelle Antebi
Puppet
Puppet
Łukasz Jagiełło
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Ontico
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22
Yuya Takei
WebSockets with PHP: Mission impossible
WebSockets with PHP: Mission impossible
Yoan-Alexander Grigorov
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
Goran Cetusic
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Michelle Antebi
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
Xavier Mertens
My journey from PHP to Node.js
My journey from PHP to Node.js
Valentin Lup
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
addame
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Develcz
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
tomasbart
OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?
ScyllaDB
nginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよ
mamoru tateoka
От sysV к systemd
От sysV к systemd
Denis Kovalev
Docker SDN (software-defined-networking) JUG
Docker SDN (software-defined-networking) JUG
Piotr Kieszczyński
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Rey Bango - HTML5: polyfills and shims
Rey Bango - HTML5: polyfills and shims
StarTech Conference
Caridy patino - node-js
Caridy patino - node-js
StarTech Conference
Weitere ähnliche Inhalte
Was ist angesagt?
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Stacey Whitney
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Tanya Denisyuk
Haproxy - zastosowania
Haproxy - zastosowania
Łukasz Jagiełło
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Michelle Antebi
Puppet
Puppet
Łukasz Jagiełło
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Ontico
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22
Yuya Takei
WebSockets with PHP: Mission impossible
WebSockets with PHP: Mission impossible
Yoan-Alexander Grigorov
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
Goran Cetusic
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Michelle Antebi
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
Xavier Mertens
My journey from PHP to Node.js
My journey from PHP to Node.js
Valentin Lup
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
addame
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Develcz
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
tomasbart
OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?
ScyllaDB
nginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよ
mamoru tateoka
От sysV к systemd
От sysV к systemd
Denis Kovalev
Docker SDN (software-defined-networking) JUG
Docker SDN (software-defined-networking) JUG
Piotr Kieszczyński
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Was ist angesagt?
(20)
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Максим Барышиков-«WoT: Geographically distributed cluster of clusters»
Haproxy - zastosowania
Haproxy - zastosowania
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Puppet
Puppet
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22
WebSockets with PHP: Mission impossible
WebSockets with PHP: Mission impossible
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
Docker 1.11 Meetup: Containerd and runc, by Arnaud Porterie and Michael Crosby
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
My journey from PHP to Node.js
My journey from PHP to Node.js
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Ondřej Šika: Docker, Traefik a CI - Mějte nasazené všeny větve na kterých pra...
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?
nginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよ
От sysV к systemd
От sysV к systemd
Docker SDN (software-defined-networking) JUG
Docker SDN (software-defined-networking) JUG
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Andere mochten auch
Rey Bango - HTML5: polyfills and shims
Rey Bango - HTML5: polyfills and shims
StarTech Conference
Caridy patino - node-js
Caridy patino - node-js
StarTech Conference
Jonathan snook - fake-it
Jonathan snook - fake-it
StarTech Conference
Scott Chacon - Cuento de tres árboles
Scott Chacon - Cuento de tres árboles
StarTech Conference
Ravi Mynampaty - developing findability standards
Ravi Mynampaty - developing findability standards
StarTech Conference
Tom Preston Werner - Optimize for happiness
Tom Preston Werner - Optimize for happiness
StarTech Conference
Abraham Barrera - dev-cross-mobile
Abraham Barrera - dev-cross-mobile
StarTech Conference
Andere mochten auch
(7)
Rey Bango - HTML5: polyfills and shims
Rey Bango - HTML5: polyfills and shims
Caridy patino - node-js
Caridy patino - node-js
Jonathan snook - fake-it
Jonathan snook - fake-it
Scott Chacon - Cuento de tres árboles
Scott Chacon - Cuento de tres árboles
Ravi Mynampaty - developing findability standards
Ravi Mynampaty - developing findability standards
Tom Preston Werner - Optimize for happiness
Tom Preston Werner - Optimize for happiness
Abraham Barrera - dev-cross-mobile
Abraham Barrera - dev-cross-mobile
Ähnlich wie T.Pollak y C.Yaconi - Prey
5 issues
5 issues
m0use
5 issues
5 issues
m0use
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)
Ontico
Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
Brent Salisbury
Varnish @ Velocity Ignite
Varnish @ Velocity Ignite
Artur Bergman
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)
Andriy Berestovskyy
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
Open Source Consulting
Memcache as udp traffic reflector
Memcache as udp traffic reflector
Bangladesh Network Operators Group
SF Big Analytics 2019112: Uncovering performance regressions in the TCP SACK...
SF Big Analytics 2019112: Uncovering performance regressions in the TCP SACK...
Chester Chen
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
OpenStack Korea Community
Tuning TCP and NGINX on EC2
Tuning TCP and NGINX on EC2
Chartbeat
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
LinuxCon ContainerCon CloudOpen China
Debugging Ruby
Debugging Ruby
Aman Gupta
Debugging Ruby Systems
Debugging Ruby Systems
Engine Yard
Course on TCP Dynamic Performance
Course on TCP Dynamic Performance
Javier Arauz
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
Ludovico Caldara
How to Troubleshoot OpenStack Without Losing Sleep
How to Troubleshoot OpenStack Without Losing Sleep
Sadique Puthen
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
ScyllaDB
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
Faisal Khan
DPDK in Containers Hands-on Lab
DPDK in Containers Hands-on Lab
Michelle Holley
Ähnlich wie T.Pollak y C.Yaconi - Prey
(20)
5 issues
5 issues
5 issues
5 issues
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)
Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
Varnish @ Velocity Ignite
Varnish @ Velocity Ignite
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
Memcache as udp traffic reflector
Memcache as udp traffic reflector
SF Big Analytics 2019112: Uncovering performance regressions in the TCP SACK...
SF Big Analytics 2019112: Uncovering performance regressions in the TCP SACK...
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
Tuning TCP and NGINX on EC2
Tuning TCP and NGINX on EC2
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
Debugging Ruby
Debugging Ruby
Debugging Ruby Systems
Debugging Ruby Systems
Course on TCP Dynamic Performance
Course on TCP Dynamic Performance
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
How to Troubleshoot OpenStack Without Losing Sleep
How to Troubleshoot OpenStack Without Losing Sleep
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
DPDK in Containers Hands-on Lab
DPDK in Containers Hands-on Lab
Mehr von StarTech Conference
Mike hostetler - jQuery knowledge append to you
Mike hostetler - jQuery knowledge append to you
StarTech Conference
Luis Meijueiro - Open Data
Luis Meijueiro - Open Data
StarTech Conference
Stephen Anderson - Como construimos e hicimos crecer una empresa de consultor...
Stephen Anderson - Como construimos e hicimos crecer una empresa de consultor...
StarTech Conference
Jano Gonzalez - jruby
Jano Gonzalez - jruby
StarTech Conference
Pedro Fuentes - star techconf
Pedro Fuentes - star techconf
StarTech Conference
Robert Nyman - HTML5 apis where no man has gone before startechconf
Robert Nyman - HTML5 apis where no man has gone before startechconf
StarTech Conference
Markos calderon lecciones aprendidas del desarrollo de un sistema de web co...
Markos calderon lecciones aprendidas del desarrollo de un sistema de web co...
StarTech Conference
Charles nutter star techconf 2011 - jvm languages
Charles nutter star techconf 2011 - jvm languages
StarTech Conference
Stephanie Rewis - css-startech
Stephanie Rewis - css-startech
StarTech Conference
Mark ramm To relate or not to relate
Mark ramm To relate or not to relate
StarTech Conference
Greg rewis move-itsession
Greg rewis move-itsession
StarTech Conference
Mehr von StarTech Conference
(11)
Mike hostetler - jQuery knowledge append to you
Mike hostetler - jQuery knowledge append to you
Luis Meijueiro - Open Data
Luis Meijueiro - Open Data
Stephen Anderson - Como construimos e hicimos crecer una empresa de consultor...
Stephen Anderson - Como construimos e hicimos crecer una empresa de consultor...
Jano Gonzalez - jruby
Jano Gonzalez - jruby
Pedro Fuentes - star techconf
Pedro Fuentes - star techconf
Robert Nyman - HTML5 apis where no man has gone before startechconf
Robert Nyman - HTML5 apis where no man has gone before startechconf
Markos calderon lecciones aprendidas del desarrollo de un sistema de web co...
Markos calderon lecciones aprendidas del desarrollo de un sistema de web co...
Charles nutter star techconf 2011 - jvm languages
Charles nutter star techconf 2011 - jvm languages
Stephanie Rewis - css-startech
Stephanie Rewis - css-startech
Mark ramm To relate or not to relate
Mark ramm To relate or not to relate
Greg rewis move-itsession
Greg rewis move-itsession
Kürzlich hochgeladen
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
V3cube
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Kürzlich hochgeladen
(20)
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
T.Pollak y C.Yaconi - Prey
1.
Post mortem. Or how
me managed to handle 72 DDoS's a day. Using Rails.
2.
Hello there.
3.
4.
5.
6.
200 OK 404 Not
Found
7.
8.
9.
10.
11.
12.
13.
14.
Bash
Objective-C Python Java Ruby C / C++ NodeJS C# (.NET)
15.
! Bash
Objective-C Python Java Ruby C / C++ NodeJS C# (.NET)
16.
17.
The problem.
18.
1.5M+ tracked devices
19.
25M+ reports received
20.
*/20 * interval
* execution **
21.
250K requests per minute
22.
90%second the very same
23.
+
24.
25.
26.
27.
=
28.
29.
We did what the
book says.
30.
Master/slave
31.
Load distribution
32.
Memcached
33.
Static cache
34.
35.
Click click!
36.
37.
38.
39.
40.
[error] upstream prematurely closed
connection while reading response header from upstream, client: 24.26.30.50, server: *.preyproject.com
41.
TCP: Possible SYN
flooding on port 443. Sending cookies.
42.
nf_conntrack: table full, dropping
packet
43.
nf_conntrack: table full, dropping
packet (…) net_ratelimit: 8130 callbacks suppressed
44.
!
45.
Time to roll up
our sleeves.
46.
47.
48.
An hour in
the life
49.
50.
#%@!
51.
So where's the
bottleneck?
52.
Nginx Stub Status ./configure --with-http_stub_status_module GET
/nginx_status Active connections: 2076 server accepts handled requests 16630948 16630948 31070465 Reading: 720 Writing: 379 Waiting: 981
53.
Raindrops for Unicorn config.ru use
Raindrops::Middleware GET /_raindrops calling: 254 writing: 0 0.0.0.0:8080 active: 48 0.0.0.0:8080 queued: 0
54.
Tuning backlogs Unicorn, config.rb listen
'shared/sockets/unicorn.sock', :backlog => 4096 Nginx Vhost conf server { listen 80 backlog=16384; ... }
55.
Linux TCP/IP Stack
Tuning Connection count by status $ netstat -an | awk '/tcp/ {print $6}' | sort | uniq -c 30 CLOSE_WAIT 2234 ESTABLISHED 4 FIN_WAIT1 14 LISTEN 6 SYN_RECV 3222 TIME_WAIT
56.
Linux TCP/IP Stack
Tuning $ sysctl -a # max sockets, connections net.core.somaxconn = 131072 net.core.netdev_max_backlog = 131072 net.ipv4.tcp_max_syn_backlog = 35536 # reuse & recycle TCP sockets net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1
57.
Linux TCP/IP Stack
Tuning # disable syncookies net.ipv4.tcp_syncookies = 0 # timeouts & retries net.ipv4.tcp_orphan_retries = 3 net.ipv4.tcp_fin_timeout = 2 net.ipv4.tcp_synack_retries = 2 net.ipv4.tcp_syn_retries = 2 # sysctl -p # reloads settings
58.
nf_conntrack_max -
limited by kernel memory - decreased tcp_timeout_time_wait - decreased tcp_fin_timeout - no workie - we disabled connection tracking altogether, and it worked! iptables -A PREROUTING -p tcp --dport 80 -j NOTRACK
59.
60.
The workers!
61.
Decrease memory usage.
62.
config/environment.rb config.frameworks -= [:action_view]
63.
Speed them up.
64.
Benchmark!
65.
Imlib2 > ImageMagick
66.
Paperclip Processor
67.
Throttle (only) when needed.
68.
Angry Boss!
69.
Angry Boss! - 11
jobs pending. 6 workers running. On loop 75036! - Spawning worker #7... - [Worker #6] Report.process! completed after 2.1819 - [Worker #2] Report.process! completed after 2.6006 - [Worker #1] Notifier.deliver_report_notification completed after 0.1067 - 8 jobs pending. 7 workers running. On loop 75036! - Spawning worker #8...
70.
Imlib2 + Angry
Boss!
71.
What we learned.
72.
Rails can scale.
73.
But it needs a
bit of help.
74.
All apps are different.
75.
Don't just follow the
book.
76.
What's next.
77.
78.
79.
80.
81.
82.
That's it.
83.
84.
Drew, Tom, Yehuda,
Benny the guys that make it possible
85.
<a href> Git repos github.com/prey Angry
Boss, Resizer, etc github.com/tomas Home preyproject.com
86.
Thanks! Carlos Yaconi @cyaconi Tomás Pollak @tomaspollak
forkhq.com
Jetzt herunterladen