News for hackers. Stuff that matters.
Re:How does database sharding work? by phamilton on Thursday April 06, 2023 @11:02PM (#35477507)
A favorite resource: https://learn.microsoft.com/en-us/azure/architecture/pattern...

Microsofts Azure Cloud Patterns is some of the best documentation out there. It's not Azure centric. It focuses on why you may want to do something and describes the techniques that are commonly used to solve it. It's pretty great.

Re:How does database sharding work? by shortrounddev on Thursday April 06, 2023 @11:28PM (#35477693)
MSDN is like the Wikipedia of coding problems. You documentation for things that have nothing to do with MS there
Re:How does database sharding work? by beebmam on Thursday April 06, 2023 @11:12PM (#35477579)
I also couldn't recommend this higher. If you are designing a new application, read these docs. You will almost certainly learn something deeply useful that you'll carry me with you for the rest of your career.
Re:How does database sharding work? by Douger on Thursday April 06, 2023 @11:42PM (#35477785)
Just want to say thanks for pointing out this resource. Will make for some great long weekend reading!
Re:How does database sharding work? by andirk on Thursday April 06, 2023 @11:54PM (#35477867)
Sometimes I wonder how many other industries allow a worker to stumble upon a document that they then read outside of work, despite the details often being kind of difficult to understand at first, frustrating even, but we do it literally as a pastime, for pleasure. I love that.
Re:How does database sharding work? by revskill on Friday April 07, 2023 @01:00AM (#35478195)
The main issue is, i can't stand C# or OOP syntax to illustrate patterns. Why class here ? For God sake, please use simple functions to prove the points.
Re:How does database sharding work? by cpurdy on Friday April 07, 2023 @01:09AM (#35478252)
I think it only reasonable then for you to show us how to do it in COBOL, Lisp, or some other 1950s programming language.
Re:How does database sharding work? by yawgmoth on Friday April 07, 2023 @05:50AM (#35479908)
They might supply Python examples if you ask. A lot of Microsoft documentation has Python as well as C# these days.
Re:How does database sharding work? by danjc on Friday April 07, 2023 @02:43AM (#35478831)
Never come across this before. The collection of articles one level up from your link is an incredible resource.
Re:How does database sharding work? by sahn44 on Friday April 07, 2023 @10:48AM (#35482114)
Great resource and very well written articles. I'm always curious how these come to be when done really well. I wish we could generate high quality, useful, correct, internal documentation like this at my company, but I've never figured out how to get that done in practice. The people that know the concepts are not natural/gifted writers, or at least wouldn't be motivated or prioritize doing this. Even if they did, the style/tone/depth would vary greatly. For these msft docs, they somehow achieve consistent tone, depth, and quality/correctness across so many domains and I just don't know how that's achieved.
Re:How does database sharding work? by game_the0ry on Friday April 07, 2023 @12:22PM (#35483417)
Super helpful, thanks!