Varnish – nowoczesny akcelerator HTTP dla dostawców treści.pdf
(
287 KB
)
Pobierz
748982233 UNPDF
A modern HTTP accelerator
for content providers
Leszek Urbański
Trader Media East Competence Center
PLNOG 4 – Warsaw, 2010-03-05
Varnish
●
a state-of-the-art reverse proxy and cache
●
open source, initially developed for a
Norwegian tabloid “Verdens Gang” in 2006
●
Poul-Henning Kamp – architect and lead
developer
●
Linpro AS
Varnish
●
used by TOP100 sites
●
Twitter
●
Photobucket
●
weather.com
●
answers.com
●
Hulu
●
Wikia
●
source: Ingvar Hagelund
http://users.linpro.no/ingvar/varnish/stats-2010-01-18.txt
Architecture
●
Varnish does not fight the OS kernel!
●
uses virtual memory, two main stevedores:
●
mmap()
●
malloc()
●
scales well in SMP environments
●
event-based acceptor
●
multi-threaded worker model
●
static workspaces – reused, operating on
pointers
Architecture
●
SHM logging
●
an mmap()ed file shared by all threads and logging
programs
●
logging without syscalls!
memcpy(p + SHMLOG_DATA, t.b, l);
/* or */
vsnprintf((char *)(p + SHMLOG_DATA), mlen + 1, fmt, ap);
Plik z chomika:
kkkotekkk
Inne pliki z tego folderu:
ATMAN w Linx, AMS-IX, DE-CIX. Telehouse.Poland - wielkie otwarcie.pdf
(3208 KB)
ABUSE-Forum.pdf
(624 KB)
Aktualizacja IPv6.pdf
(0 KB)
CDN w Polsce.pdf
(643 KB)
Dostawca usług klasy 5 VoIP - Zintegrowane podejście.pdf
(3369 KB)
Inne foldery tego chomika:
2008.09.18-19
2009.01.15-16
2009.09.10-11
2010.10.21-22
2011.03.16-17
Zgłoś jeśli
naruszono regulamin