On Tue, Feb 09, 2010 at 11:12:44AM -0800, Ben Bangert wrote: > Any details on what exactly you need to hold open? :)
My app manages various network devices, some of which require connecting via ssh. Currently, my app connects on request to retrieve data from the network. Key negotiation and TCP handshake can take enough time to really add latency to user requests currently do. Devices that use SNMP don't suffer from these performance problems since you can get to data as soon as you want. I was setting a pool of idle connections that client requests could lock and use for their operations before returning them to the pool. I think you're right that moving this cache into a seperate app is the right way to go. I've done exactly this for similar issues, so it's not an unfamiliar pattern. -- Ross Vandegrift [email protected] "If the fight gets hot, the songs get hotter. If the going gets tough, the songs get tougher." --Woody Guthrie
signature.asc
Description: Digital signature
