Re: [PHP] PHP telnet server
- From: per@xxxxxxxxxxxx (Per Jessen)
- Date: Wed, 31 Dec 2008 17:35:19 +0100
ceo@xxxxxxxxx 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
.
- Follow-Ups:
- Re: [PHP] PHP telnet server
- From: Robert Cummings
- Re: [PHP] PHP telnet server
- References:
- Re: [PHP] PHP telnet server
- From: ceo
- Re: [PHP] PHP telnet server
- Prev by Date: Re: [PHP] IE Problem Detecting Post Variables
- Next by Date: Question about version control.. sorta..
- Previous by thread: Re: [PHP] PHP telnet server
- Next by thread: Re: [PHP] PHP telnet server
- Index(es):