Your SlideShare is downloading. ×
0
rb1.i
lf*f*.i
f*.i
thttpd-rb rb2.i
r.mail.ru
apache + mpop +
RBclient.pm
rbstatd
mysqlUDP/rbstat
rbmap
lf*f*.i
apache + mo...
apache mod_include
html
UDP/rbstat
rbmap
<!-- #include virtual=“/rb/913” -->
mod_rb
libtmpl.so
librbclnt.so
rbclntd
TCP/rb...
apache
html
UDP/rbstat
rbmap
httpd.conf:
LoadModule rb_module libexec/mod_rb.so
<Location /cgi-bin/splash>
SetHandler tmpl...
apache mod_perl
html
UDP/rbstat
rbmap
##Reklama/ShowBanner(913)##
RBclient.pm
libtmpl.so
librbclnt.so
rbclntd
TCP/rbdata
M...
use RBclient;
$rb = new RBclient;
$html = $rb->Get(913, 0 , {});
$region = $rb->Region(„127.0.0.1‟);
thttpd-rb
html, js, gif, swf …
UDP/rbstat
rbmap
libtmpl.so
librbclnt.so
rbclntd
TCP/rbdata
GET /b1234567.gif — картинки
GE...
rb1.i
lf*f*.i
f*.i
thttpd-rb rb2.i
r.mail.ru
apache + mpop +
RBclient.pm
rbstatd
mysqlUDP/rbstat
rbmap
lf*f*.i
apache + mo...
rb2.i
rbstat*.irbstat*.i
lf*rf*.i
f*.i
nginx-rb
rb8.i
r.mail.ru
imagine
apache + RBclient.pm
rbstatd
mysql
UDP/rbstat
rbma...
rb2.i
rbstat*.irbstat*.i
lf*rf*.i
f*.i
nginx-rb
rb8.i
r.mail.ru
imagine
apache + RBclient.pm
mysql
UDP/rbstat
lf*lf*.i
ima...
lf*srf*.i
nginx-rb
lua-module
top.mail.ru
r3.mail.ru/k
mysql
UDP
base1.i rbstat*.irbstat.i
Expires: 2h
rbtop.i
rbmem*.i
rb...
rbstat*.i
lf*rf*.i
nginx-rb + lua
trgstat
HTTP
libslave mysql
replication
mysql
rbstat*.ibannerd*.i
bannerd
iproto
rbstat*...
60 фронтендов под HTTP/HTTPS, 15 % загрузка CPU, отдача 7 Гбит/с
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Highload осень 2012 лекция 10
Upcoming SlideShare
Loading in...5
×

Highload осень 2012 лекция 10

88

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
88
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Highload осень 2012 лекция 10"

  1. 1. rb1.i lf*f*.i f*.i thttpd-rb rb2.i r.mail.ru apache + mpop + RBclient.pm rbstatd mysqlUDP/rbstat rbmap lf*f*.i apache + mod_rb lf**.mail.ru apache + mod_rb win.mail.ru www.mail.ru *.mail.ru rbimport.pl rbserver.pl lightserver.pl rbcount.pl rbnewday.pl rbdatad baserb.i
  2. 2. apache mod_include html UDP/rbstat rbmap <!-- #include virtual=“/rb/913” --> mod_rb libtmpl.so librbclnt.so rbclntd TCP/rbdata .shtml httpd.conf: LoadModule rb_module libexec/mod_rb.so <Location /rb> SetHandler rb </Location>
  3. 3. apache html UDP/rbstat rbmap httpd.conf: LoadModule rb_module libexec/mod_rb.so <Location /cgi-bin/splash> SetHandler tmpl </Location> mod_rb libtmpl.so librbclnt.so rbclntd TCP/rbdata
  4. 4. apache mod_perl html UDP/rbstat rbmap ##Reklama/ShowBanner(913)## RBclient.pm libtmpl.so librbclnt.so rbclntd TCP/rbdata MTemplate.pm libtmpl.so .tmpl
  5. 5. use RBclient; $rb = new RBclient; $html = $rb->Get(913, 0 , {}); $region = $rb->Region(„127.0.0.1‟);
  6. 6. thttpd-rb html, js, gif, swf … UDP/rbstat rbmap libtmpl.so librbclnt.so rbclntd TCP/rbdata GET /b1234567.gif — картинки GET /n12345678 — ссылки GET /cgi-bin/banners/get/913 — html-банер GET /cgi-bin/banners/js/913 — JS-баннер
  7. 7. rb1.i lf*f*.i f*.i thttpd-rb rb2.i r.mail.ru apache + mpop + RBclient.pm rbstatd mysqlUDP/rbstat rbmap lf*f*.i apache + mod_rb lf**.mail.ru apache + mod_rb win.mail.ru www.mail.ru *.mail.ru rbimport.pl rbserver.pl lightserver.pl rbcount.pl rbnewday.pl rbdatad baserb.i 50 фронтендов 8 Мб rbmap
  8. 8. rb2.i rbstat*.irbstat*.i lf*rf*.i f*.i nginx-rb rb8.i r.mail.ru imagine apache + RBclient.pm rbstatd mysql UDP/rbstat rbmap lf*lf*.i imagine lf**.mail.ru nginx-rb win.mail.ru www.mail.ru *.mail.ru rbimport.pl rbserver.pl lightserver.pl baserb.i rbdata*.i rbdatad rbstat*.irbcalc*.i rbuniqd 500 фронтендов 70 Мб rbmap
  9. 9. rb2.i rbstat*.irbstat*.i lf*rf*.i f*.i nginx-rb rb8.i r.mail.ru imagine apache + RBclient.pm mysql UDP/rbstat lf*lf*.i imagine lf**.mail.ru nginx-rb e.mail.ru mail.ru *.mail.ru rbimport.py rbserver*.pl lightserver.pl base1.i rbdata*.i rbdatad rbstat*.irbcalc*.irbuniqd 2500 фронтендов 120 Мб rbmap TCP/rbdata mysql base2.i rbstat*.irbbl*.irbrcvd UDP rsyncrbmem*.i rbstatd
  10. 10. lf*srf*.i nginx-rb lua-module top.mail.ru r3.mail.ru/k mysql UDP base1.i rbstat*.irbstat.i Expires: 2h rbtop.i rbmem*.i rbstatd tarantool batch
  11. 11. rbstat*.i lf*rf*.i nginx-rb + lua trgstat HTTP libslave mysql replication mysql rbstat*.ibannerd*.i bannerd iproto rbstat*.i trgbase.i mysql replication tarantool iproto UDP UDP
  12. 12. 60 фронтендов под HTTP/HTTPS, 15 % загрузка CPU, отдача 7 Гбит/с
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×