Kinda related - I wrote a library to hook up file system monitoring to Akka actors: <a href="https:&#x2F;&#x2F;github.com&#x2F;pathikrit&#x2F;better-files#akka-file-watcher" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pathikrit&#x2F;better-files#akka-file-watcher</a><p>Here&#x27;s a Java article describing its internals: 
<a href="http:&#x2F;&#x2F;www.javaadvent.com&#x2F;2015&#x2F;12&#x2F;reactive-file-system-monitoring-using-akka-actors.html" rel="nofollow">http:&#x2F;&#x2F;www.javaadvent.com&#x2F;2015&#x2F;12&#x2F;reactive-file-system-monit...</a>