Sync to the persistence directory every 500 milliseconds

beanstalkd

beanstalkd -b {{path/to/persistence_directory}} -f {{500}}

click the source code to copy install beanstalkd on any operating system with command-not-found.com