I feel like like there needs to be a better middleground for having some schema but being able to augment it easily with metadata that you're not querying against (yet). Then later extracting the metadata into queryable columns.
We used Friendly at my previous company wego.com and t worked quite well although I don't know shehar they at still using it. (Friendly doesnt look like it's in activ development)
I don't understand the fetish with caching every variation for every user.
Here's a thought: dynamic apps should render a page exactly one way in html, and rely on javascript and cookies to post-process the site so it APPEARS to be customized for that particular user. That includes admin widgets.
That particularly applies for displaying how many minutes ago something was generated. Serve it with a date-time format, use javascript to post-process into "x seconds ago" or "x minutes ago".
If someone isn't logged in, or isn't an admin, and they hack their javascript to display user or admin stuff, who cares? The user/admin requests sent to the webserver won't succeed anyway, because they rely on having an admin session cookie.
If there's meaningful rather than just UI stuff that users or admins get to see, then you have to cache that separately, but you can even do stuff like loading it dynamically with js so the publicly visible (cached) content can still be used, and you cut down the amount of stuff your server has to auto-generate. It can cache the separate pages (xml, json, whatever) that serve the logged-in user content, as well.
I wonder if Steve (or rather, jedberg or someone else at reddit) were to give the talk today, if 'memcache' and 'memcachedb' would both be replaced by Redis?
We replaced memcachedb with Cassandra a while ago, because memcachedb pretty much hit a wall at some point.
As for replacing memcached, I'm certainly open to it, but from what I've read, the performance of memcache for what we use it for is better than redis.
Watching the video made me feel a little uncomfortable. I come away with the impression that they almost, but not quite, really understood the important lessons.
Still, it was well worth watching and I'm glad Huffman decided to go there.
Are you trolling? Site stability issues very rarely have anything to do with the underlying programming language, unless you're using some experimental language that no one else is using for web development (and even then, Arc seems to be working pretty well for HN).
It's half a dozen employees constantly trying to keep up with what is now a 1 billion page views a month site. From what I understand they're carefully trying to balance getting new hires (which Conde Nast now lets them do) and keep the damn ship afloat.
I dont think reddit's stability is as bad as it looks. Just that Reddit's community is pretty vocal on it. IIRC, they have availability in high 90s (may be jedberg can confirm).
[+] [-] shazow|15 years ago|reply
I feel like like there needs to be a better middleground for having some schema but being able to augment it easily with metadata that you're not querying against (yet). Then later extracting the metadata into queryable columns.
I wrote a post outlining some ideas of how to do this: https://github.com/shazow/everything/blob/master/idea/arbitr...
I've only implemented bits and pieces of this in practice, huge convenience so far.
[+] [-] joshu|15 years ago|reply
[+] [-] iamclovin|15 years ago|reply
We used Friendly at my previous company wego.com and t worked quite well although I don't know shehar they at still using it. (Friendly doesnt look like it's in activ development)
[+] [-] runningdogx|15 years ago|reply
Here's a thought: dynamic apps should render a page exactly one way in html, and rely on javascript and cookies to post-process the site so it APPEARS to be customized for that particular user. That includes admin widgets.
That particularly applies for displaying how many minutes ago something was generated. Serve it with a date-time format, use javascript to post-process into "x seconds ago" or "x minutes ago".
If someone isn't logged in, or isn't an admin, and they hack their javascript to display user or admin stuff, who cares? The user/admin requests sent to the webserver won't succeed anyway, because they rely on having an admin session cookie.
If there's meaningful rather than just UI stuff that users or admins get to see, then you have to cache that separately, but you can even do stuff like loading it dynamically with js so the publicly visible (cached) content can still be used, and you cut down the amount of stuff your server has to auto-generate. It can cache the separate pages (xml, json, whatever) that serve the logged-in user content, as well.
[+] [-] apu|15 years ago|reply
I wonder if Steve (or rather, jedberg or someone else at reddit) were to give the talk today, if 'memcache' and 'memcachedb' would both be replaced by Redis?
[+] [-] jedberg|15 years ago|reply
As for replacing memcached, I'm certainly open to it, but from what I've read, the performance of memcache for what we use it for is better than redis.
[+] [-] spez|15 years ago|reply
[+] [-] p90x|15 years ago|reply
[+] [-] patrickod|15 years ago|reply
[+] [-] code_duck|15 years ago|reply
Reddit has done a great job of serving a massive amount of traffic, given the size of their staff especially.
[+] [-] dwc|15 years ago|reply
Still, it was well worth watching and I'm glad Huffman decided to go there.
[+] [-] natsel|15 years ago|reply
[+] [-] simonw|15 years ago|reply
[+] [-] Pewpewarrows|15 years ago|reply
[+] [-] pjscott|15 years ago|reply
[+] [-] curtis|15 years ago|reply
[+] [-] irahul|15 years ago|reply
[+] [-] random42|15 years ago|reply