by plunchete on 1/10/12, 7:10 PM with 58 comments
by jashkenas on 1/10/12, 8:23 PM
The speed benefits that Diaspora is seeing from distributing their HTML rendering is probably only the first step. There are so many more interesting interactions you can accomplish once your data is being modeled in the browser.
by AznHisoka on 1/11/12, 1:25 AM
Just dump everything, spend 1% of your time rewriting everything in PHP, and the rest actually doing some marketing, not imaginary work.
by tripzilch on 1/10/12, 10:14 PM
Then what is this whole database backend for? Is it like the "main" Diaspora hub? And could anyone set up their own secondary one? Would they run into the same difficulties they're trying to solve here?
Though I get the feeling I'm probably misunderstanding the entire Diaspora project, here.
by ferrofluid on 1/10/12, 9:29 PM
I guess this blog post was maybe not meant for purely technical people, but it would be nice to understand what "Backbone" is, and exactly why it would solve their problems.
by JoachimSchipper on 1/11/12, 5:40 AM
by charliesome on 1/10/12, 10:40 PM
ERB, Haml (which is what Diaspora uses), and any other templating engine I've seen use either concat or << when rendering a template. These never create a new object, they mutate (and perhaps resize) the original string.
Maybe next time they should profile better before following their gut feeling and rewriting their front end ;)
by peterhunt on 1/11/12, 4:52 AM
Maybe this is a really stupid idea, but what if we gasp disabled the GC during the course of each request and did a collection run after the request is completed and before the next one is accepted? With a sufficient number of workers, wouldn't this solve some of the problems they were having?
by memoryfault on 1/11/12, 7:24 AM
by gaius on 1/10/12, 10:09 PM
by charlesju on 1/10/12, 10:01 PM
by emehrkay on 1/11/12, 5:16 AM
this is from webkit nightly after I clicked a user name and got a "you messed up" 404 page and went back
by marcosvm on 1/10/12, 9:35 PM
by bionicbrian on 1/11/12, 1:10 AM
Also cool that the source is public on Github. thanks for that. Always fun to peek in on source.