OpenStudy: A fix for all it's slowness
Do you know the reason why OpenStudy is so slow? Because it relies much on AJAX to pull data for the chats, messages, smartscores, posts, ect. And it has to pull that data. There's no other way around pulling that data if you want it to appear dynamically. But you know what? 2011 has past. A new world of computing has came about, and it's called Sockets. Sockets can be implemented in any way, but instead of like AJAX which pulls the data at a select interval (lets say, every second) it only gathers the data when there's new data available. AJAX is on the browser-side, so everything's loaded that way. Sockets connect to the server, so a close-contact is made with it, and it knows when to fetch data or not. :)
And since the data is fetched instantly, chats would be instant. 0 lag.
I know that OpenStudy is programmed in the Scala language, so this is how Scala would connect to it http://www.scala-lang.org/node/55
That's a great idea for the hackaton :) ( @JA1 )
Indeed! :)
But the whole site would have to be redone from point a to point z.
Yes I think that is the intention of the hackaton. To re-create the new site from the ground.
Hmm from the ground... up! :D
@thomaster gets a medal :)
I agree :) I have him a medal, too.
do you have server access yet?
Yes @dumbsearch2 great idea, the biggest problem with AJAX is it loads EVERY SINGLE THING, if you are not even on the chat it loads, if the chat is dead it tries to pull, if a question has no Latex it loads latex because it feels like it, if your smartscore is not going up it still pulls to see if it miraculously went up without you doing anything, overall too much unnecessary AJAX, so I say death to AJAX xD but anyways yes the site should be redone completely, that way instead of having to work around the design we can make it work around us. And thanks for tagging me @thomaster :)
I must be hallucinating, dumbsearch2 replied to OpenStudy: A fix for all it's slowness a few moments ago
My notifs said so O_O wierd lol
Would this be possible to implement? @shadowfiend
I'm telling you, some weird stuff is happening xD I blame shadowfiend's presence, his mistical powers make OS go awry
Lol
Anyways, I'm trying to tag shadow to see if he still has the abilities to fix some of these issues.
He has admin privelages but I think his OS days are over :(
I guess we're continuing discussion here xD http://openstudy.com/study#/updates/51daefede4b076f7da3fce0e
shadowfiend no longer works here
Join our real-time social learning platform and learn together with your friends!