SparkDevNetwork/Rock-ChMS — Issue #18: Add Pattern to Offload SQL Execution
Author: azturner
Created: 2011-12-03 12:39:04+00:00
State: open

We need a way for a block to specify some database updates that need to be made, but not have to wait for the update to occur. For example, we'd like to know each time a page or an image is requested (through the image.ashx handler), but don't want those requests to have to wait for the framework to update a log file.

Initial Though: The framework should provide an event and event argument that blocks can use to specify a sql statement to run. The framework would then be listening (handling) that event so that whenever it's fired, it starts a new thread to execute the statement.