Hosting Web Apps in Julia

Just to provide another example of deploying a Julia web app, here’s my project: https://github.com/markhalonen/sauna-sim

I used Joseki for my simple JSON api with a couple GET endpoints, worked great.

I hosted on AWS ec2 after failing to get my project working on AWS Lambda or Heroku.

More details in my blog post: Deploying Julia. You’ve got something running in Julia… | by Mark Halonen | Medium

12 Likes

Very nice post!

BTW, from what I’ve heard, AWS Lambda could work if you

  1. Download and install Julia when the lambda function is first invoked. This is done to work around the 250 MB limit.

  2. Keep it warm by calling the lambda function regularly. This is done to avoid the first hit performance issue, which is not specific to Julia but rather an artifact of the current lambda service.

Another option is to deploy Julia and your app as a Docker image and deploy it on AWS Fargate. I haven’t tried but I can imagine that it should work.