![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
Faster search results
hey guys,
I have a bit of a beginner inquiry, I have a search that goes on on my site porntubehunters dot com and I am trying to increase the speed that the search results appear in. For instance, when I search any topic, it takes approx 5 to 6 seconds for the page to load, I want the search results to pop up quicker, does increasing the bandwidth of my site alleviate this issue? Or are there other solutions or suggestions you guys have? Thanks for the help! ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
|
how big is ur sql db ?,
imho it depends on bandwidth+load+mysql . good luck., |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
|
btw its loading pretty quick here.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
the home page loads quick, but when u click on a category it takes a bit of time dont you find?
the db has about 290k of url's. will bandwidth aid in speeding it? |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Web Developer
Industry Role:
Join Date: Jan 2011
Location: UK
Posts: 264
|
Bandwidth won't help to increase the speed, it will only aid the amount you can serve, the only way to make your page faster is to optimize your table, maybe look at your indexes and decide what is needed to bring a query up fast (the fields your querying the most), or alternately move to a server with more processing power so it deals with your query quicker :D
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: May 2011
Posts: 1,087
|
Why don't you dump data of mysql into an search server? Solr can be a good beginning. It will take the load away from your mysql and get your search results faster.
Check out http://lucene.apache.org/solr/ for more info |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
Presnus, thanks for the link. I will look into that. I have used it with rails but never with php. Gotta figure that one out! have u ever tried it with php?
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: May 2011
Posts: 1,087
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
Presnus, amazing! is it easy to use with PHP as well? :-)
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: May 2011
Posts: 1,087
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
Try Google custom search. Nobody does search better than Google.
Try out th esearch box on one of our sites here: http://ktog.org/cgi-bin/yabb2/YaBB.pl Clicking the "search button" will break up the old script based search, while the search box on the front page is google custom search.
__________________
For historical display only. This information is not current: support@bettercgi.com ICQ 7208627 Strongbox - The next generation in site security Throttlebox - The next generation in bandwidth control Clonebox - Backup and disaster recovery on steroids |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: May 2011
Posts: 1,087
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
Presnus, any recommendation for a good vps? I'm looking into it :-)
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: May 2011
Posts: 1,087
|
Contact me on ICQ 648332402
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 121
|
sorry 290k of thumbs, not urls. sorry!
Presnus I added u to icq. lemme know when ur on. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
Industry Role:
Join Date: May 2011
Location: Bedworth, United Kingdom
Posts: 1,022
|
increasing bandwidth won't lead you to better speed. still you can try if you want to.
__________________
Guaranteed Adult SEO Service- Just $275 per month |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#19 | |
Web Developer
Industry Role:
Join Date: Jan 2011
Location: UK
Posts: 264
|
Quote:
Once you know the search works (try it in development or on a different file) with just text links (you know how quick your db search is then), then look at how you can reduce the image sizes down, maybe have your page load progressively. Rob |
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
Absolutely. If you site is like most PHP scripts, the database is set up with no indexes whatsoever because the typical PHP "scripter" is actually pretty clueless about using MySQL correctly.
__________________
For historical display only. This information is not current: support@bettercgi.com ICQ 7208627 Strongbox - The next generation in site security Throttlebox - The next generation in bandwidth control Clonebox - Backup and disaster recovery on steroids |
![]() |
![]() ![]() ![]() ![]() |