I am building an application which connects to 100's of devices over the
air in bulk (I poll all the devices at the same time). I am having
trouble properly configuring Mina 2.x to properly establish a connection
in a timely fashion with the devices. The more devices I try connecting
too, the more likely the probability of a connection timeout will occur.
I would like to prioritise the thread establishing the client
connections so as not to get a timeout. Currently, my filterchain stack
is a bit slow because I am making use of a non optimized hibernate
implementation to persist the data retrieved from the devices eventhough
I used an ExecutorFilter.
 
What would you recommend to help prioritize the connection handling
events? Currently the only thing I can think of is to increase the
connector.setconnecttimeoutmillis() value.
 
I am using for an executor Spring's ThreadPoolTaskExecutor and
developping under windows Vista
 
 
Simon 

Reply via email to