Raspberry Pi Cluster
#1
Hello,

I was wondering if the current build supports clustering/multiple cpu/threads.

If not, are there plans to in the future?
Reply
Thanks given by:
#2
Do you mean running MCServer on multiple Raspberry Pi's?
Reply
Thanks given by:
#3
I'm not sure that's even viable, from the natural point of view. Even if you split the world among the machines, they still need to communicate together the physics, the entities interactions, the AI...

What could be actually viable is having multiple worlds, each hosted on a separate machine, with a "concentrator" machine above the acting like a server. When a player moves from one world to another, they'll be transparently moved from one machine to another (but only the Concentrator would know that)

Still, that's so much work that I doubt it will ever be done. Why, when there are other options, much better? Get a MK802 instead of RasPi - for not even twice the price of the Pi you get a nice piece of hardware that does have the horsepower needed to run a full-fledged server.
As for threads, yes, we are using multithreading, as much as makes sense.

Well, almost. There's one generator thread per world, so we could still improve by having multiple threads generating the same world, but that would be only a marginal difference. Most hosting services offer two or four virtual cores anyway, so no-one would be able to use it. And home computers, that have the cores, have so much muscle that they don't mind having one generator thread only.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)