i have as a mechanical engineering student in my practice semester to create a database that includes about 100k+ paths to images in our network. Every, lets say week, i have to synchronize all changes in the network with my DB. So i have to delete Data from the DB if someone deleted a Image in the network or i have to insert new data to my DB.
My problem is, that it needs to long to compare the whole network with my DB, cause of that many paths.
I have spotted few real-time solutions for my problem like watchdog, FindFirstChangeNotification, ReadDirectoryChanges API
. But i have the order, to look for something like Rsync
or FreeFileSync
, so a solution that already exist. I looked at both, but i am really not sure that they could help me with my problem.
I use Python to get all needed metadata from images and insert it to a mariadb-Database on a Windows Computer.
Do you have any ideas that i can follow or is there someone outside that had the same problem?
Thank you for your time. :)