mskcc / smile-server

2 stars 4 forks source link

Speed up the initial loading time of Samples page & enable searching #1224

Closed ao508 closed 3 weeks ago

ao508 commented 3 months ago

Related to #1221

A few diff options to explore. Some things we do know is that we want to limit the cache to only work for samples query (not cohorts, etc).

Also want to be able to trigger cache refresh when updates are received for samples or new samples are persisted to db.

One idea might be to allow dashboard to sub to updates topic and queue cache refresh at that time. i.e., event-driven caching..

Can the apollo client built-in polling trigger something like this? Something to explore..


Notes from standup discussion on 8/7:

ao508 commented 3 months ago

Please add your planning poker estimate with Zenhub @qu8n