Wrote this last year as part of an assignment, uploading now to include in CV. Counts all a-z letters in a file, including uppercase and lowercase in the same count. Works using Acca Actors and the MapReduce model.
Takes ~90s to count all letters in a ~5GB version of Bleak House on a Ryzen 9 5950X CPU.
Run with sbt run
Arguments:
- File to count letters in
- Amount of time to wait before calling an error