From: snacktime Date: 2006-08-23T13:36:49+09:00 Subject: Re: cURL in ruby? Faster than Net::HTTP? > > What do you mean by the DNY lookup is asynchronous and will block my > process? If I was to call curl directly from the command line using > `curl` in ruby wouldn't that be much faster. In this instance it wo uld > get it's own process and take better advantage of a dual processor > system. Am I correct, because what I planned on doing was just using > curl directly from the command line unless there is a downside to this. > From my understanding dns lookups block in ruby, as in they stop the whole program until the dns is resolved. I can't imagine that forking another process would be more efficient then using net/http.