AccessControl synchronization across processes #131

Open
opened 2026-06-26 06:23:20 +00:00 by treadful · 0 comments
Owner

AccessControl has a few gotchas where banning a key may not be effective when there are multiple processes serving an instance. Currently this deployment doesn't exist, but it may be come relevant in the future.

One idea for updating in-memory ban lists is reloading adl.json and DB entries periodically.

One idea is a second thread running a job scheduler, like https://github.com/mvniekerk/tokio-cron-scheduler

Ref #128
Ref #130

AccessControl has a few gotchas where banning a key may not be effective when there are multiple processes serving an instance. Currently this deployment doesn't exist, but it may be come relevant in the future. One idea for updating in-memory ban lists is reloading adl.json and DB entries periodically. One idea is a second thread running a job scheduler, like https://github.com/mvniekerk/tokio-cron-scheduler Ref #128 Ref #130
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
treadful/jot#131
No description provided.