Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tickets:

  • Jira Legacy
    serverSystem JiraFOLIO Issue Tracker
    serverId01505d016ccf3fe4-b8533301-3c2e368a-90f1983e-ee9b165564fc20c466b11a49
    keyCIRC-573
  • Jira Legacy
    serverSystem JiraFOLIO Issue Tracker
    serverId01505d016ccf3fe4-b8533301-3c2e368a-90f1983e-ee9b165564fc20c466b11a49
    keyUICIRC-736

Batch API

Existing API endpoints to provide batch API alternative of:

...

These endpoints would follow a similar design structure as to those described here:

References:

The Design

The existing renewal process is too slow. However, having a batch perform one operation at a time has also proven problematic. The suggested design is to have a batch queue up a defined number of renewals and then perform the operation.
The business logic can perform a pre-process where it checks to see if any of the renewals would fail for business logic reasons. Queue all renewals that pass the business logic test and then when the queue size is reached perform the SQL operation on that queue. This is potentially problematic in that if something fails in the queue the entire queue might be considered a failure. If this is undesired then a queue size of 1 must be used.

...