ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Alexeyev <dmi_a@qnx.org.ru>
To: community@altlinux.ru
Subject: Re: [Comm] SQUID - connection to servers
Date: Mon, 8 Dec 2003 19:58:19 +0300
Message-ID: <200312081958.19928.dmi_a@qnx.org.ru> (raw)
In-Reply-To: <200312081617.29951.serpiph@nikiet.ru>

В сообщении от Понедельник 08 Декабрь 2003 16:17 Epiphanov Sergei 
написал:
> Всем привет!
>
> Может кто-нибудь подсказать, в каком месте (файл исходника или
> название функции), где squid осуществляет подключение к другим кэшам
> или лезет напрямую к серверам за недостающей информацией? Перекопал
> исходники squid, но что-то дельное в голову не лезет.
>
> Судя по всему:
> 1)squid получает легитимный запрос на получение ресурсов
> 2) сервер опрашивает менеджер кэша
> 3) менеджер в случае отсутсвтия данных лезет в инет
>
> Или я неправ?

Там есть несколько политик сведения кэш-серверов "в один". sibling, 
parent и multicast. Каждый cache_peer имеет свои опции, в том числе 
вес. 

Опрос sibling кэшей осуществляется по протоколу ICP (icp_port), если 
обратное не указано в опциях. 

Думаю, стоит уточнить вопрос... 

BR,
Dmitry



  reply	other threads:[~2003-12-08 16:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 13:17 Epiphanov Sergei
2003-12-08 16:58 ` Dmitry Alexeyev [this message]
2003-12-09  8:01   ` Epiphanov Sergei
2003-12-09  8:08     ` Shawkat Nizamov
2003-12-09  8:15       ` Epiphanov Sergei
2003-12-09  8:22         ` Shawkat Nizamov
2003-12-09  9:07         ` crux
2003-12-09  9:18           ` Epiphanov Sergei
2003-12-09  8:18       ` Epiphanov Sergei

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=200312081958.19928.dmi_a@qnx.org.ru \
    --to=dmi_a@qnx.org.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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