ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [inet-admins] Re: DG ftpd Q (fwd)



Он отчасти прав.
Тем не менее сервер на тредах (или даже на селекте) действительно гораздо
лучше традиционного форканного, но требует более тщательной проработки
разумеется. Однако с не анонимным ftpd есть один минус - без форка сделать
наследование unix-прав пользователя невозможно. Можно конечно попытаться их
имитировать (функции кернеля), в результате вся задача сведется именно к
этому, тредный же клиент-сервер это несущественная мелочь (из любого учебника
по тредам) по сравнению с этой задачей.
Видимо именно из-за этого никто так и не сделал полноценный тредный ftpd, и
не будет делать. Либо надо менять саму идеологию прав пользователей.

Thu Jun 29 00:40, Dmitry Morozovsky <marck@rinet.ru> wrote:
> Вот ответ Гринмена на соответствующий вопрос...
> 
> Sincerely,
> D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------
> 
> ---------- Forwarded message ----------
> Date: Wed, 28 Jun 2000 10:20:40 -0700
> From: David Greenman <dg@root.com>
> To: Dmitry Morozovsky <marck@rinet.ru>
> Subject: Re: DG ftpd Q 
> 
> >On Sun, 25 Jun 2000, David Greenman wrote:
> >
> >DG>    Sorry, I have not released the sources for dg-ftpd.
> >
> >It's a pity :-) But no problem, surely.
> >
> >Just one question -- is DG-ftpd multi-threaded? Or is it standard
> >inetd-style forked  on every control connection? 
> >
> >Background of this question leads to deep discussion in russian
> >ISP-related mailing list about "The Right Styled" (tm) daemons under
> >extremely high load...
> 
>    I generally don't believe in multi-threaded programming for mission-critical
> applications; one (perhaps very rare) bug kills everything. It's also a bitch
> to program. dg-ftpd has one process per ftp session, although it manages them
> itself (unlike the standard ftpd, where each is started by inetd).
> 
> -DG
> 
> David Greenman
> Co-founder, The FreeBSD Project - http://www.freebsd.org
> Manufacturer of high-performance Internet servers - http://www.terasolutions.com
> Pave the road of life with opportunities.
> 
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.