OpenTransplant icon indicating copy to clipboard operation
OpenTransplant copied to clipboard

How to be a considerate API user? How to scale integrations?

Open wiredsister opened this issue 4 years ago • 1 comments

Over time, we are going to want to have potentially hundreds of triggers and feeds from EHRs and custom medical feed subscriptions (like, Data at the Point of Care - Medicare, in the USA, for example) and have that recalibrate matches and decorate organ and patient data with new tests and disease information, as well as reweigh them in the system as being more or less close to death without a transplant.

wiredsister avatar Dec 26 '20 16:12 wiredsister

We can set up a cache that the core program hits instead of making the API calls itself (which helps reduce externals calls if we're scaling that), and any outgoing information requests are fulfilled by the cache until they are stale. Once we have an idea of the all the external calls we need, we can document them and classify them according to a max_latency parameter.

yanlow avatar Dec 27 '20 04:12 yanlow