Re: Re: maildir/mailbox

От: Andy Igoshin <CGatePro_at_mx_ru>
Дата: Wed 09 Feb 2005 - 17:26:21 MSK

Boris Tyshkiewitch wrote:
>
> Andy Igoshin wrote:
>
> >"Andrew A. Vasilyev" wrote:
> >
> >
> >>On Wed, Feb 09, 2005 at 04:39:34PM +0300, Boris Tyshkiewitch wrote:
> >>
> >>
> >>> FreeBSD тоже что-то имеет на тему быстрого поиска элемента в
> >>>каталоге, но похоже недостаточно. Наверно стоит попросить Сталкера
> >>>
> >>>
> >> UFS_DIRHASH и vfs.ufs.dirhash_maxmem, но, сдаётся мне,
> >> тормозит именно MAPI коннектор, т.к. у меня ящик ~1GB
> >> с, м-м, 155,000+ письмами открывается мгновенно.
> >>
> >> BTW, этот вопрос здесь уже обсуждался - позиция разработчиков:
> >> "CGP всё делает намного быстрее Oracle и особенно MySQL"
> >> (или наоборот, но быстрее :-)) ).
> >>________
> >> ANDY
> >
> >Я вот недавно задумался про большие ящики, и не стоит ли
> >их перевести в maildir. Если файловая система позволяет.
> >
> >Какие мысли у кого? :)
>
> Покажите мне файловую систему, которая потянет 155000 файлов в
> одной директории.

Хороший вопрос. :)  

> После появления индексированных TextMailbox, я вижу только одно
> преимущество MailDir - доставка одного и того-же письма сразу в
> несколько ящиков, используя hardlinks. Другие случаи выгоды, типа
> фолдера на 2Gb из которого каждые 5 минут удаляется первое письмо,
> достаточно экзотичны. Все остальные случаи TextMailBox с индексом
> будет обрабатывать быстрее.

Ok.  

> Сталкеру стоит поправить раздел документации, где дискутируется эта
> тема. Потому как наличие индексов, при взвешивании за и против там не
> учитывается.
>
> --- http://www.stalker.com/CommuniGatePro/Mailboxes.html#Formats
>
> *Note:* most of freeware mail systems use either the mbox-like or
> mdir-like formats, and designers of those systems make various claims
> about the advntages of the formats they have selected. It is very
> important to remember that:
>
> * CommuniGate Pro does not use OS or file system features (locks) to
> provide multi-access to mailboxes. CommuniGate Pro mailboxes in
> all formats can be accessed by several clients at the same time,
> and all synchronization is implemented in the CommuniGate Pro
> Mailbox Manager that works in the same way for all mailbox formats.
> * CommuniGate Pro uses efficient mechanisms to parse mailboxes, so
> many claims about various mailbox formats being 'slower' or
> 'faster' than other formats usually do not apply to CommuniGate
> Pro installations.
> * CommuniGate Pro allows users to create mailboxes in different
> formats, even within the same Account.
>
> *Note:* the .mbox format is more efficient than .mdir in most cases,
> this is why this format is used as the default one. The .mdir format is
> recommended only for those mailboxes that contain many (20 or more)
> large (100K or more) messages. If a user has a Proposals mailbox where
> she stores all messages with attached documents, each 50-70K in size,
> then this mailbox may work faster if it is created in the .mdir format.
>
> ---
>
> Boris.
>
> ##################################################################
> Вы получили это сообщение потому, что подписаны на список рассылки
> <CGatePro@mx.ru>.
>
> Чтобы отписаться, отправьте сообщение на адрес <CGatePro-off@mx.ru>
> Чтобы переключиться в режим дайджеста - mailto:<CGatePro-digest@mx.ru>
> Чтобы переключиться в индексный режим - mailto:<CGatePro-index@mx.ru>
> Для административных запросов адрес <CGatePro-request@mx.ru>

-- 
Andy Igoshin <ai@vsu.ru>                 Voronezh State University
Phone: +7 (0732) 522406                  Network Operation Center
Fax:   +7 (0732) 208820                  Voronezh, Russia
Получено Wed Feb 09 14:26:22 2005

Этот архив был сгенерирован hypermail 2.1.8 : Tue 21 Feb 2006 - 03:15:45 MSK