db still crashes under high load, but is stable for realistic reads. Need to add locking to the global lookup