1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
Return-Path: <seanl@literati.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 9A05767
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 28 Oct 2015 20:28:10 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com
[209.85.213.169])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0E271FE
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 28 Oct 2015 20:28:09 +0000 (UTC)
Received: by igbhv6 with SMTP id hv6so16188073igb.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 28 Oct 2015 13:28:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=literati_org.20150623.gappssmtp.com; s=20150623;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc:content-type;
bh=KxXAhgwwJaDh27Tksfq2ylBbJWtNyOn2cn83j7pIAng=;
b=tL4C8IY6O5qnmA7dNPEAp/Q+5uS2VfDgjdA+YtlDpuzfPFWmQuF20SgVnsDTofsDfT
XWNOnpb42A1evd7NJmaq99liXzqJMayYkpdv7R2vYS2hKULbZe2Xb4BBRCJgYEqjKjOA
pghWu2ZN+H5Wf2Twx6KJ6hxVJGj2Z1D7v/j6qXVGP3nzh6tj+9RpOwSfvWtTn7FRR6sv
pQGIbIHdfraULBptjQNlXqH87U5EQD1rG3x4GZsWFKNnxChxca31RKXmeFvRrXXqYMP+
xv+hzrkfk5ayIariZxaHBkwrogLa0/I2G2zrDEaIEt4EcJrVlj7ctfaXc0StDB+nsrbv
p8jw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-type;
bh=KxXAhgwwJaDh27Tksfq2ylBbJWtNyOn2cn83j7pIAng=;
b=fektGNpYJk5neP57P00fx/SEeK9iXtgF+s0rQCm0+CXZ7+z79mIgT2klchuauRo/LD
O/iAZWdTkEl9bd72mblNj4aQWykc+yNQskju3i7FyeC66uMfEQZwYZZi211dcMEb1jZ4
LDiDfGpHJJtC2ng1PlzN7/dVAZYglsv4sJQ70GncwvTTGX7hP/271vfkhjUiFDW0jZnc
QICAtkueoCWNipBh5sOWAw7pEeQJoP6Yw+NqMrRRLKd2+FnAT5vi/EGixI6gTxrqARu1
xU4o6D/pT88grYHMyZrNlg2vqClJWTnw0xJckVSPT8Hx+R4fzPdLaoEpIb5JBX0T8gy5
7mVg==
X-Gm-Message-State: ALoCoQn9qxBqCf6ADWSqXjPu9xpaaQsaML+/t6fos2QRPl3+ub0rDhXLlangHvtY5WVa7UAxkmfi
X-Received: by 10.50.72.108 with SMTP id c12mr5250708igv.63.1446064089381;
Wed, 28 Oct 2015 13:28:09 -0700 (PDT)
MIME-Version: 1.0
References: <CADm_WcaLQzigsdmFR43JqiCYJVpmqkhVDc8GiVG=UN+Z1zg7+w@mail.gmail.com>
<CAAox1Hg-O7Y63mH6RQCtWqZRL52MZK6xSAxgBDDXhf6_bHkH0w@mail.gmail.com>
In-Reply-To: <CAAox1Hg-O7Y63mH6RQCtWqZRL52MZK6xSAxgBDDXhf6_bHkH0w@mail.gmail.com>
From: Sean Lynch <seanl@literati.org>
Date: Wed, 28 Oct 2015 20:28:00 +0000
Message-ID: <CAHKdp-nbP6e6aDyU3hs3o7PfORsW=1xaEJ4Zyp8QNrubXUeQDg@mail.gmail.com>
To: Lucas Betschart <lucasbetschart@gmail.com>, Jeff Garzik <jgarzik@gmail.com>
Content-Type: multipart/alternative; boundary=047d7bdc123c5efabd0523300877
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Wed, 28 Oct 2015 20:47:39 +0000
Cc: Bitcoin development mailing list <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] [patch] Switching Bitcoin Core to sqlite db
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2015 20:28:10 -0000
--047d7bdc123c5efabd0523300877
Content-Type: text/plain; charset=UTF-8
On Fri, Oct 23, 2015 at 1:23 AM Lucas Betschart via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:
> Facebook has a LevelDB fork which is maintained.
> It's called RocksDB and the API seems to be nearly the same as for
> LevelDB, thus maybe easy to replace: http://rocksdb.org/
> https://github.com/facebook/rocksdb
>
> Although I don't know if we might have some negative effects for our
> use-case since RocksDB was optimized for big databases running on multiple
> cores.
>
While RocksDB is pretty decent, note that it's optimized for flash. Not
sure how well it will work on spinning disks.
--047d7bdc123c5efabd0523300877
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Fri, Oct 23=
, 2015 at 1:23 AM Lucas Betschart via bitcoin-dev <<a href=3D"mailto:bit=
coin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</=
a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Face=
book has a LevelDB fork which is maintained.<div>It's called RocksDB an=
d the API seems to be nearly the same as for LevelDB, thus maybe easy to re=
place:=C2=A0<a href=3D"http://rocksdb.org/" target=3D"_blank">http://rocksd=
b.org/</a> =C2=A0=C2=A0<a href=3D"https://github.com/facebook/rocksdb" targ=
et=3D"_blank">https://github.com/facebook/rocksdb</a></div><div><br></div><=
div>Although I don't know if we might have some negative effects for ou=
r use-case since RocksDB was optimized for big databases running on multipl=
e cores.</div></div></blockquote><div><br></div><div>While RocksDB is prett=
y decent, note that it's optimized for flash. Not sure how well it will=
work on spinning disks. =C2=A0</div></div></div>
--047d7bdc123c5efabd0523300877--
|