Allow to buffer output
|Status:||On Hold||Start date:||2012-04-17|
|Priority:||Won't have this time||Due date:|
|Category:||Logging API||Spent time:||-|
Performance could suffer from the load caused by i/o writes or db queries.
Buffering the output and writing in batches could help.
(idea from T3DD12 workshop)
Updated by Steffen Müller 10 months ago
Can we 100% rely on the buffer being written at any time? What if script dies before buffer is written?
Updated by Steffen Müller 2 months ago
- Status changed from Needs Feedback to On Hold
- Priority changed from Should have to Won't have this time
This should be solved with a BufferWriter, which can be shipped as 3rd party writer.
The log configuration could pipe all log events to the BufferWriter.
The BufferWriter would need to hook into the rendering, right before Bootstrap is shutdown. Not sure if core allows stuff like this.