Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question