Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > User Feedback > Site Suggestions > Ignore feature.
Pages (4): « 1 2 3 [4]   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Jocker
whatup homie



Registered: Feb 2001
Location: Pittsburgh, PA

quote:
Originally posted by Swamper
Thread Preview (surprisingly) seems intensive but isn't, when you retrieve all the thread info from the thread table there is also a left join on the icon table to obtain icons (if any) for that particular thread (within the same query) - a left join is also done on the post table to obtain the preview text of the first post (whose postid is already within the thread table). In order to handle the ignoring of users I would have to throw the user table into the fray and check that as well - it may slow things down a bit - and - I would try it, but, to handle the 0.0000001% of cases when it would matter - seems pointless to me.


yeah, i'm definitely suprised that the preview is not intensive... well, mysql is the fastest dbms out there, and we have to give it to it. still, though, the previews sound like a big bandwidth-consumption issue. it's up to you, of course.

as for bandwith economy, i would also suggest substituting the text properties which are entered for every post (like font face=blabla color=blabla) for stylesheet entry (like font class=nf)... it is said to provide a great economy without any usage impairment.

more on that here:
http://www.vbulletin.com/forum/showthread.php?s=&threadid=17943

and a more generic discussion of the ways to save bandwidth here:
http://www.vbulletin.com/forum/show...&threadid=29446


___________________
writing lyrics aint what it used to be

Old Post Oct-29-2004 17:09  Russia
Click Here to See the Profile for Jocker Click here to Send Jocker a Private Message Add Jocker to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Swamper
Webmonstah



Registered: Jan 2000
Location: Toronto, Canada

I know all about CSS and bandwidth saving measures - which is why the download pages went javascript a long time ago

However.. in reality.. the forums consume about 1/18th of the 7000+GB that gets used on the site monthly, so it is not an issue.

Besides, most of the people with large forums who whine about bandwidth are doing so because they don't have mod_gzip enabled (mod_deflate in apache 2.x) which compresses pages to 1/6th its original size anyways (even at its most basic compression level).


___________________

"In a world of illusion you only see what you feel"

Old Post Oct-29-2004 19:02  Canada
Click Here to See the Profile for Swamper Click here to Send Swamper a Private Message Visit Swamper's homepage! Add Swamper to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jocker
whatup homie



Registered: Feb 2001
Location: Pittsburgh, PA

thanks for explanations. gzip is a wonderful thing, i know
since you are following this thread, just wanted to let you know that the in-forums or in-thread search (the field on the bottom right) always gives an error... i guess it's due to all the changes that you did to search. could you also, if you have time, explain what you've done to search. i assume, you brought it to a separate database? i just like to know, might i do this for my own forum (very small one). thanks.


___________________
writing lyrics aint what it used to be

Old Post Oct-29-2004 20:15  Russia
Click Here to See the Profile for Jocker Click here to Send Jocker a Private Message Add Jocker to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DigiNut
You kids get off my lawn!



Registered: Dec 2002
Location: Toronto, Self-proclaimed Centre of the Universe

quote:
Originally posted by Swamper
Thread Preview (surprisingly) seems intensive but isn't, when you retrieve all the thread info from the thread table there is also a left join on the icon table to obtain icons (if any) for that particular thread (within the same query) - a left join is also done on the post table to obtain the preview text of the first post (whose postid is already within the thread table). In order to handle the ignoring of users I would have to throw the user table into the fray and check that as well - it may slow things down a bit - and - I would try it, but, to handle the 0.0000001% of cases when it would matter - seems pointless to me.

Del, can't you just load the ignore list once when the session starts (or when the ignore list is changed), store it in a session variable, and write the filtering code in the PHP script instead of the SQL query?

There's no need to do another join - just query the ignore table by itself and use PHP to do the real work. That's basically one query per login, doesn't seem like a big slowdown. Most people don't have more than 10 or 20 users on ignore so it wouldn't be that memory-intensive either (300 users * 20 names * 30 char string ~ 180k).

Hell, I'll write the code for you if you want (assuming I can figure out vB).


___________________
My party schedule:
2009-02-21 - DJ Attention @ I'm So Popular
2009-06-18 - DJ Annoying @ People Need To Know Where I'll Be
2012-11-32 - DJ Insufferable ɸ Or At Least the Stalkers I Complain About
2048-06-66 - Spastic & Whocares Although I'm Actually Flattered
9999-45-81 - Tweaker Gimp I Probably Won't Even Go To This But I Have To Make Sure I Fill Up All The Available Space Here

Old Post Oct-30-2004 00:49  Canada
Click Here to See the Profile for DigiNut Click here to Send DigiNut a Private Message Add DigiNut to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > User Feedback > Site Suggestions > Ignore feature.
Post New Thread    Post A Reply

Pages (4): « 1 2 3 [4]  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackWhat's the name of this track(from Mauro Picotto live meganite to pName of this track [2007] [3]

Click here to listen to the sample!Pause playbackActiva - Remember [2008]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 01:49.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!