Vivek Pandey
Vivek Pandey

Reputation: 3555

Netty: Number of outstanding requests

In apache, there is server-status page which tells me the current status of the server. In particular, it tells me the number of requests currently ('currently' as in, at the time when the server-status page is accessed) being processed. Is there some way to find out the same in Netty?

Upvotes: 0

Views: 244

Answers (1)

Nicholas
Nicholas

Reputation: 16056

It's not built in, but conceptually it is easy to implement (or easy to describe, anyways ;) )

  1. Create a Sharable ChannelHandler:
  2. Add the [same] ChannelHandler instance to all created pipelines as the first handler.

Upvotes: 1

Related Questions