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

query cache should allow paginated listing by type #25

Open
britram opened this issue Jan 16, 2018 · 0 comments
Open

query cache should allow paginated listing by type #25

britram opened this issue Jan 16, 2018 · 0 comments
Assignees

Comments

@britram
Copy link
Contributor

britram commented Jan 16, 2018

Right now, GET /query yields an undifferentiated list of queries without any metadata. This is not terribly useful. Suggest a refactor to the following:

  • GET /query/pending -- links to currently pending queries (either submitted, or not yet executing)
  • GET /query/cached -- links to temporarily cached queries (complete, but without _ext_ref)
  • GET /query/permanent -- links to permanently cached queries (complete and referenced)

Since this implies that the query cache will need to keep basically everything in memory anyway, these should probably be listed with at least their encoded form, so a single front-end query can provide a useful listing

(tl;dr, this is pretty much what pto2.5 does)

@britram britram self-assigned this Jan 16, 2018
@britram britram added this to the v3 Beta milestone Jan 16, 2018
@britram britram modified the milestones: v3 Beta 1, v3 Beta 2 Apr 12, 2018
@britram britram modified the milestones: v3 Beta 2, v3 Release May 22, 2018
@britram britram removed this from the v3 Release milestone Jun 12, 2018
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

No branches or pull requests

1 participant