How to implement a Worker queue monitor using Storage – Tim Nevels

Wednesday, March 4, 2020, 12:00 noon, CST (UTC−6:00)

Special Topic:
How to implement a Worker queue monitor using Storage – Tim Nevels

Tim Nevels, President of Innovative Solutions, has a project that uploads many thousands of documents to Dropbox.  To maximize bandwidth usage and reduce the upload time, Tim coded the application to use multiple thread-safe worker processes.  However without a way to monitor the queue of jobs waiting in each process, he saw that he had no idea how big the queue of each worker was getting and thus had no idea of how many documents were still waiting to be uploaded.

Tim will show you an implementation of a worker queue to allow tracking how many items are waiting to be processed by a worker and display what the worker is currently working on.

The demo will walk through how to build a simple user interface to monitor the worker queue in real time and how to implement the queue using the new Storage command so that the workers can run preemptively for maximum performance.  The demo is a good example of how to use Storage and when you need to use the Use command.  Sometimes you need Use, and sometimes you don’t.

A sample database with all the source code will be provided which you can also use as a component in your applications.

This meeting is being hosted on Zoom.  Click the link below to join…
https://zoom.us/j/849168589

To follow along with the meeting slideshow, access it here when it is available…
Slides for March 4, 2020 meeting
Demo database from Tim

If you cannot attend the live Zoom meeting, don’t worry!  A recording will be posted to the 4DMethod Youtube channel after the meeting ends.

This entry was posted in Meetings and tagged , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.