Re: lug-bg: Otnosno lekciqta za http serverite
- Subject: Re: lug-bg: Otnosno lekciqta za http serverite
- From: firedust@xxxxxxx (Stanislav Lechev)
- Date: Thu, 17 May 2001 17:07:26 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 17 May 2001 16:12, you wrote:
[.....]
> ?? ??? ????? ?????????? ??????, ? threads ?????? ?? ?? ??????? ???????????
> ?? ???? ?????? ?????? ???????? ???????:
>
> * ??????????? ?? kernel space threads (e.g. native Pthreads)
> ????? ??-?????, ????????? process fork
da no nemovesh da polzwash kernel space w web servera si
kojto e user space oswen ako ne polzwash tozi w kernela
kojto wse oshte e experemental
>
> * ?????????????? ????? threads ?? ???? ?????? ????? ??-?????
> ?? ???? ????? ??????? ???????, ?????? VM, I/O ? ? ??????????
> ?? ??????????? signal ??????? ?? ??????? ??????
>
kakwo iskash da kavesh s prewklyuchwane (poqsni pls)
no za towa ne sporq
taka ili inache rabotata s threads e po fastest ot fork :)
ideqta mi beshe druga
>
> ???? ????, ????????????? ????? threads ? ????? ??-?????, ????????? ?????
> ???????? ??????? ?? IPC (pipes/ shared mem). ?? ???? http ?????? ????
> ????? ???? ?? ? ?? ?????? ????????, ?????? ?????????, ????? ?????????
> ??????? ?? ?? ??????? ?? ??????? ??????????? ??????? ??.
>
praw si ...
no kolko po byrza
move bi w otnhoshenie 80/100 za threads ...
e i ?
nqkoj shte useti li razlikata ?
> >spored mene
> >kogato polzwame threads ... to togawa imame samo edin proces
> >kojto w edin moment stawa mnogo tevak
>
> 100 threads ?????? ??-????? ????? ?? ??????? 100 ???????, ??????
> ?????????? ???????? ?? ?? ??????.
>
da no ideqta e kakwo shte stane kogato ... pametta swyrshi ?
wetno ako rabotim s threads move i da obsluvim 5 clients poweche
no towa ne e ot znachenie ako w sledwashiq moment
nemovem da obsluvim nito edin poradi towa che kernela ni e precakal
> >t.e. kogato imame 100 konnectiona primerno
> >predstawete si tozi demon kolko resursi shte izqde
> >i taka kato qdroto ne e sposobno da dade wsichki resursi na edin proces
> >w edin moment shte widite slednoto w syslog-a si:
> >
> >kernel: killing pid xxx
> >i shte go killne zashtoto ne move da mu usigori neobhodimite resursi...
>
> ??????????? ?? ???? threads ????? ?????? ????????????, ????? ? ? Apache
> ??? ?????????? ???? children. ????? ???? ????? thread ?? ??? ????????
> ????, ?.?. ?? ????????? ???? ?? ???? thread ????????????, ?????? ???????
> ????.
>
.............
> ?? ??? ?????? kernel ?? ????????? Mozilla, ????? ?? ????? ?? ???? ;-)
>
ami az sym wivdal...
no ne mozillata a celiq X
i btw towa stana kogato tyrsek edno crack-che za edin kolega
i se nabutah w obichainite xxx stranici kakto se ochakwashe
sled koeto mi se otworiha sywsem nebrevno oshte 6-7 kopiq na NS-a
i sled kato uspqh s prutytrqne na mishkata da zatworq 3 ot tqh
se otworiha oshte 3 pyti po 3 i poznajte kakwo se sluchi
btw towa e na mashina s 256 ram / 533 mhz
kwo da si goworim poweche
?
> >1wo za thread e neobhodimo mnogo pisane...
>
> ??? ?? ????????? ???? (C Pthreads), ?? ??? ?????? ?? ????? ??????
> ??????????? ????? ??????? ???????, ?? ??? ?????? Pthreads.
>
..............
> >predpolagam ste wivdali kakwo stawa kogato pusnete netscape na po slaba
> >mashina
>
> Mozilla ???? ????????? ? ?? ??? ????? ???????, ?????? ???? ?? ??????????
> ??? ?? ?????????. XMMS ? ???? ????? ?????????? multithreaded ?????????.
>
kakto sam kaza ... sploluchliwa !!!
az problemi s xmms-a nqmam
oswen che na 256ram mi se tytri pri puskaneto i spiraneto
t.e. pri syzdawaneto na threads i killwaneto im .....
> >znachi do kolkoto razbrah (move i da gresha)
> >lektora goworeshe che funciqta za memory alocation e za da se chetat
> > files... mi .............
>
> ??? ? ???? ??????? ?????, ?????? ?? ?????? ????? ???? ????? ?? ?????? ????
> ????? ? ????(edit, pipe, etc.), ?? ?????? ? ??? ???? ;-)
>
ohh
da si priznaq ne razbrah a i nqmam wreme sega da q proslusham pak
> >razbira se towa si e moe lichno mnenie ...
> >priznawam che ne sym potyrsil dokumentaciq
> >no ot towa koeto sym natrupal kato experience
> >moga da izweda samo towa !
>
> ??? ????????? Pthreads ?? David Butenhof ;-)
> ???? ???? ?? ?? ?? ??? ????? Java ?????????? ;-)
[.....]
- --
- -===============================================================-
- - Regards, AngelFire -
- - Stanislav Lechev <firedust@xxxxxxx> -
- - PGP Key: http://firedust.vega.bg/pgp/StanislavLechev.asc -
- - Vega Internet Service Provider (tm) -- http://www.vega.bg -
- -===============================================================-
Everyone is a genius.
It's just that some people are too stupid to realize it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7A9sf8RPXBhiMqewRAhnLAJ9ZNER0X9Tv4WdMUDue28iC1smmEQCfWZO2
JsdUaFxtpdMEtnW7eTJEm0o=
=iA33
-----END PGP SIGNATURE-----
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|