--Apple-Mail=_DF1D30D1-307B-4DD1-82D2-30D1EBBEB65B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello Eric,

Thanks for the reply.

On 12 =CE=A3=CE=B5=CF=80 2014, at 24:53 , Eric Wong =
<normalperson / yhbt.net> wrote:

> Panagiotis Atmatzidis <atma / convalesco.org> wrote:
>> macosx-dev> ruby test.rb=20
>>       user     system      total        real
>>   0.110000   0.020000   0.130000 (  4.564007)
>> freebsd-10-prod> ruby test.rb=20
>>       user     system      total        real
>>   0.117188   0.007812   0.125000 ( 71.876525)
>=20
> user + system times look similar between them.
>=20
>> The module code can be found here:
>> https://github.com/atmosx/pritory/blob/master/helpers/skroutz.rb
>=20
>> Any ideas where/what to start looking for?=20
>=20
>> The FreeBSD server runs on a VM as a VPS. There are other =
applications without
>> problems (sinatra apps + ruby scripts).
>=20
> I suspect different latencies to api.skroutz.gr
> Can you check ping times to api.skroutz.gr from your server
> vs your dev machine?

I'm on the bus now to Vienna airport, connected via bluetooth-tethering =
from an iPhone (3G probably). Ping replies are normal though.

# MacOSX dev machine
> ping -c 10 api.skroutz.gr
[...]
--- skroutz.gr ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev =3D 257.541/380.245/542.174/111.240 ms
> time curl https://api.skroutz.gr
curl https://api.skroutz.gr  0,03s user 0,01s system 1% cpu 3,082 total


# FreeBSD Production
> ping -c 10 api.skroutz.gr
[...]
--- skroutz.gr ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev =3D 52.895/53.028/53.196/0.093 ms

> time curl https://api.skroutz.gr
curl https://api.skroutz.gr  0,05s user 0,02s system 2% cpu 8,190 total


Generally speaking there is some latency in the server but doesn't =
justify almost 60+ seconds of difference :-/

Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5

"As you set out for Ithaca, hope the voyage is a long one, full of =
adventure, full of discovery [...]" - C. P. Cavafy





--Apple-Mail=_DF1D30D1-307B-4DD1-82D2-30D1EBBEB65B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: Public Key Encryption

iQIcBAEBAgAGBQJUEow7AAoJEPy01a8ae/7FkbIP/02HKH/gjEeiLZ0bePFXWCig
UlpruLcuj1TN8AMyRfUPLa7s+ZjGAND3e8YqWxiZHr4D2nl7o1qia2yNnOUUfMPF
gSvb3SjARRMymgxfTpBsfwievpEn3rGcO3Mid45VRRG5uXB/UVsvij3CMFptJQ+L
6hkJO6v+MTboKzDwZFjLsRItMHPSKql/sZdC6C697cT7Jsr5ogf6jLxJ4pvb1QsW
rEhzD5zxPVYuLI1aUPYV7hiPIlbqEp3T1L4VqBsSaTq3q5vjms6zbx+PYZxboisv
i4FwVW1zAiwc0UFES7QXsVxep71U8SFo1fze80d30kaYuaufuCq+Mc1bpXsmPdF3
VCBcXrPKR0QuVRom3req/NX52xXsLKc6W8va3ox3HpUsamvIanR3svZT1k8xEOmF
gpXUKmIBwdaojSA9Yb1hnm/f7vr76ZdRA4JCWA7Rp3PYcHtESIfIGnxiORhYu2XV
ryy/rYF3oGVOaxFjjCNtBz7Rr8jn6gYN0ltteFSWLIut0vGQkSmLd9Mrzx80I10f
kisAG87u6yM7Y92Pdk9HFX/AgFF+ZDrN8Y21cueIRXr9PTxg73ulobKri1tTZS0q
zakDJyXDkCxzlmlyJIulFapfhnrOrls8JsThSuVZFByKgBJ+nyzIo4fNLTVquTsw
dnKqRqs/N1KX9+jbrS61
=pMRk
-----END PGP SIGNATURE-----

--Apple-Mail=_DF1D30D1-307B-4DD1-82D2-30D1EBBEB65B--