-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Hi Snowstorm Team 👋,
I'm working with the Snowstorm FHIR terminology server and have successfully uploaded SNOMED CT RF2 files, as well as LOINC and ICD-10 ZIP archives.
We’ve configured the Java heap memory to 4–8 GB, Elasticsearch with 6 GB of memory, and provisioned 4 CPU cores.
While using the $expand operation, we’ve observed that responses are significantly slower when using the filter parameter. For example, without the filter, we receive a response in under 200 ms. However, with a filter applied, the same endpoint takes approximately 4–5 seconds, even with count=10.
Here’s an example API call we're testing:
/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/<<105590001 OR <<418038007 |Propensity to adverse reactions to substance| OR <<267425008 |Lactose intolerance| OR <<29736007 |Syndrome of carbohydrate intolerance| OR <<340519003 |Lysine intolerance| OR <<190753003 |Sucrose intolerance| OR <<413427002 |Acquired fructose intolerance| OR <<716186003 |No known allergy|&filter=sur&count=10&offset=0
Ideally, we expect the filtered response time to be under 500 ms. Could you please advise on how we can optimize performance for $expand operations using the filter parameter?
Looking forward to your guidance!
Thanks & Regards,
Suresh Gedela