Hacker News new | ask | show | jobs
by mst 1985 days ago
As a minor note, the auto-increment thing can often be handled by having one of the machines only generate even primary keys and the other only generate odd.

Do keep an eye out for id exhaustion if you try that though, since you just halved your headroom when running 100% on one or the other.