You are reading content from Scuttlebutt
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
@Hendrik Peter %VGVwSItAsqkcZkw0D9rZO3igc1raw//4ZLKswpp0nME=.sha256

spawn a process each to populate

Watch out with your DB-pool if populating includes writing back to the database ;)
the spawned processes will all run async and lock your DB up (unless you have some kind of hard-coded pool-size & queue on your ORM)

Killed some databases this way while running AWS-Lambdas once :p

@Hendrik Peter %nKrnTetwhdLil7soM2XQmapjtkZUGxOogeZbHrKel8k=.sha256

sidenote: I absolutely adore how robust and efficient async in Erlang/Elixir is (when Supervisors are setup correctly) and that it's totally fine to just spawn x-thousand processes across processor cores or even different machines to deal with stuff!

User has not chosen to be hosted publicly
Join Scuttlebutt now