Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Databases. Those are the most fascinating and complex programs I know but I have no idea how exactly they work.

Most of complex algorithms and data structures are used in databases.



Databases are conceptually simple. It's making them go fast reliably that's hard. Naive databases are "Lock everything, take search criterion, run over all records, return result, unlock." (DBASE II in the DOS era actually worked that way, and that's what people using Excel as a database are doing.) Now make it go fast and make it reliable despite failures while updating.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: