Request: Make this website less slower and laggier.
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
Hah! It isnt so easy
Nonamejim, thanks for the suggestion.
We're aware of the issue. Shadowfiend has been digging through heap snapshots trying to figure out what's causing the slowness. Unfortunately, these are problems that take a significant amount of time a labor to solve.
We'll be sure to keep the community apprised of what we find, but all I can say right now is "we're working on it". Thanks for bearing with us, and we're glad to have you as a member of the OpenStudy community.
We're going to be trying some tweaks in the backend next time we give the server a kick which should hopefully help performance at peak times. We're still looking into deeper changes, as well.
Not the answer you are looking for? Search for more explanations.
thanks farmdawgnation. a funny thing is that my computer froze while typing this haha. This website is one of the best I've been to.
I've so far been very impressed just by the fluidity of things. This site represents the best of where the web is going in terms of web apps functioning like desktop apps. I've not yet seen the lagginess, but it's SO much better than those apps where every submission is an html form and new page load... see what happens if you lose your post on those!
Yep, sadly there are still accidents that can happen where you can lose your posts here; we're working on all of those :)
The lagginess will hopefully be better over the coming days, as we've switched a couple of things around backend-wise to try and deal with it.
are you allowed to talk about your architecture at all? I teach web tech, but it's mostly low-level stuff- html and css, so most other stuff is new to me, and i'm trying to get up to speed.
The core of OpenStudy is written in Scala using the Lift framework. We use a core set of Actors to funnel messages around between Lift's CometActors, which talk to the client for the real-time functionality. Our data is stored in mongodb (we're approaching ~400M of gzipped data). We're running everything but the widget on a single cc1.4xlarge Amazon EC2 instance with 8 cores (16 with hyperthreading) and ~21GB of RAM.
The main server runs both mongodb and the JVM that handles the Scala side of things. The JVM is given up to 15GB of RAM to live in. Most of the latency issues the last couple of months have been related to garbage collection pauses, and we've been trying to tweak both the lifecycles of our objects and the GC strategy the JVM uses to minimize both the frequency and duration of these pauses.
Client-side, most of the data is shuttled back and forth as JSON and bound to HTML templates using Knockout JS ( http://knockoutjs.com/ ).
We use MathJax for our equation handling and a bit of decoration over the Raphael vector graphics framework for drawings.
Let me know if you have any other questions :)
Oh -> Scala is at http://scala-lang.org/ and Lift is at http://liftweb.net/
@shadowfiend- dude, you rock!
Hahaha. Well thank you :)
I've never had a post lost and thanks for the info shadowfiend