Settings

Theme

Gospel of Consistency

blog.woobling.org

15 points by nothingmuch 17 years ago · 1 comment

Reader

jrockway 17 years ago

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.)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection