I am using rabbitmq as my queue server but my workers are having a slight
problem. I create a connection then send it to multiple threads who in
turn create their own channels and then have each thread does its own work
on the thread. Its basically a threaded version
But when I profile my code over half the time is spent
in com.rabbitmq.client.impl.SocketFrameHandler.readFrame() I think it makes
sense(if thats the part that reads the queue) as my work for each worker is
not that much per item(there's just alot of items).
Is there something I can do to make this part faster? Right now, I set the
awk to 200 and thread the awk part of the code. Is there something that
would allow me to download data in bulk? or anything else that could make
it go faster(it seems like my program can finish the work quicker than the
application can send it one a time)?