Showing Posts 1 to 10

AstonJ

AstonJ

For me personally, no.

The only reason I use it is because Discourse does not work without it. I’ve also experienced first hand that it is far from perfect (it lost us around 30 days of posts on MetaRuby because an older container was in ‘limbo’ yet everything appeared to be working fine).

I would not use it for any of my own projects and I can’t really see why anyone would want to use it when a server can handle multiple sites/apps with ease. I can see why software vendors like Discourse would use it as they don’t have to support lots of OS’s, configs etc, but for everyone else, I really do question the value.

Here is a fairly big thread on Docker & Elixir that you might also find of interest:

shanesveller

shanesveller

The strongest case in my eyes for containerizing your Elixir apps is if you must integrate gracefully into a larger ecosystem containing multiple other languages, runtimes, etc. within your org. If you are already shipping other code with Docker, it’s probably a foregone conclusion. If you are greenfield Elixir all the way, it’d be harder to make a strong case for Docker, rkt, etc.

andre1sk

andre1sk

Short answer Nope :slight_smile:
I think networking is a joke
Security is a joke
The whole ecosystem is hype X interested vendor marketing
Was watching black hat conf talk recently on Docker 90% of official packages on the docker hub have security vulnerabilities.

sasajuric

sasajuric

Author of Elixir In Action

I use it for my blog, and we use it at work. I like that I can neatly separate build-time and run-time dependencies, and manage server setups. I also like that I can get something very similar to production on my dev machine. The ability to start multiple instances of the same image also works nicely for us, allowing each member of the team to have their own private deployment of production on the same server. We could do it without containers, but it’s quite simple with docker run.

I’m personally not much of a fan of elaborate ecosystem around Docker, such as CoreOS or Kubernetes. It feels to me as a quite complex emulation of what Erlang can handle directly.

andre1sk

andre1sk

[quote=“sasajuric, post:5, topic:2513”]
I’m personally not much of a fan of elaborate ecosystem around Docker, such as CoreOS or Kubernetes. It feels to me as a quite complex emulation of what Erlang can handle directly.
[/quote] X 100 :slight_smile: looking at startups wasting resources deploying super elaborate systems around k8s, mesos, terraform is maddening :slight_smile:

OvermindDL1

OvermindDL1

I prefer Illumos containers, far better designed.

Docker was not designed for security, it has a lot of security issues consequently, unlike Illumos.

DianaOlympos

DianaOlympos

Here are my point on the whole container thing.

Positive :

  • Containers as a virtualisation layer are great. They are the future
  • The ideas of an immutable, compiled in advance ball of software representing the boot state and configuration of a machine is great. This is what an Erlang Release or a Dockerfile is.

Negative :

  • Linux containers are not there yet. Illumos/SmartOS Zones are your best bet right now. Nicely they have a Linux adn dockerfile compatibility, but still not the Linux you know so well.
  • The whole environment of Docker itself is not there at all
  • Stateful Apps are not properly handled either.

So my advice : Dockerfile and containers can make a lot of sense for your Operational side. But not on Docker engine, and not on Linux.

arpunk

arpunk

There is also FreeBSD jails which does something similar to SmartOS zones. As with SmartOS zones, jails are properly integrated with the rest of the OS stack.

OvermindDL1

OvermindDL1

SmartOS/Illumos zones are actually a later incarnation of BSD Jails that was based on the idea of BSD Jails, specifically instead of just having a kernel shim it actually has entries in the kernel process table itself, that allows processes to have unique networking, unique I/O, unique everything, with the kernel mediating between. It is significantly more advanced and capable. :slight_smile:

DianaOlympos

DianaOlympos

Well in practice, there are patches for FreeBSD Jails to bring them up to zones capabilities, but as far as i know, they are not merged upstream yet. In particular some patch for the network stack.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews