[CIRC-1454] Use identity map to cache item storage representation Created: 02/Mar/22  Updated: 16/Aug/22  Resolved: 15/Mar/22

Status: Closed
Project: mod-circulation
Components: None
Affects versions: None
Fix versions: 23.1.0

Type: Story Priority: P3
Reporter: Marc Johnson Assignee: Marc Johnson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Defines
defines UXPROD-3445 Circulation check out performance POC... In Progress
Sprint: Prokopovych - Sprint 135, Prokopovych - Sprint 134
Story Points: 2
Development Team: Prokopovych
Release: Morning Glory (R2 2022)
RCA Group: TBD

 Description   

Purpose

In order to make it easier to change the way circulation interacts with inventory records, the representation in the domain could be separated more from the underlying representation of the records in inventory storage.

Using PUT requests to make changes to an item record means that the full storage representation needs to be available when changes are made.

Currently, the module keeps that representation within the domain.

A step in removing that representation from the domain is to move the copy of the representation in the item repository instead of the domain class.

Alternatives

The module could re-fetch the item record from storage immediately prior to making the change. This would be a more substantial change in development and:

  • would require additional HTTP request to be made
  • could undermine the optimistic concurrency controls that inventory has implemented

Future Developments

Part of the performance improvement work was intended to include using a dedicated endpoint for making specific changes to items without requiring the full representation.


Generated at Fri Feb 09 00:33:13 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.