Is Scala a good choice to implement a well scalable MMORPG? I read about people suggesting Erlang, because better concurrency handling. But Scala has actors/message driven concurrency and functional programming. Should not that handle the concurrency and scaling also well?
Sorry I don't know Erlang and also don't have experience with Scala neither MMORPG development. That's why I can't make the question more concrete yet. I'm looking for the best way to go to develop an easily scalable MMORPG. And think Scala maybe is/could be a good choice.
Scala is fine for a MMORPG, but it doesn't necessarily have existing frameworks that are available for other platforms (especially C++). Erlang's fault-tolerance and scalability are legendary, but if you use the Akka framework you'll have a comparable set of capabilities (for the most part).
One advantage to using Scala is that you can take advantage of Project Darkstar, a Java-based platform for MMORPG creation. Here's an example of it being used, though I'm not sure it's actively maintained any more.
Scala actors (consider akka) are actually influenced by erlang. This is highly subjective, but I believe actor model is a great fit for mmorpg.
I guess the overall architecture would involve actor per character/NPC - Akka is perfectly capable of handling millions of actors in a cluster. Oh, did I mention Akka 2.0 can be easily distributed?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With