Fab.com interview question

How the database works internally? More of the algorithms / data structures