<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Ajax search execution interval</title>
	<atom:link href="http://agyuku.net/2010/07/ajax-search-execution-interval/feed/" rel="self" type="application/rss+xml" />
	<link>http://agyuku.net/2010/07/ajax-search-execution-interval/</link>
	<description>ZOMG! So Simple!</description>
	<pubDate>Sun, 05 Sep 2010 06:41:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rakesh giri</title>
		<link>http://agyuku.net/2010/07/ajax-search-execution-interval/comment-page-1/#comment-116</link>
		<dc:creator>rakesh giri</dc:creator>
		<pubDate>Tue, 24 Aug 2010 06:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://agyuku.net/?p=465#comment-116</guid>
		<description>hi lloyd,

i am rakesh giri ,a software developer from india,

i just saw your article on internet regarding autosugesstion using ajax.
i am facing some problem and want help.

i hope you will help me


i have a website named 'bizlis.com'which  i have built a website  in asp.net 2.0 with sql 2005 database.it is a database search engine which searches buyers and sellers all around the world....

my mssql database consist of  267 tables of 267 countries(table names-dbo.india,dbo.australia etc) which contains  suppliers/buyers of that particular country/table.which has fields like address,email,website,buyer or seller(cateory) etc. each country table has all the details of buyer or supplier of that  country 



when user enters url 'bizlis.com'.my home page opens .loading time of home page is fast.homepage has ..
 user has to  select country from dropdown box,he selects category from dropdown(buyer/seller)he then selects a criteria from dropdown(exact phase search,anyword search or all word search) after that he enter product name in the textbox which he wants to search ...after that searching is done ..the problem is that my searching for the first page takes very long time it takes 8-10 seconds (try searching for steel sellers from india as it has maximu records)..after first page is loaded in 9-10 sec ..then 50 records are shown .it has navigation button on click of next navigation button data comes faster as compared to loading(starting first page-which brings data for the first time ) page.yhis is because cahing is applied...

hence now my biggest problem is that how to make my first datapage fast(starting first page-which brings data for the first time) 

some of my friends told me to apply pre caching 

i can do it in this way 

 by loading data into cache by country dropdown (when user selects country before pressing on submit button).
in this way the table of the country which is selected by user  will get loaded.

but in the case of country dropdown cache,user might have to wait for some time after selecting coutry as data will be loaded and he might not be able to select other dropdown such as (all,any,exact search or enter the product name in the text box)


my friends suggested me :pre-caching on the DB tier by using  perhaps using Ajax to submit a query before the user hits the submit button.and 
To avoid making the user wait, we can use async Ajax calls.  we can see this in action on sites like Google, where they show us search suggestions as we type.

i just saw your article regarding autosuggest using ajax 

hence can you help me by giving sugesstion/codes about what to do and how to avoid user waiting after dropdown selection 
as caching is done in backend and user does not face any difficulty in acessing the website (does not have to wait while home page is being loaded(when all tables are cached or does not have to wait after country dropdown is selected)

  

hope you will  help me on these issues 

thanks in advance</description>
		<content:encoded><![CDATA[<p>hi lloyd,</p>
<p>i am rakesh giri ,a software developer from india,</p>
<p>i just saw your article on internet regarding autosugesstion using ajax.<br />
i am facing some problem and want help.</p>
<p>i hope you will help me</p>
<p>i have a website named &#8216;bizlis.com&#8217;which  i have built a website  in asp.net 2.0 with sql 2005 database.it is a database search engine which searches buyers and sellers all around the world&#8230;.</p>
<p>my mssql database consist of  267 tables of 267 countries(table names-dbo.india,dbo.australia etc) which contains  suppliers/buyers of that particular country/table.which has fields like address,email,website,buyer or seller(cateory) etc. each country table has all the details of buyer or supplier of that  country </p>
<p>when user enters url &#8216;bizlis.com&#8217;.my home page opens .loading time of home page is fast.homepage has ..<br />
 user has to  select country from dropdown box,he selects category from dropdown(buyer/seller)he then selects a criteria from dropdown(exact phase search,anyword search or all word search) after that he enter product name in the textbox which he wants to search &#8230;after that searching is done ..the problem is that my searching for the first page takes very long time it takes 8-10 seconds (try searching for steel sellers from india as it has maximu records)..after first page is loaded in 9-10 sec ..then 50 records are shown .it has navigation button on click of next navigation button data comes faster as compared to loading(starting first page-which brings data for the first time ) page.yhis is because cahing is applied&#8230;</p>
<p>hence now my biggest problem is that how to make my first datapage fast(starting first page-which brings data for the first time) </p>
<p>some of my friends told me to apply pre caching </p>
<p>i can do it in this way </p>
<p> by loading data into cache by country dropdown (when user selects country before pressing on submit button).<br />
in this way the table of the country which is selected by user  will get loaded.</p>
<p>but in the case of country dropdown cache,user might have to wait for some time after selecting coutry as data will be loaded and he might not be able to select other dropdown such as (all,any,exact search or enter the product name in the text box)</p>
<p>my friends suggested me :pre-caching on the DB tier by using  perhaps using Ajax to submit a query before the user hits the submit button.and<br />
To avoid making the user wait, we can use async Ajax calls.  we can see this in action on sites like Google, where they show us search suggestions as we type.</p>
<p>i just saw your article regarding autosuggest using ajax </p>
<p>hence can you help me by giving sugesstion/codes about what to do and how to avoid user waiting after dropdown selection<br />
as caching is done in backend and user does not face any difficulty in acessing the website (does not have to wait while home page is being loaded(when all tables are cached or does not have to wait after country dropdown is selected)</p>
<p>hope you will  help me on these issues </p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
