473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

What is latency?

I have a script that fetches information from a hundred website. It
takes a long time because each website takes a second for the server
to respond. Based on suggestions in this newsgroup I have speeded it
up. But why do servers take one second to spit back a small 3 kilobyte
text file. Why isn't it instant? How does voice over IP overcome this
'delay' problem?
Apr 3 '08 #1
1 1401
Hi,

Erwin Moller wrote:
How does voice over IP overcome this 'delay' problem?
[...]
(Why VOIP is fast? I don't know. Maybe it uses UDP instead of TCP/IP.)
It certainly does (all VOIP protocols I know of, most of them using RTP
for speech transport -- note that signalling is a different matter!).
That alone saves you an SYN/ACK roundtrip compared to TCP. But that's
not all. It also usually sets the QOS bits on the IP packets to
"throughput". Depends on the routing infrastructure if this information
is used, respected or just kept. Also, we talk about (two)
unidirectional channels which are allowed to have some loss. Not even
remotely comparable.

Parallel fetching would indeed be the solution for the problem in
question here. It even doesn't necessarily mean a CPU or memory
overhead when looking at the relative resource consumption over time...

-hwh
Apr 3 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tormod Engebu | last post by:
I'm currently using Jet for an Visual Basic Access application. The application is supposed to delete a row in a table, and afterwards update indexes on the remaining rows in that table, by...
3
by: walker_alone | last post by:
I'm develop a realtime voice record and playback on pc soundcard, I use OSS API to implement it, but have latency about 1 seconds, this was to long for voice, how can I reduce the latency? I reduce...
3
by: alainpoint | last post by:
I know Google are using Python for testing purposes. But for the rest ? is it PHP or Java or .NET? Which technology is rendering the google main page? And of course th obvious question, why not...
3
by: cochrane68 | last post by:
I'm developing a web application that will be used at very high latency locations (>400ms). I have a lot of javascript files that I use in the application, and therefore often have large numbers...
1
by: aalimbl | last post by:
I want to ask one thing that either wireless medium has high latency or wired medium. Please compare latency (propgation delay) between Fiber and Wireless (WiFi or WimAx) Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.