Hacker News new | past | comments | ask | show | jobs | submit login

I actually did a google search for https://www.google.com/search?q=backbone+web

Which gave me the first hit of www.backbonemedia.com/

In fact, backbone.js is no where on the first page for that search.

That's amazing it comes up first for "backbone". I did actually find that link eventually, and try out the "example" todo list, but that gave me no information about how this would fix a garbage collection problem. Does anyone know how it fixed their GC problem?




The article was confusing a bit confusing about the Garbage Collection so I'll try to explain.

1. Dispora is slow, why?

2. Requests take a long time on the server, why?

3. Most of the time is spent in ruby doing processing.

4. Why is ruby slow?

5. Ruby is slow because of the garbage collector.

6. How can we get around this ruby being slow problem?

7. Reduce calls to server side by writing replacing server side calls with javascript rendering of templates and whatnot.


It fixed their garbage collection problem by reducing the amount of server-side processing they had to do (and hence, reducing the amount of garbage that required collection). Rather than send completely rendered HTML to the browser, they're using javascript in the browser to turn the data coming from the server into the rendered page.


Ha. Well, that's why I'm the asshole. ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: