FHIR Chat · hapi serverless container · implementers

Stream: implementers

Topic: hapi serverless container


view this post on Zulip Steven Wang (Jul 28 2020 at 21:28):

Hi all, does anyone try to put hapi plain server into aws serverless container, https://github.com/awslabs/aws-serverless-java-container, so that we can directly use hapi serverless container out of box.

view this post on Zulip Christian Gulden (Jul 29 2020 at 17:48):

I'm not sure how suitable the hapi fhir server is for a serverless deployment. Using the hapi-fhir-jpastarter I usually measure a "cold-start" delay of about 18-20s using the jetty:9.4.30-jre11-slim image before the server can handle requests. But it might be configured and optimized for this: disable any background (export) jobs and the scheduler initialization, use an embedded app server, maybe try building a native image on GraalVM...

view this post on Zulip Jens Villadsen (Jul 29 2020 at 21:47):

i think you will run into problems compiling HAPI to GraalVM. if you can get that to work please ping me

view this post on Zulip Michael E Campbell (Jul 30 2020 at 07:20):

Hello Steven -
Did you see this AWS article associated with the GitHub repository? It gives a fairly good overview of the implementation.

https://aws.amazon.com/blogs/architecture/building-a-serverless-fhir-interface-on-aws/


Last updated: Apr 12 2022 at 19:14 UTC