latency

Latency of requesting a object from S3 to EC2

What's the latency to GET an object from S3 from an EC2 Instance. For example, how many ms before the actual data stream for that object starts streaming back when requesting a object by it's full path. If the object exists on S3 If the object does not exist and to send a 404 Latency, not Throughput. ...

ssh hangs with high latency connection (connecting internationally)

This is been making my programming really frustrating lately. I´m in Argentina right now connecting to a U.S. server via SSH. Understandably, the pings are a bit higher here (around 200ms on average) so when I SSH into the server there is a slightly noticeable lag between each keystroke. This is fine and easy enough to work with. Wha...

Google analytics, privacy and latency

Hi, I'm considering putting the Google Analytics tracker on my blog to get better stats (right now I use Summary.net, which is fast but occasionally of questionable accuracy, though way better than awstats). At any rate I have 2 big concerns and though I should ask the community here for opinions: Privacy. In the past I've gone so far...

How to deal with NFS latency in shell scripts

I'm writing shell scripts where quite regularly some stuff is written to a file, after which an application is executed that reads that file. I find that through our company the network latency differs vastly, so a simple sleep 2 for example will not be robust enough. I tried to write a (configurable) timeout loop like this: waitLoop...

Latency on mobile networks (Android)

I am planning to give mobile phone development a shot and was thinking about making some simple multiplayer games. I know latency over local wifi is probably fine but what are the issues with latency over GPRS/3G? I've searched and the best I've seen is someone saying it was 'high', without presenting any concrete numbers. I suppose l...

Bandwidth throttling software

I need to be able to simulate high bandwidth/high latency/high packet loss on my pc for the purpose of testing the software that I'm writing. I've seen some software that you can install on a separate machine that will act as a throttling router/gateway but 1) I didn't really trust the companies that I found 2) A separate machine isn't...

How do you measure latency in low-latency environments?

Here's the setup... Your system is receiving a stream of data that contains discrete messages (usually between 32-128 bytes per message). As part of your processing pipeline, each message passes through two physically separate applications which exchange the data using a low-latency approach (such as messaging over UDP) or RDMA and fina...

Latency between SQL Server 2005 and .NET

This question is an follow-up of an previous asked question. I've written an simple program who looks like this. string s; do { using (SqlConnection conn = new SqlConnection("POOLEDCONN")) { using (SqlCommand cmd = new SqlCommand("", conn)) { s = (string) cmd.ExecuteScalar(); Code2IncrementPerfomanceCounter ...

Live streaming video latency

Trying to determine what's "most" responsible for latency - the round trip my video makes from my encoder, to my server, and back down to the player in my browser. I'm at about 12 seconds right now with a player I like. Is it buffering in my player? Buffering on the way out by FMLE? The reason I ask is I feel I've eliminated other ...

High latency for linux network app

Hi there, I am playing around with linux network programming and I wrote a little client server app which bounces a small message between a client and a server process and measures the round trip time. Consistently I see around 80ms for localhost round trip (this is after connection setup). This seems extraordinarily high. The same mach...

Making a real-time audio application with software synthesizers

I'm looking into making some software that makes the keyboard function like a piano (e.g., the user presses the 'W' key and the speakers play a D note). I'll probably be using OpenAL. I understand the basics of digital audio, but playing real-time audio in response to key presses poses some problems I'm having trouble solving. Here is t...

Designing WCF server for low latency

How to achieve low latency of WCF server in publish-subscribe scenario? Specifically, clients subscribe to data and receive updates, latency in question is between data changing and client receiving the change? CPU, memory, bandwidth requirements are not important and can be high. Basics are obvious: binary serialization, named pipes, e...

Do good multiplayer/mmo client<>server games use latency within movement calculations?

There's a couple of questions here. Imagine I have client A who's going to send the following message to Server: "START MOVEMENT FORWARD". The server will not receive this message instantly, as there is a delay because of latency. Question 1: ping (or better: round trip time) is the amount of time it takes for the client to send a mes...

Selecting optimal server without using ping?

I'm looking for the best approach for selecting the "optimal" network server. Use case: A user at home needs to access a network through any one of the geographically dispersed servers, and we want our desktop app to automatically select one in under a second. The servers block ICMP packets so ping won't work. We're thinking of sending H...

DB design/latency/concurrency, awful headache

I have a client-server application which gets all the data out of a couple of tables, recalculates something and stores it. Example: Each Item has a 'Bill of Materials' = the list and quantities of which other items it is made out of. Therefore the cost of an item is the sum of the cost of the items in its BOM * their quantities. Ultim...

First time adhoc app load onto iPhone

Hey I've got an adhoc distribution of an app I'm attempting to put on the clients phone. On the initial load after sync to our test phones with iTunes I'm seeing a 30 second load time until the app shows the main screen. Every subsequent load, however, is lightning fast. I was just wondering if the first load from an adhoc distribution ...

Fastest way to share a connection and data from it with multiple processes?

I have multiple app processes that each connect to servers and receive data from them. Often the servers being connected to and the data being retrieved overlaps between processes. So there is a lot of unnecessary duplication of the data across the network, more connections than should be necessary (which taxes the servers), and the data...

latency orders of magnitude for app architecture considerations

Is there a reference which lists approximately how long it takes (in relative or absolute terms) to transfer information over network (udp vs tcp/ip), disk, memory (sequential/random access), in-process vs inter-process, etc.? Eventually I'll have to measure these, but I'll appreciate pointers to ball-park figures. Memory vs disk is no...

Launching an online app: do I use CDN, Amazon Services or a dedicated server?

My web application requires as little lag as possible. I have tried hosting it on a dedicated server, but users on the other side of world have complained about latency issues. So I am considering using CDN or Amazon services.... would either help resolve this? The application uses a lot of AJAX, so latency can be an issue. ...

How to check the cause for a HTTP request latency/waiting time?

I issue a simple GET request to my server, and it's coming back after ~1.2 seconds on average (using firebug NET tab, the "waiting for reqponse" part- not even the whole reponse time) My ping to the server is 0.250 Using Passenger with rails 2.3.3, in the rails log the request is taking ~0.023 My server is on GoDaddy, so I checked the...