Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk > Bug Reports and Suggestions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 01-17-2011, 09:40 PM   #1
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default FC / AAA icons

I recently put some new benchmarking utilities on the server that make it easier to see what is causing the most database load.

As it turns out, these query your stats to find out which song you are in. Then each time they query EVERY SINGLE LEVEL YOU HAVE PLAYED and then do score arithmetic to see if you have a FC or AAA on that song.

The file that calculates this, by itself, is responsible for over half of the queries going into the server and is singlehandedly killing the query cache. It is responsible for anywhere between 10 to 70% of the server load at any given time. As such, I have disabled it until I can write a better system to calculate these.
__________________

aperson is offline   Reply With Quote
Old 01-17-2011, 09:41 PM   #2
flashpantss
Party Hard
FFR Veteran
 
flashpantss's Avatar
 
Join Date: Aug 2006
Posts: 1,310
Default Re: FC / AAA icons

That stinks that takes up up to 70% of the server. hopefully, the new program will do the trick.
BTW, Aperson rules.
__________________
10th in 5th Official Tournament in D3
3RD in Dragons Fury: Custom Tournament #5 in D5A
Best AAA's= Frictional Nevada (FIRST FGO) Kyrie (ONI Get), Eradication, Of Course you Need and nEed and neEd and NEED ME, Cinnamon Roll (FIRST TO AAA)

Last edited by flashpantss; 01-17-2011 at 09:53 PM..
flashpantss is offline   Reply With Quote
Old 01-17-2011, 10:11 PM   #3
666midget
FFR Player
 
666midget's Avatar
 
Join Date: Sep 2006
Age: 28
Posts: 91
Default Re: FC / AAA icons

Quote:
Originally Posted by flashpantss View Post
BTW, Aperson rules.
No question about it.
__________________

Quote:
Originally Posted by MrGiggles View Post
males are the master gender because we have mastered the ability to pee on/in various objects with various techniques

women are at least several thousand years behind in peeing technology

they don't even have penises yet, LOL
666midget is offline   Reply With Quote
Old 01-17-2011, 10:22 PM   #4
Velocity
Doing the wrong thing the right way since 2010.
Site and Game Administrator
AdministratorRetired StaffDeveloperFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
Velocity's Avatar
 
Join Date: Jul 2007
Posts: 1,812
Default Re: FC / AAA icons

Should be noted that this doesn't affect the scores/rank sort in Velocity engine as that deals with another file.
Velocity is offline   Reply With Quote
Old 01-17-2011, 10:26 PM   #5
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: FC / AAA icons

Indeed like many other things in FFR there are two different files that do the Same Exact Thing!!!
__________________

aperson is offline   Reply With Quote
Old 01-17-2011, 10:59 PM   #6
Velocity
Doing the wrong thing the right way since 2010.
Site and Game Administrator
AdministratorRetired StaffDeveloperFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
Velocity's Avatar
 
Join Date: Jul 2007
Posts: 1,812
Default Re: FC / AAA icons

Quote:
Originally Posted by aperson View Post
Indeed like many other things in FFR there are two different files that do the Same Exact Thing!!!
Only one's done right, and the other done wrong.
Velocity is offline   Reply With Quote
Old 01-17-2011, 11:23 PM   #7
Xx{Midnight}xX
FFR Player
 
Join Date: Aug 2007
Age: 31
Posts: 8,548
Default Re: FC / AAA icons

Rofl Jon VS AP who would win.
Xx{Midnight}xX is offline   Reply With Quote
Old 01-17-2011, 11:32 PM   #8
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: FC / AAA icons

Quote:
Originally Posted by Xx{Midnight}xX View Post
Rofl Jon VS AP who would win.
Velocity doesn't have cool graphs.


Guess when I turned off those icons...
__________________

aperson is offline   Reply With Quote
Old 01-18-2011, 01:53 AM   #9
HammyMcSquirrel
Everlong
Retired StaffFFR Simfile AuthorFFR Music ProducerFFR Veteran
 
HammyMcSquirrel's Avatar
 
Join Date: Dec 2004
Location: Madison, Wisconsin
Age: 35
Posts: 3,833
Default Re: FC / AAA icons

Since there are already people posting in other topics about this, I'll make this thread a sticky until the whole issue has been resolved.

Thanks for all of the work you're doing, aperson.
HammyMcSquirrel is offline   Reply With Quote
Old 01-18-2011, 02:58 AM   #10
Xx{Midnight}xX
FFR Player
 
Join Date: Aug 2007
Age: 31
Posts: 8,548
Default Re: FC / AAA icons

Bleh graphs are overrated like all math things
Xx{Midnight}xX is offline   Reply With Quote
Old 01-18-2011, 07:20 AM   #11
666midget
FFR Player
 
666midget's Avatar
 
Join Date: Sep 2006
Age: 28
Posts: 91
Default Re: FC / AAA icons

Are they ever going to be turned back on?
__________________

Quote:
Originally Posted by MrGiggles View Post
males are the master gender because we have mastered the ability to pee on/in various objects with various techniques

women are at least several thousand years behind in peeing technology

they don't even have penises yet, LOL
666midget is offline   Reply With Quote
Old 01-18-2011, 08:06 AM   #12
25thhour
I like max
FFR Veteran
 
25thhour's Avatar
 
Join Date: Feb 2007
Location: Vancouver/Burnaby/East Van
Age: 30
Posts: 2,921
Default Re: FC / AAA icons

Quote:
Originally Posted by 666midget View Post
Are they ever going to be turned back on?
AP said he was going to code a new system for it.
__________________
r bae adam bae max bae bridget bae claudia bae trevor bae adam2 bae mayo bae keith bae
25thhour is offline   Reply With Quote
Old 01-18-2011, 09:29 AM   #13
666midget
FFR Player
 
666midget's Avatar
 
Join Date: Sep 2006
Age: 28
Posts: 91
Default Re: FC / AAA icons

Oh.
__________________

Quote:
Originally Posted by MrGiggles View Post
males are the master gender because we have mastered the ability to pee on/in various objects with various techniques

women are at least several thousand years behind in peeing technology

they don't even have penises yet, LOL
666midget is offline   Reply With Quote
Old 01-18-2011, 10:35 AM   #14
Izzy
Snek
FFR Simfile AuthorFFR Veteran
 
Izzy's Avatar
 
Join Date: Jan 2003
Location: Kansas
Age: 34
Posts: 9,192
Default Re: FC / AAA icons

Create a button that allows you to manually update the AAA/FC icons so that it isn't constantly sending queries automatically. Or have it only update at midnight or something.

Edit: nvm, the midnight thing wouldn't work.
Izzy is offline   Reply With Quote
Old 01-18-2011, 02:35 PM   #15
bdev1
FFR Player
 
Join Date: Jan 2011
Posts: 10
Default Re: FC / AAA icons

have it query only once when you open the game instead of after every song? that would reduce it alot, i just dont know to much about how the rest of everything works lol

i was about to come on here and search for why they werent popping up, good thing this got stickied and i dont have to worry haha
bdev1 is offline   Reply With Quote
Old 01-18-2011, 02:58 PM   #16
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: FC / AAA icons

Quote:
Originally Posted by bdev1 View Post
have it query only once when you open the game instead of after every song? that would reduce it alot, i just dont know to much about how the rest of everything works lol

i was about to come on here and search for why they werent popping up, good thing this got stickied and i dont have to worry haha
That's what Velocity is incorporating into the engine. Most of the reason it's causing problems is in the Flash code.
__________________

aperson is offline   Reply With Quote
Old 01-18-2011, 03:15 PM   #17
TC_Halogen
Rhythm game specialist.
Retired StaffFFR Simfile AuthorFFR Music ProducerD8 Godly KeysmasherFFR Veteran
 
TC_Halogen's Avatar
 
Join Date: Feb 2008
Location: Bel Air, Maryland
Age: 32
Posts: 19,376
Send a message via AIM to TC_Halogen Send a message via Skype™ to TC_Halogen
Default Re: FC / AAA icons

Quote:
Originally Posted by aperson View Post
As it turns out, these query your stats to find out which song you are in. Then each time they query EVERY SINGLE LEVEL YOU HAVE PLAYED and then do score arithmetic to see if you have a FC or AAA on that song.
...

Nice find, as usual. Pretty nuts that something this simple could lead to so many problems.
TC_Halogen is offline   Reply With Quote
Old 01-19-2011, 06:59 PM   #18
Velocity
Doing the wrong thing the right way since 2010.
Site and Game Administrator
AdministratorRetired StaffDeveloperFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
Velocity's Avatar
 
Join Date: Jul 2007
Posts: 1,812
Default Re: FC / AAA icons

Quote:
Originally Posted by aperson View Post
That's what Velocity is incorporating into the engine. Most of the reason it's causing problems is in the Flash code.
When I manage to port my engine code over, the FC/AAA icons will work, sort by Rank will exist, and the icons will work forever, not just older songs.
Velocity is offline   Reply With Quote
Old 01-20-2011, 11:59 AM   #19
Strikingvipr
FFR Veteran
FFR Veteran
 
Strikingvipr's Avatar
 
Join Date: Nov 2006
Posts: 16
Default Re: FC / AAA icons

yey, thanks for all your work guys!
Strikingvipr is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution