The judging algorithm should be a background task that processes the write-ahead log. Communicate via channels.