开发者

Netty Server handling multiple clients

开发者 https://www.devze.com 2023-04-02 06:35 出处:网络
I want to set up a server that handl开发者_如何学编程es a calculation request. This calculation can be split up in x partial calculations so I want to have multiple clients that may register to the se

I want to set up a server that handl开发者_如何学编程es a calculation request. This calculation can be split up in x partial calculations so I want to have multiple clients that may register to the server. The server should have a list of these registered clients.

When the server receives a request it splits the calculation in its x parts and afterwards sends each calculation request to the clients and waits for the clients to end its calculation.

Does someone have an idea how to do this with netty or any other technology that may be easier? Netty seemed to be the right solution for me but I don't know how I can register and save the clients in the server and afterwards send the calculation parts to the clients and wait for them.


Give Hazelcast a try (distributed execution).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号