ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "\"А. Куликовский\"" <kae@tut.by>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Кеширование содержимого интернет-ресурсов
Date: Fri, 19 Dec 2008 15:33:18 +0200
Message-ID: <494BA29E.9070006@tut.by> (raw)
In-Reply-To: <494B8637.8090407@nzh.ieml.ru>

Garafiev Aidar пишет:
> Приветствую, Уважаемые коллеги!!!
>
> Какой инструмент для кеширования содержимого интернет-ресурсов 
> посоветуете? И сколько % трафика можно сэкономить?
squid
>
> Хотелось бы хоть немного сэкономить на трафике и хоть как то ускорить 
> открытие интернет-страниц без увеличения скорости канала.
Выигрыш "не очень, чтобы уж очень"...
Вот кусок из отчета кальмара (calamaris)

Proxy statistics                                                                
--------------------------------------------------------- -------------- ------ 
Total amount:                                                   requests 349296 
Total amount cached:                                            requests 177490 
Request hit rate:                                                      %  50.81 <--
Total Bandwidth:                                                    Byte  1340M 
Bandwidth savings:                                                  Byte   223M 
Bandwidth savings in Percent (Byte hit rate):                          %  16.67 <--
Proxy efficiency (HIT [kB/sec] / DIRECT [kB/sec]):                factor   3.64 
Average speed increase:                                                %  13.75 
--------------------------------------------------------- -------------- ------ 

# Incoming requests by method
method                          request      %  sec/req   Byte       %  kB/sec  
------------------------------ --------- ------ ------- -------- ------ ------- 
GET                               338917  97.03    4.04 1353366K  98.63    0.99 
POST                                8680   2.48    2.99 14545205   1.04    0.55 
CONNECT                              892   0.26  313.17  4396615   0.31    0.02 
HEAD                                 800   0.23    0.95   289490   0.02    0.37 
OPTIONS                                3   0.00    1.57     3269   0.00    0.68 
NONE                                   2   0.00    0.22     3296   0.00    7.30 
PROPFIND                               2   0.00    1.14    11388   0.00    4.86 
------------------------------ --------- ------ ------- -------- ------ ------- 
Sum                               349296 100.00    4.80 1372164K 100.00    0.82 

# Incoming UDP-requests by status
no matching requests           

# Incoming TCP-requests by status
status                          request      %  sec/req   Byte       %  kB/sec  
------------------------------ --------- ------ ------- -------- ------ ------- 
HIT                               177490  50.81    0.49  228744K  16.67    2.62 
MISS                              158212  45.29    9.59 1126668K  82.11    0.74 
ERROR                              13594   3.89    5.23 17153564   1.22    0.24 
------------------------------ --------- ------ ------- -------- ------ ------- 
Sum                               349296 100.00    4.80 1372164K 100.00    0.82 


Т.е.  по трафику - 16.57% экономии, бывает и меньше,  по запросам - 50%

Кроме того, режется реклама и "кое что еще, кое что иное..."

-- 
С уважением, А.Куликовский
Гимназия №1, г.Дзержинск, РБ



  parent reply	other threads:[~2008-12-19 13:33 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 11:32 Garafiev Aidar
2008-12-19 11:34 ` Anatol B. Bazyukin
2008-12-19 11:35 ` Slava Dubrovskiy
2008-12-19 11:41   ` Garafiev Aidar
2008-12-22 13:58   ` [Sysadmins] Web-server in LAN Garafiev Aidar
2008-12-22 14:05     ` Mykola S. Grechukh
2008-12-22 14:13   ` Garafiev Aidar
2008-12-22 14:19     ` Mykola S. Grechukh
2008-12-22 14:22       ` Garafiev Aidar
2008-12-22 14:24         ` Anatol B. Bazyukin
2008-12-22 14:30         ` Mykola S. Grechukh
2008-12-22 14:32         ` Mykola S. Grechukh
2008-12-23  5:52           ` Garafiev Aidar
2008-12-22 14:21     ` Dmitriy M. Maslennikov
2009-01-27 14:10   ` [Sysadmins] DSL + IpTables + Squid Garafiev Aidar
2009-01-27 14:20     ` Dmitriy Kruglikov
2009-01-28  9:54       ` Alexey Morsov
2009-01-27 14:20     ` Dmitriy M. Maslennikov
2009-01-27 14:49     ` MisHel64
2009-01-28  5:03       ` Garafiev Aidar
2009-01-28 12:47         ` MisHel64
2009-01-29  5:16           ` Garafiev Aidar
2009-01-28  5:22     ` Garafiev Aidar
2009-01-28  6:37       ` Anton Kvashin
2009-01-28  7:00       ` Dmitriy Kruglikov
2009-01-28 12:53       ` MisHel64
2009-01-28 14:01         ` Aleksey Avdeev
2009-01-28 14:21           ` MisHel64
2008-12-19 13:33 ` "А. Куликовский" [this message]
2008-12-19 14:33 ` [Sysadmins] Кеширование содержимого интернет-ресурсов Konstantin A. Lepikhov
2008-12-21 12:29   ` Yuri Bushmelev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=494BA29E.9070006@tut.by \
    --to=kae@tut.by \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git