Add a New Comment (Rich Markup)
Yes, I didn't think about that because there aren't too much client side things in the alpha but it's true. The graphs could be generated on client side, freeing the server from that load. Although, it will load the client machine, but it's fine if the user can deactivate the graph options, because if the user does not have a good computer, generating all graphs and stuff could take some time and it will take down the user experience on the website. But it's a very good idea, i totally forgot about client side! Thanks!
I don't know if it would help with generating time but why not use some javascript to generate the graph ?( like flot: http://code.google.com/p/flot/ ). It's based on jquery and is MIT licensed. It could create graphs based on existing tables and flot also enable some interactivity ( which may be usefull for time based stats ).
Sorry, I missed something. Of course if this is implemented, there will be a lot of users by then, so the graph generating times must be calculated. Otherwise, there would be a group of users (I don't know how much people are now, imagine +1.000) that will generate the graph at the same time, overloading the server unnecessarily.
This is more a suggestion than a bug filing but I didn't know where to put it. I suggest to do a graph with the daily scrobblings to libre.fm instead of the simple "Scrobblings by day" chart. This can be accomplished using PyCHA for example (http://bitbucket.org/lgs/pycha/wiki/Home). Due to the quantity of users and constant updating, this graph should be generated weekly starting from the first week of activity from the user, p.e. if I registered in 2009-05-20 the first graph should be generated in 2009-05-27, and every week since then, other user registered in 2009-06-15, first graph on 2009-06-22 and every week since then. This distributes the graph generating load into different times, instead of doing everything at the same time. It would show up the last 7 days, and if the users wants to see another time window, it can be generated on-the-fly. Hope you like this suggestion! :)
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12