latency

Dealing with Latency in Networked Games

I'm thinking about making a networked game. I'm a little new to this, and have already run into a lot of issues trying to put together a good plan for dead reckoning and network latency, so I'd love to see some good literature on the topic. I'll describe the methods I've considered. Originally, I just sent the player's input to the se...

Should I use a dedicated network channel between the database and the application server?

Should I use a dedicated network channel between the database and the application server? ...or... Connecting both in the switch along with all other computer nodes makes no diference at all? The matter is performance! ...

How do I simulate a low bandwidth, high latency environment?

I need to simulate a low bandwidth, high latency connection to a server in order to emulate the conditions of a VPN at a remote site. The bandwidth and latency should be tweakable so I can discover the best combination in order to run our software package. ...

FTP over Satellite/High Latency connections

I use FTP on a daily basis to work on multiple websites, but when I try to work from home, my darned satellite internet has a latency of about 1000ms. (Its craptastic service, I know, but there are no alternatives where I live.) Thus, I was wondering if there is a way that I can connect to my web server and transfer files that can accomo...

Timers to measure latency

When measuring network latency (time ack received - time msg sent) in any protocol over TCP, what timer would you recommend to use and why? What resolution does it have? What are other advantages/disadvantages? Optional: how does it work? Optional: what timer would you NOT use and why? I'm looking mostly for Windows / C++ solutions, b...

What is the typical interrupt latency for WinCE 6.0 on an ARM target?

What is a typical interrupt latency for WinCE 6.0 on an ARM target? (Just looking for a ballpark value for performance estimation) ...

What is the relative difference between in-proc, interprocess, and inter machine calls?

Ignoring payload size, what is relative difference in latency between an in-proc call (say in C++ or Java), a socket call to a process on the same machine, and a socket call to a process on another machine? This can be expressed as a minimum latency in ns/ms or in terms of relative orders of magnitude. I'm looking for something similar...

Can I use LAMP+AJAX for a (almost) Real Time System?

I have a current system which is build as a Windows Application, and does certain tasks in very close to real time. There are nodes in a network that communicate with our custom server, communicating status, and sending and receiving commands. We are looking to move to a web deployed platform. The nodes, say 60-100 of them, need to co...

Pre-Load Multiple Videos in Flash? In Flex?

I'm doing a project where we play multiple videos back to back, and if we load them the normal way by providing a stream url, there is a load delay each time we start the next video. I've looked through Adobe's docs for both Flash and Flex, and I can't find a way to pre-load the videos. Embedding them is not workable in this applicatio...

VS2008 IDE giving 5 second latency when switching tabs between aspx and aspx.cs , how come?

I have VS2008 (SP1) installed on a XP sp2 laptop. One thing weired on IDE, I don't know how to fix it. I'm programming a web application, have many tabs openning at the same time. When I switch from aspx to aspx.cs back and forth, I always get about 5 seconds delay before I can type the keyboard. I thought this might relate to some b...

C# socket abnormal latency

Hi, I am working on a little online multiplayer pong game with C# and XNA. I use sockets to transfer data between two computers on my personnal LAN. It works fine. The issue is with speed : the transfer is slow. When I ping the second computer, it shows a latency of 2 ms. I set up a little timer inside my code, and it shows a latency ...

Get latency from host in C++

Using C++, I would like to use a command/class to get the latency time from pinging a host to use in my program. I tried using the ping command but there was no easy way to gather the time since its included with other statistical information. I was hoping for an easier approach. ...

How to determine latency of a remote server through the browser

I run a couple of game tunnelling servers and would like to have a page where the client can run a ping on all the servers and find out which is the most responsive. As far as I can see there seems to be no proper way to do this in JavaScript, but I was thinking, does anybody know of a way to do this in flash or some other client browser...

Database Network Latency

Hi All, I am currently working on an n-tier system and battling some database performance issues. One area we have been investigating is the latency between the database server and the application server. In our test environment the average ping times between the two boxes is in the region of 0.2ms however on the clients site its more ...

synchronize clocks over internet

I am sending real-time-critical data over the internet between two dedicated computers, using my own protocol. There is, of course, latency involved. For debugging and optimization, I like to have both computers use the same timebase. I.e, I need to know the time difference of their clocks so that I can judge the latencies better. Of ...

Configuring sockets to use small packets in Java

I am processing time critical messages which are routed to me via a very slow network connection. I am connecting to the originating server (which I have no control over) with a Java TCP/IP Socket. The data is of varying length but is usually around 5000bytes and so ends up getting broken into multiple packets of roughly 1400 bytes. ...

How to deal with delays on telnet connection programmatically?

Hi all, I utilize TcpClient class to implement a telnet connection. What I don't know is how to determine the end of response. It seems that once DataAvailable property is true, I read the data from Stream and DataAvailable is then temporarily set to false while buffer is being filled with another chunk of data but I think is all read an...

How to tunnel multi-player game data over HTTP with IIS to minimize latency?

I would like to create a browser-based network game. To ensure it can be used by as many people as possible, I'd like to embed all the traffic in standard HTTP packages. Assuming I use IIS as my back end, how should I code this to minimize latency? Is it reasonable to start with an ASP application of some kind (ASP.NET MVC perhaps) ...

How do I obtain the latency between server and client in C#

I'm working on a C# Server application for a game engine I'm writing in ActionScript 3. I'm using an authoritative server model as to prevent cheating and ensure fair game. So far, everything works well: When the client begins moving, it tells the server and starts rendering locally; the server, then, tells everyone else that client X ...

Regarding Latency In Ping

What is meant by latency which is returned by ping ...