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

How can i get info more faster with xmlhttp or any other methods?

im using xmlhttp to get info from 10 different sites.. 1 site's info is
coming to me about 3 second. but when i use 10 sites it longs about 30
seconds.. how can i make it faster ... any solution or any different method
can you offer me? please help me?
Jul 19 '05 #1
3 1393
are you doing this on every request to your site, or only at a given
interval?

my site has an article entitled 'grabbing a slashdot feed from ASP'
which shows how to grab a feed only at intervals. you could stagger the
intervals at which the ten sites get scanned so that any one page hit
will only get the three second delay, I suppose.
________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.1 in beta with Mozilla-compatibility.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2
what is your article ... can i read it ..the xml http is running when a user
make a search.. it search about 10 sites and returns results to user. i want
to make it faster.. it was about 30 seconds. it is too long .. maybe i can
reduce it about 10 seconds or less. what can i do.. any other method or to
reduce time...

Jul 19 '05 #3
Savas Ates wrote:
im using xmlhttp to get info from 10 different sites.. 1 site's info is
coming to me about 3 second. but when i use 10 sites it longs about 30
seconds.. how can i make it faster ... any solution or any different method
can you offer me? please help me?


Do what Atrax suggests: periodically pre-fetch the information from the
10 different sites and store that part of that information you need in:
- Application variables, or
- a database, or
- file(s).
This pre-fetch can be done by a non-ASP program (e.g., a VB program that
is scheduled to run every minute or so) or a Windows service.

When your ASP page receives a request for information, it can
_immediately_ build a response from the pre-fetched results. Your users
will experience no delay whatsoever.

Good Luck,
Michael D. Kersey
Jul 19 '05 #4

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...
5
by: bboyle18 | last post by:
Hi, I've been looking into the possibility of using XMLHTTP for my enterprise application but I still have a question. When you send the request to the server, how does the server know how to...
5
by: dandiebolt | last post by:
Using xmlhttp I am accessing a document from the web that is not xml and is in fact not even proper html even though it is supposed to be (unbalanced tags). Here is the type of code I am using: ...
50
by: Philipp Lenssen | last post by:
A nice way to dynamically update HTML on a page (without leaving the page) is to use document.innerHTML and XMLHTTP in JavaScript, then communicate with the server via XML snippets (plus some...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
4
by: Arnaud | last post by:
Hi, I'm trying to translate an asp application, i have some difficulties with a particular line : --- Set myxml = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0") --- Classical ajax exemples...
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...
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...
2
by: trpost | last post by:
Is it possible to execute javascript as passed in xmlHttp.responseText Here is what I am doing: search.js var xmlHttp xmlHttp=GetXmlHttpObject() var url="search.php"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.