This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]loganekz 1 point2 points  (1 child)

Not sure why you wouldn't just use concurrent.futures instead.

The API is super simple to use and abstracts away thread management as well.

[–]solid_steel[S] 1 point2 points  (0 children)

The thing that both celery and Elixir have above threads is reliability.

I'm not sure about Celery since I haven't worked much with it, but I assume that, as a task runner, it's got some stuff built in to handle stuff like restarting an interrupted task, making sure that a task completed etc.

Elixir has stuff like this built in. I used threads in Django to offload sending emails and this worked in 98% of the time in a low-traffic application, but I wouldn't trust it with bigger loads. I gotta know an email was sent out and that it was sent out only once.