4 ms·
Distribution is not necessary. Each server/node will have its own set of processes doing upserts, which are atomic. The testing story from Elixir is relatively
by josevalim 6y ago
Distribution is not necessary. Each server/node will have its own set of processes doing upserts, which are atomic.
The testing story from Elixir is relatively straight-forward too. I send a bunch of requests and then ask the supervisor to shutdown, which forces all processes to terminate and perform their pending writes.
- dnautics 6y ago> Each server/node will have its own set of processes doing upserts, which are atomic. Perfect! thank you for clarifying. Or maybe i should have read it more carefully. > The testing story I keep forgetting ExUnit's start_supervised! exists.