From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Roundtrip latency problem using Gnoga, on Linux, when testing at localhost address Date: Wed, 30 Mar 2016 22:23:56 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <8f3d3515-aa1a-4d7c-b465-3ad25c902ae5@googlegroups.com> <2fa7a9d8-57c6-4a9f-a81f-7f341da17cb8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 31 Mar 2016 05:20:47 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48b46be33beed75863f69afa437f956b"; logging-data="19429"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Jc3MHAmkUhbjHCQDYzuT2ilM27p+2o04=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <2fa7a9d8-57c6-4a9f-a81f-7f341da17cb8@googlegroups.com> Cancel-Lock: sha1:nShl7tSGLCsUmcFIvRjmySHr/C8= Xref: news.eternal-september.org comp.lang.ada:29929 Date: 2016-03-30T22:23:56-07:00 List-Id: On Wednesday, March 30, 2016 at 11:35:59 AM UTC-4, Olivier Henley wrote: > > I am trying a small multiplayer 2d game using Gnoga and Phaser.io and and I > am experiencing some 80 ms for any roundtrip test when trying my game at > 127.0.0.1:8080. I profiled javascript and it looks like it take 0.4 ms on > the client side to process round_trip(). > > Anyone has an idea about what is wrong? AFAICT, nothing is wrong, unless you have timing requirements that aren't being met. Since you're talking about a game, and 80 ms is too short for a human to notice, I don't see that you have a problem. -- Jeff Carter "Many times we're given rhymes that are quite unsingable." Monty Python and the Holy Grail 57