Skip to content

Scheduling Processes #5059

@ybnd

Description

@ybnd

Problem statement

Resource-intensive Processes such as Discovery reindexing on large databases or importing many Items at once can have a significant impact on performance.

In practice, we mitigate this by starting when we expect lower traffic (e.g. overnight).

Approach

We'd like to introduce a feature to schedule Processes, so administrators can do this sort of thing ahead of time, from the Angular UI.

This would also be useful for periodic work.

  • We already use Spring's @Scheduled for a few things, but we lack a bit of insight into what's running when compared to e.g. actual cron scripts
  • The UI and separate log files we already have for Processes could help a lot here

Considerations

For this to work correctly we'll have to improve how we handle Processes on multi-instance setups:


REST issue: DSpace/DSpace#11816

Metadata

Metadata

Assignees

Labels

claimed: AtmireAtmire team is working on this issue & will contribute backnew featuretools:processesRelated to Scripts & Processes (new to DSpace 7)

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions