mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.5K
active users

#myelixirstatus

4 posts4 participants0 posts today

Hey #elixirlang people, how do you usually structure code with Oban workers for async processing? ⚙️ #myelixirstatus

Do you create both sync and async APIs, like Context.something and Context.something_later where the latter inserts an Oban job that calls the former?

Do you put business/context logic directly into the worker module?

Do you provide a dedicated context function to create the Oban job or do you just call Oban.insert where needed?

A thing you can do with Elixir: open a file that only exists on node A, message that file handle to node B, then read from or write to the file as if it was local to node B.

I have used this to implement file uploads in an app that I have running with multiple instances using plain old persistent volumes. No object storage, no fancy leader-follower block storage schemes, no third-party file sync service.

💜📘 The Elixir Book Club has chosen our next book!

Designing Data-Intensive Applications (1st Edition)

This highly regarded book reviews the options and trade-offs to consider when handling large datasets.

We meet on Discord for an hour every other week. Our first meeting is Sunday, June 1, 2025, and we will discuss chapters 1 and 2.

#MyElixirStatus #ElixirLang

elixirbookclub.github.io/websi

elixirbookclub.github.ioElixir Book ClubA biweekly book club covering Elixir and general programming topics. All experience levels are welcome.