Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Enable local query caching #143

Open
andrewsu opened this issue Dec 10, 2020 · 0 comments
Open

Enable local query caching #143

andrewsu opened this issue Dec 10, 2020 · 0 comments
Labels
Milestone

Comments

@andrewsu
Copy link
Member

The time necessary to complete a BTE query is highly variable. Long query times could be driven by throttling the dispatching of API calls to avoid overloading servers, by increasingly lengthy query paths, and by the addition of compute-heavy APIs to the distributed-KG. Here, we will implement the ability to utilize cached results from previous BTE queries. This will be useful in many situations, including when applying new node or edge filters, when modifying or extending existing queries, or when reinitiating failed queries due to API outages.

As one potential implementation, we may follow the pattern we used in the python client for mygene.info and myvariant.info, which uses a local sqlite database.

@andrewsu andrewsu added this to the Segment 2 milestone Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant