4
4
4002014-08-18 19:21:53
Python
400, 2014-08-18 19:21:53

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

5 answer(s)
D
Disassociative, 2014-08-18
@400

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.

S
Sergey, 2014-08-18
Protko @Fesor

Data transfer between client and server should be as fast as possible.

It's not that much dependent on the language. More from architecture. At you all rests against I/O and in basis. Well, yes, C ++ will definitely be faster but twice as expensive as Java (time is money) in terms of support and development. Although it may not be that expensive.

S
Sergey Lerg, 2014-08-18
@Lerg

Go, C++ or Java. Plsyu fast database, preferably NoSQL.

G
gleb_kudr, 2014-08-19
@gleb_kudr

Any.

L
lookid, 2014-08-18
@lookid

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 question

Ask a Question

731 491 924 answers to any question