Re: Creating A Chat?

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

 



Yes, indeed, the Apache footprint is quite large. Furthermore, with Xaja
design, I'm starting 2 processes per connected user.
Basically, it requires about 10Mo / user, so the footprint is really bigger
than what you are having with pnotes.

Currently, it scales quite well up to 100 users (I've never been testing
further).
The whole interest with Xaja in my opinion is that you can do some Reverse
Ajax and Comet stuff without writing a single line of Javascript. And since
it uses only Apache and PHP, it's cross-platform.

I'll keep an eye on pnotes too, if you plan to keep evolving it. There is
only a demo on the web site right now. Do you plan to release it some day?

David.


On Tue, 21 Apr 2009 17:25:29 +0100, Stuart <stuttle@xxxxxxxxx> wrote:
> 2009/4/21 David Négrier <d.negrier@xxxxxxxxxxxxxxxxxxxx>:
>> There are other ways to do this. I've been doing this in a pure PHP way
>> with Xaja (without the need of using fastcgi, with just PHP and Apache).
>> There is an explanation going on here:
>> http://www.thecodingmachine.com/ext/xaja/doc/about/architecture.html
>> Maybe it will make things more clear.
> 
> Apache has a very big footprint per user, especially when it's using
> mod_php, so I'd guess you're pretty limited in terms of concurrent
> connections. The actual use case for the pnotes.org code is expecting
> several thousand concurrent connections at peak, potentially more.
> 
> Xaja looks interesting tho, will be looking further into that. Thanks.
> 
> -Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux