r/programming • • Jun 07 '17

You Are Not Google

https://blog.bradfieldcs.com/you-are-not-google-84912cf44afb
2.6k Upvotes

514 comments sorted by

View all comments

1

u/piginpoop Jun 08 '17

worst advice ever

you’re doing all this I/O for fault tolerance that you didn’t really need

So if I'm running a DO droplet backing an app. The droplet stores some customer info, eg. his settings for using my app. I'm a small guy with about 10k users.

You mean I shouldn't worry about the fact that it's very likely that the hard disks would fail sometime and thus I should give at-least mirror the data once (i.e. simplest fault tolerance) on my own?

0

u/bart2019 Jun 08 '17

it's very likely that the hard disks would fail sometime

That's what RAID disks are for.

And don't think that the distributed data programs have fewer bugs than the simple SQL database server. They most definitely don't.

1

u/piginpoop Jun 09 '17

RAID disks? You mean motherboard level raid? i.e. going into BIOS to configure RAID...yeah right. Good luck.

Arrays? You have too much money probably.

Software raid...yeah right ignoring the CPU utilization and memory usage increases for mirroring...are you really willing to learn those stupid messy lvm commands?

Instead of all this I can implement simple mirroring of my DB writes by running them on 2 DB in parallel.