Panagiotis Atmatzidis <atma / convalesco.org> wrote:
> macosx-dev> ruby test.rb 
>        user     system      total        real
>    0.110000   0.020000   0.130000 (  4.564007)
> freebsd-10-prod> ruby test.rb 
>        user     system      total        real
>    0.117188   0.007812   0.125000 ( 71.876525)

user + system times look similar between them.

> The module code can be found here:
> https://github.com/atmosx/pritory/blob/master/helpers/skroutz.rb

> Any ideas where/what to start looking for? 

> The FreeBSD server runs on a VM as a VPS. There are other applications without
> problems (sinatra apps + ruby scripts).

I suspect different latencies to api.skroutz.gr
Can you check ping times to api.skroutz.gr from your server
vs your dev machine?