Skip to content

Latency issue in the Hours API #66

Description

@luisgreg99

Descriptive summary

Sending requests to Alma to get library hours seem to take very long to respond, causing possible latency spikes across other systems (kiosks, room reservation, etc) that hit this API to retrieve hours from Alma.

Expected behavior

The hours API should be optimized for performance so that other systems don't slow down under heavy load.

Actual behavior

Latency spikes have been in the kiosks app. See issue osulp/kiosks#246

Steps to reproduce the behavior

Possible steps:

  1. Send a POST request to /hours with a date range i.e ["2018-07-18", "2018-07-22"]
  2. Inspect datadog/logs to double check latency

Related work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions