Ask your own question, for FREE!
OpenStudy Feedback 7 Online
OpenStudy (dumbsearch2):

OpenStudy: A fix for all it's slowness

OpenStudy (dumbsearch2):

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. :)

OpenStudy (dumbsearch2):

And since the data is fetched instantly, chats would be instant. 0 lag.

OpenStudy (dumbsearch2):

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

thomaster (thomaster):

That's a great idea for the hackaton :) ( @JA1 )

OpenStudy (dumbsearch2):

Indeed! :)

OpenStudy (dumbsearch2):

But the whole site would have to be redone from point a to point z.

thomaster (thomaster):

Yes I think that is the intention of the hackaton. To re-create the new site from the ground.

OpenStudy (dumbsearch2):

Hmm from the ground... up! :D

OpenStudy (uri):

@thomaster gets a medal :)

OpenStudy (dumbsearch2):

I agree :) I have him a medal, too.

OpenStudy (anonymous):

do you have server access yet?

OpenStudy (ja1):

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 :)

OpenStudy (ja1):

I must be hallucinating, dumbsearch2 replied to OpenStudy: A fix for all it's slowness a few moments ago

OpenStudy (ja1):

My notifs said so O_O wierd lol

OpenStudy (dumbsearch2):

Would this be possible to implement? @shadowfiend

OpenStudy (ja1):

I'm telling you, some weird stuff is happening xD I blame shadowfiend's presence, his mistical powers make OS go awry

OpenStudy (dumbsearch2):

Lol

OpenStudy (dumbsearch2):

Anyways, I'm trying to tag shadow to see if he still has the abilities to fix some of these issues.

OpenStudy (ja1):

He has admin privelages but I think his OS days are over :(

OpenStudy (dumbsearch2):

I guess we're continuing discussion here xD http://openstudy.com/study#/updates/51daefede4b076f7da3fce0e

OpenStudy (anonymous):

shadowfiend no longer works here

OpenStudy (ja1):

But he is on: http://openstudy.com/study#/updates/51daefede4b076f7da3fce0e

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!