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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
Return-Path: <lucasbetschart@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id DBB4D1BB
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 23 Oct 2015 07:45:11 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com
[209.85.212.172])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0EA0CE1
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 23 Oct 2015 07:45:11 +0000 (UTC)
Received: by wicll6 with SMTP id ll6so19554894wic.1
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 23 Oct 2015 00:45:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
bh=MNtiAld5AKxinvni5zydqG/WsgeYtQ2rkWEeiJThtlA=;
b=SsE6/3jbvru0zgalBVTXINB1Lehy2Fk5riF97M47J6yw9s8OLKQmhR6dH32KMIKaDo
KI+1kXIsWZMhXVxCVJjWzwwHeYxsBWyIVloxhIuyhQWFwPDFmdNmtk1WcuuQthZdJxaj
+P+VmkBUFQ6UibjDMfg4HluGBrmJ+PzCPK1Lz+Uv6wHMfOWPDf0kmo5OPkFBpuqoL0Oy
plHNMgWKWxeB84d2o1H8Tj2zW1afQVOnHck+lRpaOkF9SSzQHVol2RiMwWETCMOJ9Cl1
eJSdFw21agRc654bCxejxLi9z2ZGzMC2ry3HNqBEbojb3yQJ6bGKgYV7Ebs+AZTz/p05
cmlg==
MIME-Version: 1.0
X-Received: by 10.180.210.210 with SMTP id mw18mr2625641wic.18.1445586309478;
Fri, 23 Oct 2015 00:45:09 -0700 (PDT)
Received: by 10.28.212.141 with HTTP; Fri, 23 Oct 2015 00:45:09 -0700 (PDT)
In-Reply-To: <CADm_WcaLQzigsdmFR43JqiCYJVpmqkhVDc8GiVG=UN+Z1zg7+w@mail.gmail.com>
References: <CADm_WcaLQzigsdmFR43JqiCYJVpmqkhVDc8GiVG=UN+Z1zg7+w@mail.gmail.com>
Date: Fri, 23 Oct 2015 09:45:09 +0200
Message-ID: <CAAox1Hg-O7Y63mH6RQCtWqZRL52MZK6xSAxgBDDXhf6_bHkH0w@mail.gmail.com>
From: Lucas Betschart <lucasbetschart@gmail.com>
To: Jeff Garzik <jgarzik@gmail.com>
Content-Type: multipart/alternative; boundary=001a11c25bd078046e0522c0caf6
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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: Fri, 23 Oct 2015 08:22:46 +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: Fri, 23 Oct 2015 07:45:12 -0000
--001a11c25bd078046e0522c0caf6
Content-Type: text/plain; charset=UTF-8
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.
2015-10-22 23:26 GMT+02:00 Jeff Garzik via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org>:
> Here is the beginnings of an implementation to replace leveldb with
> sqlite: https://github.com/jgarzik/bitcoin/tree/2015_sqlite
>
> It builds, but still needs work before passing tests.
>
> It was noted that leveldb is unmaintained, and this is part of researching
> alternatives that are maintained and reliable.
>
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
--001a11c25bd078046e0522c0caf6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Facebook has a LevelDB fork which is maintained.<div>It=
9;s called RocksDB and the API seems to be nearly the same as for LevelDB, =
thus maybe easy to replace:=C2=A0<a href=3D"http://rocksdb.org/">http://roc=
ksdb.org/</a> =C2=A0=C2=A0<a href=3D"https://github.com/facebook/rocksdb">h=
ttps://github.com/facebook/rocksdb</a></div><div><br></div><div>Although I =
don't know if we might have some negative effects for our use-case sinc=
e RocksDB was optimized for big databases running on multiple cores.</div><=
div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot=
e">2015-10-22 23:26 GMT+02:00 Jeff Garzik via bitcoin-dev <span dir=3D"ltr"=
><<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_bl=
ank">bitcoin-dev@lists.linuxfoundation.org</a>></span>:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><div dir=3D"ltr">Here is the beginnings of an implementat=
ion to replace leveldb with sqlite:=C2=A0<a href=3D"https://github.com/jgar=
zik/bitcoin/tree/2015_sqlite" target=3D"_blank">https://github.com/jgarzik/=
bitcoin/tree/2015_sqlite</a><div><br></div><div>It builds, but still needs =
work before passing tests.</div><div><br></div><div>It was noted that level=
db is unmaintained, and this is part of researching alternatives that are m=
aintained and reliable.</div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
<br></blockquote></div><br></div>
--001a11c25bd078046e0522c0caf6--
|