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--