Elixir and the BEAM make it so easy and pleasant to run extremely complicated infrastructure in the same codebase and in the same application context. Hard problems made easy.
I miss it.
Elixir and the BEAM make it so easy and pleasant to run extremely complicated infrastructure in the same codebase and in the same application context. Hard problems made easy.
I miss it.
It is common to have:
frontend <-JSON-> backend <-db/queue-> background jobs
Each boundary introduces complexity (marshalling / impedance mismatch / but also different HR/recruiting needs).
In Elixir you can more or less do:
front/back/background
with no boundaries or reduced boundaries (e.g. using LiveView & OBAN in the same process, even if going through Postgres as a queue).
Someone coined the term "deepstack engineer" as well recently I think, which I could draw as:
frontend <-> backend <-> background <-> machine learning
Now with Elixir you can do everything in the same process (but with isolation as required):
front/back/background/ml
And this is something I find really interesting about this stack.
So I can relate :-)
See:
- https://www.youtube.com/watch?v=g3oyh3g1AtQ - https://www.youtube.com/watch?v=HK38-HIK6NA
:sigh:
I am surprised, both in terms of the difficulty you faced and that you would want to; I have beef with the fact that using Celery with Django runs "worker" process on the application server by default.
It's much better than having to worry about extra infrastructure, just deploy your app and because it's code you control you can customise what the queue is going in really bespoke and application specific ways.
Wow, that's pretty cool
I'm sure you're right that the nature of Elixir makes wrangling all the different services easier but is there something special it does to make embedding easier as well?
If I didn't have context clues, it'd be difficult to know which one you mean.
Edit: not native but I've always understood it as the first def here https://idioms.thefreedictionary.com/all+but
This stems from "all but" = "almost"[0]
Compare to a disaster described as "the destruction is all-but-total".
That phrase does not mean "you could describe the destruction by any label except total." For example, whatever just happened it definitely not "tiny" or "moderate".
Like “all but dead”. Everything except dead, as in as close to death as possible without actually being dead (and certainly not the opposite of dead, as in perfect health).