abdunnasir started a new conversation+100 XP
2mos ago
Hello,
I am building an uptime monitoring application as a hobby project.
Suppose I want to monitor 1000 websites every minute. What is the best way to do this?
If I add all 1000 websites to a queue, it will take more than one minute to process all the checks. That means the next monitoring cycle may start after 3–4 minutes, so I cannot achieve a true 1-minute interval.
What is the best approach to handle this in Laravel?
abdunnasir started a new conversation+100 XP
2mos ago
I’m building a Laravel application using Laravel Auth for authentication. In my app, a user can be either the owner of a project or a collaborator. Each project has multiple resources, and access to those resources depends on the user’s role within that specific project (not global roles).
Is there an existing Laravel package that supports project-scoped roles and permissions, or is the recommended approach to implement this using pivot tables and Laravel policies?
What is the best practice for this scenario?