Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] NativeStore and file sync
  • From: "Bart Hanssens (BOSA)" <bart.hanssens@xxxxxxxxxxxx>
  • Date: Tue, 21 Apr 2020 07:58:12 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bosa.fgov.be; dmarc=pass action=none header.from=bosa.fgov.be; dkim=pass header.d=bosa.fgov.be; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l2b/BY+C2tz7UVZ85vcliFqZJha1A0cbpTOZTKIo/3Y=; b=FPdoUw5Y9SUK43WTPAOSO1aopmYy8WJVvMSPHlTBCBHd4zxTugHGFmFdNG/yO8xW+gdl5yxUaC87ia1bTyJ+EQwO8CIGxtLHv+LhquwsTN/QAaOi7rw45nUZ0ZU/oPex3h1KOpFyeVuRJNtX2xjEN/76r2WBfJCst3HrLihvsXfQYNgoSgUt8OeD8my3egdeb8bc4fazZwLwukD8amma8PjTp+ILKUuGkmGqvgr26WE4ZLuy2Nnr5nb9e/v8+rxWc8P6go+zkeadxgTOD9EYesOPX8eLfX9fzPT7LHSqKmB3WGY0YDKotdKkSa3SPKlaEWiSFg6A+S1x2fm1q0B8RA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bfkYAn5Qtt56CcDAokbDzXfAvOXLp2hu8q4hb7E+4OtrqWpLPiv6komsemnI+CEK8+OAJzT2oFqLBwXkjx6H6L3NvRH9LOk/p+FY6bpHKJTSQKtkW1IY2zTtPKs9bQbOe1Qw3wmNoSLaY1wnX+1hH8aevRrrKuQkW5unaZ/qp6/193R/B2xjDE8rTwy8smoCeIk2LsjWz6hYMR7on9OHhU2YhMNt7ch8d3YnGHE5C5KSx8UVKfOQmjnECw5+ADpsAa14pTQahkLQFP2qhv+3FjTyIPJlEp1ZLFi2UvVbVmcSjfnX3MonzJw1qJQYAs5fpgzBhGxZskwJAnJzDTSX2g==
  • Delivered-to: rdf4j-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/rdf4j-dev>
  • List-help: <mailto:rdf4j-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/rdf4j-dev>, <mailto:rdf4j-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/rdf4j-dev>, <mailto:rdf4j-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWFyZN4TOubt+9/kKLrE/C9zoImqiDNUGg
  • Thread-topic: [rdf4j-dev] NativeStore and file sync

Hi Håvard

 

Enabling by default sounds good to me.

 

In many cases, write performance of disks should nowadays be better anyway,

and one would still be able to disable it when not needed…

 

Best regards

 

Bart

 

From: rdf4j-dev-bounces@xxxxxxxxxxx <rdf4j-dev-bounces@xxxxxxxxxxx> On Behalf Of Håvard Ottestad
Sent: maandag 20 april 2020 17:13
To: rdf4j developer discussions <rdf4j-dev@xxxxxxxxxxx>
Subject: [rdf4j-dev] NativeStore and file sync

 

Hi,

 

While looking at the NativeStore I've noticed that there is a feature to enable forced sync for file writes. From my understanding this would be used to force the underlying storage to flush writes to disk in the case that it is still only in a write cache in memory.

 

This guarantee is particularly useful for a database, since people tend to trust them more in the face of failures (power failures in this case).

 

Forced sync is currently disabled by default.

 

I'm thinking we should enable it by default. Even though this will degrade performance.

 

I would also like to introduce a bulk loading method that would use the optimal settings for loading data (including turning off forced sync).

 

What do people think about this?

 

Håvard


Back to the top