These days I see those junkies who spend their days emptying their wallets on more ram. But the thing is, pocketmine doesn't use much ram. I had 70/70 on very big pc ported maps. You know what the ram usage was? 800 megabytes. So there is no need for huge amount of ram like 8 gb, 16gb, and I've seen even people using 64 gb. Also if your going to buy so much ram or rent it make sure it's DDR3 as that is the latest ram. Of your using DDR2 ram then "lol" for you! Also I noticed people cranking all of this and forgetting about the memory. By this I mean they use hard disk drives. Yes most people are running overloading production servers on a technology made 60 years ago. No. Don't do that. Instead of spending money on ram get a ssd with the latest SATA (data transfer rate) and I promise you it will improve your server 100 x and 1000 x more than buying more sticks of ram that pocketmine will never utilizse. Ssd helps alot especially on plugins that have a database or map loading ALOT. Also one more thing to say. We all know how awful pocketmine distribute cores, using one and having minimum use on the rest. But these days people think, more cores is better! NO Instead of getting a turkey defrosting neutron emitting AMD processor go with a intel and make sure it has High ghz PER CORE. A intel processor xeon let's say with 8 cores at 2.4 ghz each core will perform less than a intel processor i5 with 3.1 ghz. This is because no matter if you turn on multithread setting, pocketmine loves to use 1 core so use that as a money saving advantage (a intel i5 wis much cheaper than a xeon and make sure you Buy a HASWELL type processor) That's my 2 cents Critique me now lol
And it's true Grab FAST memory but not lots of it, get FAST disk (SSDs) to reduce world load times, and prefer core frequency over core number. This is not your usual web application.
The problem is not the RAM. The problem is that PHP 5 interprets code at runtime instead of compiling it to machine code. Languages like C, FreeBasic, ... compile the code to machine code and the output executable is directly loaded on memory (in case of FreeBasic the assembler is GNU ASM). Then PHP 5 has still some functions which aren't cleaned up and optimized. File I/O with PHP 5 for example is much more slower than Java or C#. PHP 7 should be much more fastest with the internal JIT (it will solve lots of CPU issues)
Due to the complication and price, DDR5 is used in Graphic Cards. DDR4 is too new and expensive to be used in production servers. Maybe 1-3 years we will see common use of DDR4 RAM
Ram would actually help if you use Samsung's RAPID technology, which can double your SSD speed (540 ---> 1200 Mbps) by using ram as chache.
Yeah but would you need 16 gb of unessesary ram. That money could be used in buying a SSD. I'm trying to be economical.
Also make sure to be on a good network connection. Slow internet speeds slow down packet transfer with many players. Lag is the result.
Actually even 5mbps would be good for like 100 players, as long as its fiber optic for super low latency and packet loss.
Also, it's important to Highlight that the server is just one side in Multiplayer experience, the other side resides in each player, if they have a slow Device or a slow internet connection, then the results will not look "OK" for them