Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C18D5200B58 for ; Wed, 27 Jul 2016 15:40:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF4D6160AA9; Wed, 27 Jul 2016 13:40:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3DDAD160A93 for ; Wed, 27 Jul 2016 15:40:22 +0200 (CEST) Received: (qmail 28956 invoked by uid 500); 27 Jul 2016 13:40:21 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 28865 invoked by uid 99); 27 Jul 2016 13:40:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 13:40:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0E22B2C0059 for ; Wed, 27 Jul 2016 13:40:21 +0000 (UTC) Date: Wed, 27 Jul 2016 13:40:21 +0000 (UTC) From: "Christopher L. Shannon (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-6377) Introduce a periodic disk sync mode for KahaDB journal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Jul 2016 13:40:22 -0000 Christopher L. Shannon created AMQ-6377: ------------------------------------------- Summary: Introduce a periodic disk sync mode for KahaDB journal Key: AMQ-6377 URL: https://issues.apache.org/jira/browse/AMQ-6377 Project: ActiveMQ Issue Type: Bug Components: Broker, KahaDB Affects Versions: 5.13.4 Reporter: Christopher L. Shannon Assignee: Christopher L. Shannon KahaDB has two modes for journal disk syncs, either always sync for each write or never sync. I'm proposing that we add a third option, a period disk sync. The intended behavior of this would be to run a task in the file appender that would sync the file (if necessary) at some periodic interval (such as every 500 ms, or 1 second, etc) instead of every write. The file would also be synced on close (on file rollover or shutdown) In my testing, syncing every 1 second has been proven to be nearly indistinguishable performance as never disk syncing but is a safer option as you insure that a sync is performed at least once per interval. -- This message was sent by Atlassian JIRA (v6.3.4#6332)