Monday 14 May 2018

Fat binaries or containers for distribution?

I am thinking through distribution options for an application I'm working on. It uses SQLite in its default configuration, with the option to use PostGreSQL. This article argues that Docker is a band-aid for older scripting languages (PHP, Ruby, Python) that rely on OS kernel services for concurrency ("threads drool, processes rule!"), and that the future belongs to languages designed to compile to no-dependency binaries for distribution (Go, Rust, even Java as with version 9, the runtime can be bundled with the app).I've been thinking about how Electron handles its bundling, including a Node runtime and Chromium in the distribution package. The downsides for Electron (very heavy apps) don't apply as much to my n-tier web application. I am thinking of distributing it as a stand-alone binary, with the Node runtime included, and other external software bundled (SQLite, Solr, and Git).Is anyone else doing something like that, or have an opinion on it?

Submitted May 14, 2018 at 11:56AM by calligraphic-io

No comments:

Post a Comment