Answer the question
In order to leave comments, you need to log in
What language to choose for the mobile application server?
Data transfer between client and server should be as fast as possible.
In the application itself, the action takes place as in the game "Clash of Clans", everything is instantly fast,
and each action is recorded in the database.
In the arsenal:
JAVA
C++(Boost Asio)
Python(Twisted)
Answer the question
In order to leave comments, you need to log in
This question is solved not by language, but by architecture. Therefore, it does not matter on what it will be written, it is important how.
In my social games, the services are separated from each other and communicate purely through ZeroMQ channels. For example, I have a socket server that communicates with a pool of performers, there is also billing, an admin panel and an event queue.
At one time, the socket server worked in erlang, now in python using epoll. If there are bottlenecks somewhere, the service can be quickly redone as it is loosely connected to the rest of the game. If there is not enough performance, you can add a couple of workers, throw them to another host, and so on.
Also, it seems to me that responsiveness in Clash of Clans strongly rests on the fact that a lot is considered on the client.
Data transfer between client and server should be as fast as possible.
Do you record every action or every frame or statistics? Thick client or thin client? Who is more important client or server? Who manages the stage and moves the units? You can also write a server in Java, it is more stable. You will not catch memorials and corps 100 times per match.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question