Hi,
I was having similar kind of problem.
in order to resolve it, I stopped processing my commands in read callback.
I read commands in read callback and pushed them to my synchronized queue
where threads are waiting on that queue for commands to process them. This
approach reduced burden on read
I got it. Thanks a lot for clarification. :-)
DJ
On Wed, Jun 1, 2011 at 8:50 PM, Nick Mathewson wrote:
> On Tue, May 31, 2011 at 1:40 PM, deepak jain
> wrote:
> > Hi Nick,
> > Thanks a lot for your reply.
> > One more doubt about bufferevent.
> > As in socket net
11 at 5:03 AM, deepak jain
> wrote:
> > Hello,
> > I am a new user of libevent and new to asynchronous I/O , so the
> question
> > may seem quite naive.
> > I am building an application based on libevent on linux using epoll
> backend.
> > Sometime c
Hello,
I am a new user of libevent and new to asynchronous I/O , so the question
may seem quite naive.
I am building an application based on libevent on linux using epoll backend.
Sometime clients of my application can write a huge data to my application
say 100K bytes.
I am using buffer_read_bu