3 ms·
Clojure and Elastic Beanstalk. You take an arbitrary Ring-compatbile HTTP server, write a handler, and glue together whatever you need to. And you most likely
by yegortimoshenko 10y ago
Clojure and Elastic Beanstalk.
You take an arbitrary Ring-compatbile HTTP server, write a handler, and glue together whatever you need to.
And you most likely don't need a routing library, you can just use an array-map for that. When it is time to deploy, you create a jar that contains your whole project and upload it to AWS.
Rollback is easy, too, as you don't overwrite your previous version. Funny enough, it means you can treat versions as immutable values of your application over time. I use yyyymmdd for versioning in most projects, that works great with this approach.
There are many discussions on virtues of Clojure's dynamic development environment, so I'll skip that.