[ https://issues.apache.org/jira/browse/ARTEMIS-3292?focusedWorklogId=594567&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-594567 ]
ASF GitHub Bot logged work on ARTEMIS-3292: ------------------------------------------- Author: ASF GitHub Bot Created on: 11/May/21 15:14 Start Date: 11/May/21 15:14 Worklog Time Spent: 10m Work Description: franz1981 commented on pull request #3573: URL: https://github.com/apache/activemq-artemis/pull/3573#issuecomment-838656005 Would be better to use a batching strategy that won't cause tick to copy N pending syncs ie O(N) cost, but just a O(1) cost using a "double buffering" mechanism a-la video game computer graphic, used in order prj eg https://github.com/HdrHistogram/HdrHistogram/blob/master/src/main/java/org/HdrHistogram/SingleWriterRecorder.java#L134 is using a `WriterReaderPhaser` to switch active histograms in order to save the producer threads from being blocked while flushing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 594567) Time Spent: 20m (was: 10m) > PageSyncTimer can reduce garbage and sync while batching syncs > -------------------------------------------------------------- > > Key: ARTEMIS-3292 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3292 > Project: ActiveMQ Artemis > Issue Type: Improvement > Reporter: Francesco Nigro > Assignee: Francesco Nigro > Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > {\{PageSyncTimer}} is currently producing {{OperationContext[]}} on \{{tick}} > and is synchronizing access while appending new sync requests. > Both things could be improved. -- This message was sent by Atlassian Jira (v8.3.4#803005)