one worker one database model