An open source asynchronous event-driven network application framework written in Java. It is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients
6
votes
1answer
1k views
Netty multi-connection packet handling
On my free time, I was working on a system that could help some little private companies, like game servers, etc.
The last few days I have been working in such small companies, and I noticed that ...
2
votes
1answer
383 views
High-volume object-passing from client to server
I have 1 client and 1 server. Client passes Java objects (throughput 10000/sec). I am using Netty. I am short on CPU and this code consumes a lot.
I have to make Server1 (Netty Client) talk to ...
2
votes
0answers
895 views
Netty connecting to multiple servers
I am using netty to connect to multiple servers, query for an item, and aggregate the results in my Client. The code below works, but I am unsure if it is the best way of achieving my goal. Also, I'm ...
2
votes
1answer
595 views
Optimizing code using semaphore to control Netty channel pool - Part 2
Please have a look at my original question:
Optimizing code using semaphore to control Netty channel pool
I have made some changes as pointed out by @rolfl
The new code is as follows. Is this better?...
3
votes
1answer
402 views
Optimizing code using semaphore to control Netty channel pool
I am using Netty to exchange messages between a client and server. For this, I am maintaining a channel pool on client side. Please help me in optimizing this code.
...
4
votes
1answer
506 views
Writing a new Finagle protocol
The following is a fairly naive implementation of a Finagle protocol that uses the scodec library for binary encoding and decoding. I'll assume something like the following SBT setup:
...
3
votes
1answer
616 views
Netty-based safely network reconnection
I am writing a TCP client app using netty
NettyConnectionManager.scala:
...