Thread-safe router
Consistent db choice during request life-time