Lately I’ve been playing a lot FFXIV and Black Deset Online, during my game time I started to think about the millions of events that happen in the game and how really complicated it can be to create a server for an MMORPG (I’ve created some game servers before but just as research)
So I asked myself, how well can Elixir handle a server of this type?
From what I’ve seen most game servers are written on a combination of Java and C/C++ for all the internals like entity system, networking, geometry engine, inventory management etc…
So the intention of my previous question is how well Elixir can handle such things?
We already know that Elixir can handle things like chat (Riot Messaging System is written on Erlang) and networking really well (TCP/UDP), but what about entities system, questing, spell timers etc… ?
We also know that Erlang VM isn’t really good at doing calculations (with those kind of servers relly a lot), but fortunately we have NIFs that can help solve this problem, tho is a good idea in doing such thing as a nif? The best example could be all the geometry engine or the positioning system, tho Elixir could handle things like speed hack controls etc…
So what do you think?
Is Elixir capable of handling all the most important parts of an MMORPG game server?
Would it be more costly to run compared to writting it on another language?
Do you think is there any direct benefit on using Elixir on this case over other solutions?
Do you have any experience handling similar projects? How was the experience?