473,396 Members | 1,963 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,396 software developers and data experts.

xmlhttp request reaching server late

We use xmlhttp to query data from the server and also to submit data
to the server to initiate transactions. The querying is a polling
mechanism which is continuously polling the server.
We notice that sometimes for some users while the http request to
query data reaches the server within a second, the time taken to
submit data is extremely high (in excess of 5 secs). I wanted to
understand what could be the possible reason for this behaviour.
Thanks
Raghu
Jul 23 '08 #1
2 1431
raghuram.nida...@gmail.com wrote:
We use xmlhttp to query data from the server and also to submit data
to the server to initiate transactions. The querying is a polling
mechanism which is continuously polling the server.
We notice that sometimes for some users while the http request to
query data reaches the server within a second, the time taken to
submit data is extremely high (in excess of 5 secs). I wanted to
understand what could be the possible reason for this behaviour.
It depends on the ISP and the subscription type, but upload traffic is
usually much slower than download traffic. In my case I have a 10 MB/
sec downstream and 1 MB/sec upstream. And the larger the submitted
data (upload), the slower the data will arrive at server. Not sure
which method you use, but server also needs a bit more time to parse
POST-requests compared to GET.

Hope this helps,

--
Bart
Jul 23 '08 #2
* ra**************@gmail.com wrote in comp.lang.javascript:
>We use xmlhttp to query data from the server and also to submit data
to the server to initiate transactions. The querying is a polling
mechanism which is continuously polling the server.
We notice that sometimes for some users while the http request to
query data reaches the server within a second, the time taken to
submit data is extremely high (in excess of 5 secs). I wanted to
understand what could be the possible reason for this behaviour.
In addition to Bart's remarks also note that the queries might inter-
fere with the submissions, or there may be yet other requests to the
server, like images loading in the background, so that the browser may
run out of networking resources (e.g. there usually is a per-host and
sometimes a per-ip address connection limit that varies among browser
versions). You could use network analyzers like WireShark to gain some
insight into this kind of situation.
Jul 30 '08 #3

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

Similar topics

3
by: kajol | last post by:
Hi everyone I am trying to get the content of any webpage (URL) using XMLHTTP, and it is working fine for me, but suddenly I have got a URL "http://www.bizrate.com/" which is causing a system...
3
by: Mark | last post by:
Hi all i was just wondering if you help. I have to send a cgi request to a company using xmlhttp request. They reply back with a line of info but when you view the internet explorer source code...
1
by: Raúl Martín | last post by:
I´ve a function in asp that run correctly but If I tried to change it forasp.net in asp: xmlHTTP = CreateObject("Microsoft.XMLHTTP") And I thought to use this sentence for asp.net but the...
8
by: rithish | last post by:
I am on IE 6. I was trying out a simple xmlhttp function that send GET/POST requests. However, IE throws an 'unspecified error' when I call the 'setRequestHeader' method. The function that I am...
9
by: balakrishnan.dinesh | last post by:
hi friends, Exactly what i want to know is, In my product we are using xmlhttp request to retrive some data from the server, And Im using IE browser, its working fine in IE. Now i want to work...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
0
by: SushiSean | last post by:
When executing the xmlhttp.send function to request shipper for available shipments (I send xml as string and receive result xml): XMLHTTP xmlhttp = new XMLHTTP(); xmlhttp.open("POST",...
14
by: FMDeveloper | last post by:
Currently transitioning from a shared host to a dedicated server. The same code that works on the old server is not working on the dedicated server. It is a simple AJAX request like: <code>...
14
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all. I am using server side ASP, and...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.