Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 219
Entire Site: 7 & 1085
Page Staff: pennylessz, pokemon x, Barathemos, tgags123, alexanyways, supercool22, RavusRat,
04-26-24 10:10 PM

Forum Links

Related Threads
Coming Soon

Thread Information

Views
1,554
Replies
15
Rating
0
Status
CLOSED
Thread
Creator
Davideo7
08-06-10 02:15 PM
Last
Post
YourMajestyKen
10-14-10 01:18 PM
Additional Thread Details
Views: 422
Today: 0
Users: 1 unique

Thread Actions

Thread Closed
Order
 

Improved Site Speed

 

08-06-10 02:15 PM
Davideo7 is Online
| ID: 219283 | 325 Words

Davideo7
Level: 351


POSTS: 14026/45323
POST EXP: 3473262
LVL EXP: 811942820
CP: 191352.4
VIZ: 121509139

Likes: 0  Dislikes: 0
I spent a few hours today doing research on MySQL databases and found some really helpful information.

Many of the tables of Vizzed Board used a InnoDB DB engine type, probably half of them did. InnoDB is good for returning results that are the same every time since it caches the results but this isn't the case for vizzed, the results are almost always different so I changed all the types to MyISAM. If the InnoDB tables aren't cached, it's really really slow at loading the information which is why when vizzed transferred to a new server, the site was really slow and kept crashing because the new database didn't have anything cached for the tables with the InnoDB DB engine type.

This is probably more info than most of you understand but to sum it up, many of the pages should be faster, some a LOT faster. The only 2 pages which should take more than 1 sec to load are the forum index page and the new posts page (I'll optimize those thoroughly another time).



EDIT: Also I'd like to point out that according to my calculations, the current server can support about 666 people on the site at once (I know, a creepy number lol). It'll be pretty hard to optimize the site any more than I have already so once we start peaking at 600, I'll look into migrating the DB to its own server. We wouldn't have to worry about the problems from last time for 3 reasons: 1. I found the problem why the server migration I attempted last month didn't work out & 2. We wouldn't be migrating the files or anything to a new server so therefore there wouldn't be any DNS changes which means the "upgrade" would only take an hour at most & 3. With all the tables DB engines being the way they are now, the database will be a lot easier to migrate.
I spent a few hours today doing research on MySQL databases and found some really helpful information.

Many of the tables of Vizzed Board used a InnoDB DB engine type, probably half of them did. InnoDB is good for returning results that are the same every time since it caches the results but this isn't the case for vizzed, the results are almost always different so I changed all the types to MyISAM. If the InnoDB tables aren't cached, it's really really slow at loading the information which is why when vizzed transferred to a new server, the site was really slow and kept crashing because the new database didn't have anything cached for the tables with the InnoDB DB engine type.

This is probably more info than most of you understand but to sum it up, many of the pages should be faster, some a LOT faster. The only 2 pages which should take more than 1 sec to load are the forum index page and the new posts page (I'll optimize those thoroughly another time).



EDIT: Also I'd like to point out that according to my calculations, the current server can support about 666 people on the site at once (I know, a creepy number lol). It'll be pretty hard to optimize the site any more than I have already so once we start peaking at 600, I'll look into migrating the DB to its own server. We wouldn't have to worry about the problems from last time for 3 reasons: 1. I found the problem why the server migration I attempted last month didn't work out & 2. We wouldn't be migrating the files or anything to a new server so therefore there wouldn't be any DNS changes which means the "upgrade" would only take an hour at most & 3. With all the tables DB engines being the way they are now, the database will be a lot easier to migrate.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 min.

(edited by Davideo7 on 08-06-10 02:34 PM)    

08-06-10 02:27 PM
geeogree is Offline
| ID: 219291 | 41 Words

geeogree
Mr Geeohn-A-Vash53215
Level: 291


POSTS: 10478/29293
POST EXP: 1955555
LVL EXP: 421052000
CP: 52516.7
VIZ: 532701

Likes: 0  Dislikes: 0
fantastic!

I've noticed an improved speed since logging in this afternoon.... not sure about the morning because I had other things going.... but right now it does seem a lot faster.

Good improvement though. Glad to see things are improving again.
fantastic!

I've noticed an improved speed since logging in this afternoon.... not sure about the morning because I had other things going.... but right now it does seem a lot faster.

Good improvement though. Glad to see things are improving again.
Vizzed Elite
Former Admin
Banzilla


Affected by 'Laziness Syndrome'

Registered: 01-03-05
Last Post: 4 days
Last Active: 1 hour

08-06-10 02:33 PM
Davideo7 is Online
| ID: 219293 | 196 Words

Davideo7
Level: 351


POSTS: 14028/45323
POST EXP: 3473262
LVL EXP: 811942820
CP: 191352.4
VIZ: 121509139

Likes: 0  Dislikes: 0
geeogree : This improvement took place about an hour ago. Vizzed was down for about 10 minutes because I was making a backup on the DB, didn't want to risk messing anything up because I was doing stuff I've never done before and that can always be pretty risky.


Also I'd like to point out that according to my calculations, the current server can support about 666 people on the site at once (I know, a creepy number lol). It'll be pretty hard to optimize the site any more than I have already so once we start peaking at 600, I'll look into migrating the DB to its own server. We wouldn't have to worry about the problems from last time for 3 reasons: 1. I found the problem why the server migration I attempted last month didn't work out & 2. We wouldn't be migrating the files or anything to a new server so therefore there wouldn't be any DNS changes which means the "upgrade" would only take an hour at most & 3. With all the tables DB engines being the way they are now, the database will be a lot easier to migrate.
geeogree : This improvement took place about an hour ago. Vizzed was down for about 10 minutes because I was making a backup on the DB, didn't want to risk messing anything up because I was doing stuff I've never done before and that can always be pretty risky.


Also I'd like to point out that according to my calculations, the current server can support about 666 people on the site at once (I know, a creepy number lol). It'll be pretty hard to optimize the site any more than I have already so once we start peaking at 600, I'll look into migrating the DB to its own server. We wouldn't have to worry about the problems from last time for 3 reasons: 1. I found the problem why the server migration I attempted last month didn't work out & 2. We wouldn't be migrating the files or anything to a new server so therefore there wouldn't be any DNS changes which means the "upgrade" would only take an hour at most & 3. With all the tables DB engines being the way they are now, the database will be a lot easier to migrate.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 min.

08-06-10 03:00 PM
is Offline
| ID: 219305 | 64 Words


JigSaw
Level: 164


POSTS: 4653/7936
POST EXP: 584185
LVL EXP: 57412726
CP: 8045.8
VIZ: -46031833

Likes: 0  Dislikes: 0
"the current server can support about 666 people on the site at once"

Wow lol talk about irony on a somewhat Christian forum

Good thing you researched that so I guess this means no need to make limits on owned games and what not. Probably could still run a script to erase peoples games if they have not logged in in 30 days.
"the current server can support about 666 people on the site at once"

Wow lol talk about irony on a somewhat Christian forum

Good thing you researched that so I guess this means no need to make limits on owned games and what not. Probably could still run a script to erase peoples games if they have not logged in in 30 days.
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 1735 days
Last Active: 1730 days

08-06-10 03:03 PM
Davideo7 is Online
| ID: 219307 | 43 Words

Davideo7
Level: 351


POSTS: 14029/45323
POST EXP: 3473262
LVL EXP: 811942820
CP: 191352.4
VIZ: 121509139

Likes: 0  Dislikes: 0
JigSaw : What's even more ironic is that at the rate we're going, we'd probably hit that number by Christmas. The game limit is probably unnecessary for now but I could probably still put a limit of like 25 per a system though.
JigSaw : What's even more ironic is that at the rate we're going, we'd probably hit that number by Christmas. The game limit is probably unnecessary for now but I could probably still put a limit of like 25 per a system though.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 min.

08-06-10 09:13 PM
Didowe is Offline
| ID: 219478 | 105 Words

Didowe
Level: 101


POSTS: 1648/2697
POST EXP: 163835
LVL EXP: 10355008
CP: 812.4
VIZ: 21496

Likes: 0  Dislikes: 0
The beast cursed us to support a low amount of people !

Nice speed anyways, I am still laughing at 666 (no offensive, just a weird reference, I actually know a Christian who lives right in front of a flat which number is 666 (because in our place, there are numbers for HDB flats, which are like apartments, and each building has a number).

JigSaw : Not 30, make it 60, as some people might be on holidays or business trips, also allowed the people to request their games back completely free, so there should be another script to track what are the deleted games).
The beast cursed us to support a low amount of people !

Nice speed anyways, I am still laughing at 666 (no offensive, just a weird reference, I actually know a Christian who lives right in front of a flat which number is 666 (because in our place, there are numbers for HDB flats, which are like apartments, and each building has a number).

JigSaw : Not 30, make it 60, as some people might be on holidays or business trips, also allowed the people to request their games back completely free, so there should be another script to track what are the deleted games).
Member
Affected by


Affected by 'Laziness Syndrome'

Registered: 05-10-09
Last Post: 3178 days
Last Active: 2841 days

08-06-10 09:22 PM
Davideo7 is Online
| ID: 219479 | 35 Words

Davideo7
Level: 351


POSTS: 14031/45323
POST EXP: 3473262
LVL EXP: 811942820
CP: 191352.4
VIZ: 121509139

Likes: 0  Dislikes: 0
Didowe : Actually I'm leaning more toward 1 year. I think if a user hasn't played a game they own in over a year than the automated script would refund them their money for it.
Didowe : Actually I'm leaning more toward 1 year. I think if a user hasn't played a game they own in over a year than the automated script would refund them their money for it.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 min.

08-06-10 10:08 PM
alexanyways is Offline
| ID: 219490 | 21 Words

alexanyways
Level: 193


POSTS: 2152/12496
POST EXP: 610413
LVL EXP: 100490314
CP: 14492.5
VIZ: 136810

Likes: 0  Dislikes: 0
I love all of this optimizing!

Yeah, 666 is weird, because this site is religious.

I also like the limiting idea.
I love all of this optimizing!

Yeah, 666 is weird, because this site is religious.

I also like the limiting idea.
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 02-24-10
Last Post: 226 days
Last Active: 213 days

08-15-10 07:15 PM
Hoochman is Offline
| ID: 224303 | 17 Words

Hoochman
Level: 81

POSTS: 866/1686
POST EXP: 65457
LVL EXP: 4979673
CP: 345.9
VIZ: 142432

Likes: 0  Dislikes: 0
Excellent. I've noticed a little bit how fast things are now. Keep up the good work David.
Excellent. I've noticed a little bit how fast things are now. Keep up the good work David.
Member

Affected by 'Laziness Syndrome'

Registered: 02-25-10
Location: Minnesota
Last Post: 3242 days
Last Active: 579 days

08-25-10 01:47 PM
computernorman12 is Offline
| ID: 229194 | 32 Words

Level: 39

POSTS: 73/315
POST EXP: 16945
LVL EXP: 396919
CP: 6365.9
VIZ: 514438

Likes: 0  Dislikes: 0
i think it is cool to know how fast the pages load i can say david07 you are cool making this site faster and i can load the games a little faster.
i think it is cool to know how fast the pages load i can say david07 you are cool making this site faster and i can load the games a little faster.
Member

Affected by 'Laziness Syndrome'

Registered: 07-09-10
Last Post: 821 days
Last Active: 4 hours

08-29-10 09:59 AM
tj4bigred is Offline
| ID: 231663 | 19 Words

tj4bigred
Level: 131


POSTS: 82/5152
POST EXP: 187571
LVL EXP: 26142098
CP: 4610.1
VIZ: 124091

Likes: 0  Dislikes: 0
so much faster! my computer was always slow but on vizzed it's faster than it's ever been. thanks davideo

so much faster! my computer was always slow but on vizzed it's faster than it's ever been. thanks davideo

Vizzed Elite
Cancerous


Affected by 'Laziness Syndrome'

Registered: 08-21-10
Last Post: 4031 days
Last Active: 3360 days

08-29-10 10:03 AM
Videogamegod is Offline
| ID: 231665 | 23 Words

Videogamegod
Level: 84


POSTS: 879/1850
POST EXP: 38432
LVL EXP: 5641499
CP: 18.0
VIZ: 36292

Likes: 0  Dislikes: 0
Haha, I just thought that was Google Chrome working it's Magic. Well, it's nice to have a website that loads fast, so, thanks!
Haha, I just thought that was Google Chrome working it's Magic. Well, it's nice to have a website that loads fast, so, thanks!
Member
The Master at Video Games


Affected by 'Laziness Syndrome'

Registered: 07-23-10
Last Post: 4907 days
Last Active: 4821 days

10-10-10 10:21 AM
Joker13 is Offline
| ID: 255192 | 69 Words

Joker13
Level: 20


POSTS: 49/65
POST EXP: 2818
LVL EXP: 36892
CP: 85.9
VIZ: 18997

Likes: 0  Dislikes: 0
Great job Davideo.

I've noticed a big difference in speed now,and im no longer getting log in errors and such fantastic job,666 users at once?that seems like alot but im guessing that includes guests as well I think i've seen almost 450 users online one time so that is a bit scary,you think you'll be able to boost that number at all so the server doesn't crash or anything?
Great job Davideo.

I've noticed a big difference in speed now,and im no longer getting log in errors and such fantastic job,666 users at once?that seems like alot but im guessing that includes guests as well I think i've seen almost 450 users online one time so that is a bit scary,you think you'll be able to boost that number at all so the server doesn't crash or anything?
Member

Affected by 'Laziness Syndrome'

Registered: 10-01-10
Location: Delavan,wisconsin
Last Post: 2514 days
Last Active: 2513 days

10-10-10 10:26 AM
Davideo7 is Online
| ID: 255197 | 21 Words

Davideo7
Level: 351


POSTS: 14678/45323
POST EXP: 3473262
LVL EXP: 811942820
CP: 191352.4
VIZ: 121509139

Likes: 0  Dislikes: 0
Joker13 : That does include guests, yeah. Probably Tuesday I'll be getting a second server so the site's performance will double.
Joker13 : That does include guests, yeah. Probably Tuesday I'll be getting a second server so the site's performance will double.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 4 days
Last Active: 1 min.

10-11-10 08:00 PM
jmc1097 is Offline
| ID: 256263 | 16 Words

jmc1097
Level: 95


POSTS: 595/2426
POST EXP: 78003
LVL EXP: 8465456
CP: 73.9
VIZ: 9853

Likes: 0  Dislikes: 0
Wow, I have noticed the site being a bit faster than it was before. Cool.
Wow, I have noticed the site being a bit faster than it was before. Cool.
Perma Banned
D:


Affected by 'Laziness Syndrome'

Registered: 07-30-10
Location: Hell
Last Post: 4825 days
Last Active: 4822 days

10-14-10 01:18 PM
YourMajestyKen is Offline
| ID: 258156 | 22 Words

YourMajestyKen
Level: 204


POSTS: 237/14514
POST EXP: 421681
LVL EXP: 123100188
CP: 6741.1
VIZ: 322746

Likes: 0  Dislikes: 0
Yeah..it's a definite improvement on the site speed. I noticed blocking the icons and avatars helps also.......keep up the good work.
Yeah..it's a definite improvement on the site speed. I noticed blocking the icons and avatars helps also.......keep up the good work.
Vizzed Elite
WINNER of February 2011 VCS! WINNER of June 2011 VCS! WINNER of October 2011 VCS!


Affected by 'Laziness Syndrome'

Registered: 10-01-10
Location: The Heart Of New York City
Last Post: 2857 days
Last Active: 310 days

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×