.
VR
Site Speed
General Discussion
•  General Discussion Home  •   Forums Home  •



Cancer
Cancer
Superior Sire (147)
Posts: 1,194
Honor: 230
[ Give / Take ]
Vampire Rave member for 21 years.
07:25:33 Aug 30 2004
Read 933 times

Some of you might have noticed Vampire Rave's site speed slowing down. There are a couple of reasons for this.

The first is popularity. Vampire Rave is growing fast. We're attracting more and more users each week. I administer over 10 websites and this one has quickly become the most trafficked of the lot.

The second reason for the slow down is the page tracking code I added a few weeks ago. In a nutshell, when you are logged in, the system records every page you visit here. When you load a page, the system then compares that list against every page on Vampire Rave. The difference is pages you have not viewed, and that is how they get specially marked for you. As I add more and more pages, this becomes a longer and longer process. The result being the slower generation of pages for you.

I'm sure most of you aren't aware, but this entire site is written in PHP. Vampire Rave is a dynamic site. That means, when you request a webpage, the server actually writes the page on the fly. Most websites are static (meaning the pages content never changes). Dynamic webpages like Vampire Rave offer much more functionality. The trade off is slower response time as pages are written by the server before you view them.

What I am getting around the saying, in a round about way, is that I am aware of the slowing of Vampire Rave's response time. I am working on solutions to speed it up. If you log out, you may notice that pages load quicker in the Database and Profile sections. This is because the system doesn't have to track your usage and it runs faster. Of course if you log out, your time here isn't recorded, your status doesn't increase, and pages don't get marked as read.




•  REPLY  •


Cancer
Cancer
Superior Sire (147)
Posts: 1,194
Honor: 230
[ Give / Take ]
Vampire Rave member for 21 years.
22:44:59 Sep 09 2004
Read 863 times

Today I managed to optimize the page tracking code a little. I've shaved an average of 1.5 seconds off of the average page loading times.

Pages are now loading at an average of about 4 seconds. This is about twice my goal of 2 seconds.

If you're on dial-up I'd be interested in hearing how the site is loading for you. Some sections (such as profiles) will continue to load slower than other areas of the site. I added a line at the bottom of each Vampire Rave page that tells how long it took to generate the webpage.



•  REPLY  •


ElderDaniel
ElderDaniel
Elemental (77)
Posts: 214
Honor: 0
[ Give / Take ]
The House of Lunazure is a member of an Alliance

Member of The House of Lunazure
Vampire Rave member for 21 years.
02:26:04 Sep 10 2004
Read 852 times

Cancer,
I'm using dialup 56K and I have seen, thanks to your page generated timer, times ranging from 2.5 seconds to 10 seconds, based on the page size. This page for example, when first viewed was 8.6 seconds. Upon revisit it took only 2.7 seconds. Either browser cache helped speed it up or the traffic was lighter.

On average, I'd say its running round 5 seconds a page on dialup.



•  REPLY  •


Cancer
Cancer
Superior Sire (147)
Posts: 1,194
Honor: 230
[ Give / Take ]
Vampire Rave member for 21 years.
02:56:08 Sep 10 2004
Read 849 times

What I would really like to know, is the average difference in loading times between when you are logged in and logged out.

Personally, when I am logged out pages are popping up in about .4 seconds. When I am logged in they are coming up in 3-4 seconds.



•  REPLY  •


Cancer
Cancer
Superior Sire (147)
Posts: 1,194
Honor: 230
[ Give / Take ]
Vampire Rave member for 21 years.
04:32:34 Sep 10 2004
Read 844 times

I've come to the conclusion that the current page tracking system needs to be tossed out. It's slowing down to much and it will continue to slow down as more pages appear at Vampire Rave.

With some help from ElderDaniel, we've put the framework together for a new system... Which I plan to implement over the next week. I'll try to make the transition as simple as possible.



•  REPLY  •


King`Tarquin
King`Tarquin
Sire (106)
Posts: 1,120
Honor: 0
[ Give / Take ]
Vampire Rave member for 21 years.
13:03:12 Sep 29 2004
Read 814 times

Mr. Cancer, will you take out the "TIME SPENT?" Hope not...
I'm almost 30 hours..
hehehe =)



•  REPLY  •


Cancer
Cancer
Superior Sire (147)
Posts: 1,194
Honor: 230
[ Give / Take ]
Vampire Rave member for 21 years.
01:19:10 Sep 30 2004
Read 808 times

No.. I can't take it out. It's necessary for the status levels.



•  REPLY  •


Zom
Zom

No Longer Registered
14:03:40 Nov 30 2009
Read 743 times

I have also noticed that VR has been abit slow nowadays.



•  REPLY  •


Cartomancer
Cartomancer
Arch Sire (194)
Posts: 1,252
Honor: 34,355
[ Give / Take ]
Cartomancer is the Hand of the Prince.
Vampire Rave member for 20 years.
14:43:54 Nov 30 2009
Read 740 times

This thread is 5 years old... lots has changed. And I haven't noticed any lag, personally.



•  REPLY  •


SireZombie
SireZombie

No Longer Registered
15:30:01 Nov 30 2009
Read 735 times

LOL I like that heidi, it is 5 years old and I guess people do not bother to look at the dates of posting.

So it is good to say that VR is doing well these days, due to the changes done back then. ;)



•  REPLY  •


Cartomancer
Cartomancer
Arch Sire (194)
Posts: 1,252
Honor: 34,355
[ Give / Take ]
Cartomancer is the Hand of the Prince.
Vampire Rave member for 20 years.
15:38:50 Nov 30 2009
Read 731 times

Yep... and again, I'm going to go ahead and RIP this so the bumping of this thread doesn't make people think it's current.



•  REPLY  •



• • • • THIS THREAD IS CLOSED • • • •
•  Closed by imagesinwords on Nov 30 2009  •

•  General Discussion Home  •   Forums Home  •

COMPANY
REQUEST HELP
CONTACT US
SITEMAP
REPORT A BUG
UPDATES
LEGAL
TERMS OF SERVICE
PRIVACY POLICY
DMCA POLICY
REAL VAMPIRES LOVE VAMPIRE RAVE
© 2004 - 2026 Vampire Rave
All Rights Reserved.
Vampire Rave is a member of 
Page generated in 0.1598 seconds.
X
Username:

Password:
I agree to Vampire Rave's Privacy Policy.
I agree to Vampire Rave's Terms of Service.
I agree to Vampire Rave's DMCA Policy.
I agree to Vampire Rave's use of Cookies.
•  SIGN UP •  GET PASSWORD •  GET USERNAME  •
X