From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id DBB4D1BB for ; 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 ; Fri, 23 Oct 2015 07:45:11 +0000 (UTC) Received: by wicll6 with SMTP id ll6so19554894wic.1 for ; 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: References: Date: Fri, 23 Oct 2015 09:45:09 +0200 Message-ID: From: Lucas Betschart To: Jeff Garzik 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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
Facebook has a LevelDB fork which is maintained.
It= 9;s called RocksDB and the API seems to be nearly the same as for LevelDB, = thus maybe easy to replace:=C2=A0http://roc= ksdb.org/ =C2=A0=C2=A0h= ttps://github.com/facebook/rocksdb

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>

2015-10-22 23:26 GMT+02:00 Jeff Garzik via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>:
Here is the beginnings of an implementat= ion to replace leveldb with sqlite:=C2=A0https://github.com/jgarzik/= bitcoin/tree/2015_sqlite

It builds, but still needs = work before passing tests.

It was noted that level= db is unmaintained, and this is part of researching alternatives that are m= aintained and reliable.



_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.= linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev


--001a11c25bd078046e0522c0caf6--