Hacker News new | past | comments | ask | show | jobs | submit login
Gospel of Consistency (woobling.org)
15 points by nothingmuch on Aug 17, 2009 | hide | past | favorite | 1 comment



Good article. Most people don't realize how much data they are silently corrupting.

I did not realize how bad of an idea HTTP sessions were until I started using BDB and a transaction around the whole request. Lots of conflicts that MySQL (and Postgres, out of the box) just silently ignored. BDB showed me my flawed logic, and I changed how I stored sessions. (Only storing the whole object when some field actually changed, rather than always writing what I read at the beginning. Even this is sub-optimal.)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: