Will this non-blocking Faraday library work with non Eventmachine
based servers like Phusion Passenger?
I think I have observed Phusion blocking on S3 transfers with this
gem. I am trying to get that out of my controller ASAP.
Ankur
On Apr 14, 1:37 pm, pete <
p...@peterhiggins.org> wrote:
> > On Tue, Mar 29, 2011 at 7:12 PM, Travis Reeder <
tree...@gmail.com> wrote:
>
> >> ahh, nice. Trying to swap out the guts with Faraday right now, I'll see
> >> how easy (hard?) it is shortly.
>
> >> On Tue, Mar 29, 2011 at 6:32 PM, pete <
p...@peterhiggins.org> wrote:
>
> >>> On Tue, Mar 29, 2011 at 6:20 PM, Travis Reeder <
tree...@gmail.com>wrote:
>
> >>>> Hmm, that's interesting, hadn't seen Faraday before.
>
> >>>> So we could just do it all in Faraday, then swap out the adapter:
>
> >>>> builder.use Faraday::Adapter::NetHttp
>
> >>>> with an EM one if the user specifies it. We could add an :adapter option
> >>>> when creating a new 'aws' service object, eg: Aws::Sdb.new(.....,
> >>>> :adapter=>:em). Would have to fork faraday and add the EM one, then ditch
> >>>> right_http_connection.
>
> >>>> On Tue, Mar 29, 2011 at 5:59 PM, pete <
p...@peterhiggins.org> wrote:
>
> >>>>> On Tue, Mar 29, 2011 at 4:18 PM, Travis Reeder <
tree...@gmail.com>wrote:
>
> >>>>>> Wonder if we should just skip the right_http_connection gem altogether
> >>>>>> if user specifies they want to use EM?
>
> >>>>>> On Tue, Mar 29, 2011 at 2:29 PM, pete <
p...@peterhiggins.org> wrote:
> >>>
https://github.com/technoweenie/faraday/blob/master/lib/faraday/adapt...