Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(session-replay-browser): in memory events storage #895

Draft
wants to merge 7 commits into
base: v1.x
Choose a base branch
from

Conversation

lewgordon-amplitude
Copy link

@lewgordon-amplitude lewgordon-amplitude commented Oct 7, 2024

Summary

Currently, we store events using indexedDB (IDB). However, it's not possible in all cases where we want to capture replays that IDB is present. This PR adds an in-memory version of the event store that can either be the default store or will be the fallback if IDB is not present. The storage API is not quite stable yet and the implementation to make both stores unified needs a bit of work. This is small holdover to help in certain situations and to prevent a very large initial PR.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@lewgordon-amplitude lewgordon-amplitude changed the title AMP-112171 in memory events storage feat(session-replay-browser): in memory events storage Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant