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: DataWorker | robust cross-tab request deduplication and replay #8698

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Jul 8, 2023

These are a bonus features :)

consider them highly experimental at the moment.

we plan to ship a stable version of most of these sometime in 5.x

====

Experiments:

  • data-worker | run WarpDrive in a worker (lots of edge cases to iron out, but may work for you)
  • persisted-cache | persist request state locally (not workable yet)
  • document-storage | OPFS/StorageManager alternative to IndexedDB for persisted-cache (you could use this to build a persisted-cache, probably better to wait for us to)
  • local-fetch | probably a thin wrapper over sqlite-wasm (have spiked/discarded versions over indexeddb and storagemanager) enabling a restricted set of queries to run locally / local backends to just-work for many apps (will be back eventually)

@runspired runspired changed the title exp: void 0 feat: DataWorker | SharedWorker + IndexedDB robust request deduplication and replay Aug 11, 2023
@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature labels Aug 11, 2023
@runspired runspired force-pushed the data-worker branch 2 times, most recently from 12a9aa0 to 63c95e0 Compare September 5, 2023 06:47
Copy link
Collaborator

@Baltazore Baltazore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

renamed lifetimes according to latest main

packages/experiments/README.md Outdated Show resolved Hide resolved
packages/experiments/README.md Outdated Show resolved Hide resolved
packages/experiments/README.md Outdated Show resolved Hide resolved
packages/experiments/README.md Outdated Show resolved Hide resolved
packages/experiments/README.md Outdated Show resolved Hide resolved
packages/experiments/src/-private/utils.ts Outdated Show resolved Hide resolved
tests/example-json-api/workers/ember-data-cache-worker.ts Outdated Show resolved Hide resolved
tests/example-json-api/workers/ember-data-cache-worker.ts Outdated Show resolved Hide resolved
@runspired runspired force-pushed the data-worker branch 2 times, most recently from a8a8102 to 600729f Compare June 14, 2024 20:11
@runspired runspired changed the title feat: DataWorker | SharedWorker + IndexedDB robust request deduplication and replay feat: DataWorker | robust cross-tab request deduplication and replay Jul 10, 2024
@runspired runspired merged commit b011ef0 into main Jul 12, 2024
18 checks passed
@runspired runspired deleted the data-worker branch July 12, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants