When inserting a large amount of URLs into the Drone web service, I've noticed that the rest of the web service slows down completely.
I suspect this is because the Ruby web service is running in some sort of single-thread mode, where new requests will not get processed until every older request is serviced.
So, if we feed the Drone webservice 50 URLs, then the service will have to perform a DNS lookup on each hostname (which takes significant time). During that time, the web service appears to hang/pause. Once the insert is finished, the web service completes.
Dave, is there any way we could multi-thread this portion of the code, in order to handle simultaneous requests properly? Perhaps this is just an artifact of using WEBrick as opposed to Apache? Let me know your thoughts on this.