Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

netty tcp bytebuffer server and client

After exploring and implementing Proactor design pattern, faced an issue that the client('C' client) connections are no more accepting after a limit. Started to explore netty. Here is what Iam trying to do 1. C client establishes a connection 2. Java Server accepts connection and starts sending 8 Mb size of Byte Buffer to the client using TCP. Any ideas ? Is netty a good option ? I have browsing for a good examples of netty, unfortunately unlucky.

Thanks in advance.

Regards Ravi

like image 419
Ravi Avatar asked Nov 22 '25 05:11

Ravi


1 Answers

Well yes netty is a good option. You should use ChunkedFile

Here is a good example.

like image 156
Shubham Chaurasia Avatar answered Nov 24 '25 19:11

Shubham Chaurasia