FAM, Python and my app
I have sadly discovered that integrating fam into my application is simply impossible. I an building a general-purpose metadata file indexing and search service, as per the charter for Advanced search services, and one of the key requirements is rather simple to conceive, yet technically a nearly impossible feat using modern widespread Linux technologies. You see, to maintain a near-realtime index, I need to use FAM to place monitors on every directory, and placing more than a couple hundred locks FAM. Now I’ll try writing a dnotify-based console app, and read the app’s output line by line in my app. I sure hope advances like inotify get more widespread support soon.