Summary

  • Determine whether you need to schedule the actions of your service, either through timing or monitored reactions.

  • Service developers should be careful not to use too many resources on the server running the service by constantly running the service or monitoring it. If a service polls too often, it can cause heavy server resource usage, especially on the CPU.

  • You have several choices for implementing how and when a service acts. In many cases, using multiple threads, events, or waits can help alleviate both CPU usage and wasted effort on the server running the service.

  • There is no one way to use a data store to send or receive configuration data. Microsoft provides you with flexibility in the way you design and deploy your solutions and your ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.