noosfero | Noosfero API (#500)

Aurélio A. Heckert gitlab at gitlab.com
Wed Mar 11 16:47:49 BRT 2015


New comment for Merge Request 500

https://gitlab.com/noosfero/noosfero/merge_requests/500#note_943618


Aurélio A. Heckert

Ok, i'm now replacing `open-uri` by standard `Net::HTTP.get`.

I'm concerned by performance too, but it is inside an controller.action stack. That must be sync. Is there some node.js like async way? We also must to consider the effort to implement it now.

Well... I'm now adding the result to `Rails.cache`, so it will not to be a problem to all requests.

About the request blocking, with Rails 3, don't must we use a non-blocking server?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150311/c3cec789/attachment.html>


More information about the Noosfero-dev mailing list