cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
34 stars 13 forks source link

API V2.0 - Performance testing #4549

Open srtalbot opened 2 weeks ago

srtalbot commented 2 weeks ago

Link to previous testing

Link to rough estimates of current submission numbers from yearly to minute values.

User patterns

There are two primary factors that impact system throughput:

  1. How frequently does the client need/ want to pull the data? (Frequency)
  2. How much data do they need to pull? (Volume)

Based on these factors, here are three user patterns to consider:

  1. (high or low frequency, low volume): Clients pull data as it comes in, in low volumes
  2. (low frequency, high volume): Clients that have significantly higher volumes that want to bulk download during one or two sessions
  3. (high frequency, high volume): Clients that need to pull large volumes regularly throughout the day for a longer period of time.

Acceptance criteria

We can discuss threshold, but using these as a starting point

srtalbot commented 1 day ago

Research question: How many forms could we support at one time if they are conducting a bulk download of 40,000 form submissions per day. (with 2.01 actions per submission)?

Next steps: How might we adhere to this max capacity with our clients?