News for hackers. Stuff that matters.
Re:Ask HN: "Simple" sharding tutorials using MySQL or Postgr... by sanj on Thursday June 26, 2008 @11:05AM (#228671)
I've seen folks approach things this way -- Dr. Nic's done some of it in an exploratory manner: http://tinyurl.com/36twmo

But I don't think it is the best approach. I'd much rather push ALL of the magic down into the database layer and not have the app worry about it at all. I want ONE layer of magic and I'd prefer it to be in the DB, where it seems it "should" be.

Re:Ask HN: "Simple" sharding tutorials using MySQL or Postgr... by cstejerean on Thursday June 26, 2008 @11:27AM (#228696)
I'd rather have the layer of magic be in the part of the code I understand best so I can fix it when things go wrong.
Re:Ask HN: "Simple" sharding tutorials using MySQL or Postgr... by sanj on Thursday June 26, 2008 @11:47AM (#228709)
I'm pretty confident I can learn what I need about DB configs, so I'm more concerned about it being in the "right" place from a complexity and efficiency standpoint.
Re:Ask HN: "Simple" sharding tutorials using MySQL or Postgr... by j2d2 on Thursday June 26, 2008 @05:35PM (#229137)
Why doesn't anyone ever talk about distributed caches? Is it really necessary to hit the database for all data? Perhaps I'm confused...