also you dont need a separate worker to access your db, if you use nextjs ssr you can access db from api routes and server components