vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek AutoLinker 4.02 (https://vborg.vbsupport.ru/showthread.php?t=76054)

pigsy 07-17-2005 10:34 AM

I've run some test on the performance BEFORE and AFTER.

My test was conducted on an average page, and I recorded the "Page generated stats". I had 191 replacements, and using the DB cache.

The results were page loading time on average more than doubled, from an average of 0.5 secs, to 1.2 secs. This is an unacceptable increase, so despite really liking what this has to offer, I'm going to have pass on using it. If anyone can think of a way to make the performance better I'd love to take another look at this - unfortunately you can't get round the fact that for every new link added it has to check it against every word in the text, so in my case 1500 words x 191 links = 286,500 comparisons being made. Even on my dedicated dual-Xeon server it takes a big performance hit.

I wonder if a different approach can be taken, along the lines of how some sites you have words linked to ads - they don't seem to do anything with the html itself, but must be some clever javascript at work - perhaps this could be the answer.

All the same, praise to The Greek, for all his hard work, and if your only using this on a handful of links, I think there would be no problem in doing this - it's only when you want to have 100+ links you'll start to slow down signifcantly :(

The Geek 07-17-2005 11:43 AM

alexi - usng the db cache gives you more whistles and belles (ie real time exclusion of links that have expired) however it requires a query to be called. Not using the query means that the datastore cache is used. You get the same basic functionality but not so many of the whistles and bells.

To be honest, The extra query isnt much of an overhead.

Pigsy - I appreciate whate you are saying and yes, the more replacements... the more server load. Even with a js callback, your server will need to scan the text for matches you have wich I doubt will lighten your load much. Personally, I never envisioned people using it with 190 replacements! If you come up with a different method, I would love to hear about it for the next release.

Cheers all!

(BTW - just an FYI - Im not around much right now as I am in Spain on holiday with the family. In fact, my wife is going to go nuts if she sees me on the system!... Be back soon ;) )

TechnologyGuide 07-18-2005 02:34 PM

Quote:

Originally Posted by The Geek
alexi - usng the db cache gives you more whistles and belles (ie real time exclusion of links that have expired) however it requires a query to be called. Not using the query means that the datastore cache is used. You get the same basic functionality but not so many of the whistles and bells.

To be honest, The extra query isnt much of an overhead.

Pigsy - I appreciate whate you are saying and yes, the more replacements... the more server load. Even with a js callback, your server will need to scan the text for matches you have wich I doubt will lighten your load much. Personally, I never envisioned people using it with 190 replacements! If you come up with a different method, I would love to hear about it for the next release.

Cheers all!

(BTW - just an FYI - Im not around much right now as I am in Spain on holiday with the family. In fact, my wife is going to go nuts if she sees me on the system!... Be back soon ;) )

The Geek, thanks for this mod, we're toying with it at forum.notebookreview.com

One thing that would really help me is date ranges on the stats report. Right now it's set up as a lifetime, but for us, viewing performance over a week or month is more useful. If you could work that in some time, we'd be appreciative.

Paul Ross 07-18-2005 08:38 PM

Hi,

Where does this hack install itself? A friend of mine did it, but I can't see it in Admin. :(

croupier 07-19-2005 11:21 AM

I've installed it and it's working great, thanks geek.

I have one problem though. I also have vBadvanced installed but the autolinker doesn't work on the vBadvanced homepage.

Is there a way of getting the autolinker working on the vBa homepage (and I've somehow missed it while searching for the answer) or is this still a problem to be solved?

The Geek 07-19-2005 04:03 PM

Paul - check the gish folder for changed files

croupier. Im on holiday right now so I cant tell you exactly where and what, however yuo can simply call (something like) $gal->process_text(text);
Whereever you want gals to link. You may have to play about as I said - im away from my system so I cant tell you exactly what to do.

HTH´s

blueuniverse 07-20-2005 08:48 AM

Quote:

Originally Posted by T3MEDIA
No.... doesnt work. Darn.
I have it saved in "Thread display options" and it is a radio.
1 on 2 off
she no workie.
First time checking it. Sorry I didnt see that before.
I checked as a Admin not a regular user.

Problem for me as well. I need it to be turned off for a while and I've set all usergroups to be exempt from it and my field value to off but still no luck.

Paul Ross 07-20-2005 04:55 PM

Hi Geek,

Can you elaborate a bit on "check for changed files" please?:)

Also, whereabout in Admin CP should it show up? May have to pay someone to do this for me. :(

Marco van Herwaarden 07-20-2005 07:54 PM

Paul Ross,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. The update of your account may take up to one hour.

Thank you.

Paul Ross 07-21-2005 11:30 AM

I've adjusted that Marco.


All times are GMT. The time now is 06:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02061 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete