News for hackers. Stuff that matters.
Re:Elixir 1.3.1 released by biokoda on Monday July 11, 2016 @03:27PM (#12073631)
> How do you process a million jobs in parallel across many machines?

Start the processes that execute the code, get notified when they are finished. Literally a couple of lines of Erlang/Elixir. Not some large framework that does all that for you, it's in the language. It is built to run a lot of tasks in parallel and across many machines.

> How do you schedule a job to run in a week?

Like anyone else, put it in some permanent storage like redis. You can also keep it in memory, you can also use mnesia which is a distributed database that comes with Erlang.

There are no comments on this comment yet.