Re: PHP telnet server

From: Date: Wed, 31 Dec 2008 16:35:19 +0000
Subject: Re: PHP telnet server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-285295@lists.php.net to get a copy of this message
ceo@l-i-e.com wrote: > >>> I often thought PHP would be a nice language for a MUD, if one could >>> get the performance out of it... >> >> Design your code such that you can just throw more hardware at it >> whenever you need more performance. > > That's easily said, but a MUD means all the users have to share a > significant portion of your data model. That's fine - there are many well-known schemes for distributing and updating such data. > Though I suspect the bandwidth issue would be the main bottleneck most > of the time... > I don't want to get into this in much detail, mainly because I've > spent all of 5 minutes seriously thinking about it, and may just need > more bake-time... > But it's not ALWAYS that easy to architect something to be > "shared-nothing" even with PHP. It's not easy in any language, but if your key concern is the performance of PHP (as a language), hardware is what you need. You can design your software to run on a single box with lots of CPU cores, or you can go for a distributed (and more easily scalable) approach. If you don't need/want straight scalability, go for the 32 cores all ticking at 3GHz. Once that is saturated, buy another one. /Per Jessen, Zürich

« previous php.general (#285295) next »