This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Fwd: Is 2K ACID TPS fast for a disk based (scala) database?

No replies
Bill La Forge
Joined: 2011-07-13,
User offline. Last seen 42 years 45 weeks ago.
oops--forgot the list

---------- Forwarded message ----------
From: William la Forge <laforge49@gmail.com>
Date: Tue, Oct 18, 2011 at 7:21 PM
Subject: Re: [scala-user] Is 2K ACID TPS fast for a disk based (scala) database?
To: "Martin S. Weber" <martin.weber@nist.gov>


OK, I turned off the write cache on the disk. Performance dropped from 2222/sec to 2058.

Bill

On Tue, Oct 18, 2011 at 8:52 AM, Martin S. Weber <martin.weber@nist.gov> wrote:
On 10/18/11 11:43, William la Forge wrote:
Razvan,

Easy, at least for the small records datastore, which swift builds on. I
have two dedicated areas on disk which are written to alternately for
each transaction. Each area contains both a timestamp and a checksum. On
startup you read both and use the latest valid data.

So you've turned off the disk's hardware cache, too?

-Martin


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland