S
S
SergeyDevGor2015-08-06 16:29:41
Java
SergeyDevGor, 2015-08-06 16:29:41

Java - online game server with Spring?

Has anyone had experience using IoC in the form of Spring on a high-loaded game server, how significant is the overhead of Spring itself?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Solver, 2015-08-07
@solver

And what actually strains in such an idea?
I did this.
Spring essentially only initialized the context when the application started.
All game mechanics through netty and sockets.
Well, a couple more services on the rest for statistics.
If the game is not a real-time shooter, then there should be no problems at all, with the correct use of the spring, of course.
If it’s still a shooter, then just don’t drag the spring into the game mechanics. Only initialization at startup.
To do on Core Java and there will be no problems either.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question