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.
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.