Reply to Re: Why TCL?

Your name:

Reply:


Posted by Michael Schlenker on 10/27/06 11:33

Lisa Pearlson wrote:
> Hmmm.. interesting point..
> Recently I upgraded to Apache2.. just a new Debian setup, I thought "why not
> get the latest and greatest version on this new install?". Only to have
> problems with PHP.. because it doesn't work with the DEFAULT apache2 setup,
> that uses mpm-worker thread... had to install apache2-mpm-prefork instead.
>
> I read about it, and.. found the depate about Apache and PHP shoving off
> blame to eachother.. PHP is not thread safe, and is declared that PHP has no
> intention to ever support Apache2 in its multithreaded mode that actually
> boost Apache2 performance and memory requirements, but that it isn't their
> problem.. And Apache2 doesn't see it as their problem either.
>
> This is just stuff I picked up on the news group.. now, I love PHP.. and use
> it plenty, however, can't TCL take adventage of this current issue to 'catch
> up' and perhaps even surpass PHP's popularity?
>
> Is TCL thread safe? Does it support Apache2's new threading model?
> I've used PHP for a few years and TCL only for 2 weeks and I'm already
> willing to make the switch.. no, of course you should not present PHP as the
> enemy, and with that, all of its addicts.. keep them a friend, get them to
> use it side by side first.. TCL doesn't have to rule the world, as long as
> it's known as well as the other alternatives.

AFAIK Rivet also has problems with the Apache2 threading model. WebSH
supports Apache2, but i do not know if there are problems with threads.

Contact David N. Welton on the rivet mailing if your interested in all
the gory details of Threads + Rivet. AFAIK Rivet does not blame Apache
for their new thread model, it was just not yet ported to the new thread
model.

But to Tcl is thread safe, see for example the massive use of multi
threaded Tcl inside aolserver (which had a threaded instead of a fork()
based model from the start, unlike Apache). So yes, you can do high
performance web stuff with Tcl in threaded environments, there needs
just to be someone to do the work and port Rivet to multi threaded Apache.

Michael

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация