When implementing business logic an out-of-process model should be used. For example, if some processing should be done every time a PDF is uploaded to a specific folder, then there is an event that can be subscribed to and the business logic can be implemented in an external process separate from the Content Services server process.
The following diagram gives an overview of the Event System and the event types:
Architecture Information: Platform Architecture