This presentation guides you through working with work manager in Android. It provides you with information on what to consider when integrating work manager in your application. Work Manager library is for handling long-running persistent operations in Android, and is considered a good option for sending data to analytics database, caching data and other functionalities which are long running. The first aspect to consider is the inputs into the system, which is what you want to do. When syncing databases, your inputs are the datasources. You also need to define any constraints which your work manager operates, and finally define the actual work such as downloading, uploading, etc. Feedback is also necessary to know and notify the user or the app the progress of the work. The code involves the implementation of the inputs, controls, process, output and feedback. It also includes necessary tests in the application. The final part involves optimization by using control system transfer function to determine the behavior of the system and thus factors to consider in optimization.