Stream: hapi
Topic: Large codesystems
Pavel Pilar (Aug 05 2021 at 07:40):
Hello,
we are struggling with large payloads in FHIR resource update. One of our codesystems (HMDB) has roughly 200MB in size/120k concepts and although we tweak settings on ES side as well as FHIR server and DB side, we still cannot create the resource. Currently we end up with 'Connection reset by peer' probably due to timeout.
We are using hapi fhir r4 5.1 version and the FHIR client update method to create a resource. Our solution is deployed in AWS. We are using RDS for the database.
Are there any guidelines for creating such a large CodeSystem in HAPI FHIR server?
Are there any declared limits for the resource size?
What is the recommended hardware configuration for such operations?
Thanks
Brian Postlethwaite (Aug 05 2021 at 10:32):
Does HAPI support compressed gzip
content encodings in the POST?
Pavel Pilar (Aug 06 2021 at 08:17):
The problem is not in sending the data, but in processing it on HAPI FHIR side. @James Agnew - any ideas about maximum size of the resource or ways how to make sure HAPI server can import such resource?
John Silva (Aug 06 2021 at 20:04):
Of course James is the better one to answer ...
We tried using the HAPI FHIR cli before; it has a way to upload CodeSystems (or ValueSets). We did run into problems (Java memory size limits and network problems when we tried it a while ago and with an older version of HAPI, I think 4.2.x, but maybe it works better now.)
https://hapifhir.io/hapi-fhir/docs/tools/hapi_fhir_cli.html
Last updated: Apr 12 2022 at 19:14 UTC