As far as I can tell, the rubydora client is not sending Keep-Alive headers for its connections. This causes a lot of connection-setup overhead in our use case where we load lots of datastreams for the same object in succession.
Switching to Faraday and Net::HTTP::Persistent adapter should fix this -- I'm not sure RestClient supports keep-alive.
As far as I can tell, the rubydora client is not sending
Keep-Aliveheaders for its connections. This causes a lot of connection-setup overhead in our use case where we load lots of datastreams for the same object in succession.Switching to Faraday and
Net::HTTP::Persistentadapter should fix this -- I'm not sure RestClient supports keep-alive.