From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UiYle-0003Oi-WD for bitcoin-development@lists.sourceforge.net; Fri, 31 May 2013 23:29:55 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.41 as permitted sender) client-ip=209.85.214.41; envelope-from=laanwj@gmail.com; helo=mail-bk0-f41.google.com; Received: from mail-bk0-f41.google.com ([209.85.214.41]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1UiYld-0004HS-VM for bitcoin-development@lists.sourceforge.net; Fri, 31 May 2013 23:29:54 +0000 Received: by mail-bk0-f41.google.com with SMTP id jc10so1023724bkc.14 for ; Fri, 31 May 2013 16:29:47 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.204.57.13 with SMTP id a13mr3827665bkh.63.1370042987027; Fri, 31 May 2013 16:29:47 -0700 (PDT) Received: by 10.204.16.79 with HTTP; Fri, 31 May 2013 16:29:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 Jun 2013 01:29:46 +0200 Message-ID: From: Wladimir To: Chris Double Content-Type: multipart/alternative; boundary=001a11c369cc91ce3b04de0bfdfc X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (laanwj[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1UiYld-0004HS-VM Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Implementing batch processing for -blocknotify X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 23:29:55 -0000 --001a11c369cc91ce3b04de0bfdfc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Chris, Using zmq is a great fit for high-speed notifications such as this. Have you seen the pull request to integrate zmq directly into bitcoind, so that you don't even need -blocknotify? https://github.com/bitcoin/bitcoin/pull/2415 If not: we could use some testing there! Wladimir On Sat, Jun 1, 2013 at 12:20 AM, Chris Double wr= ote: > On Fri, May 31, 2013 at 11:56 PM, Rune Kj=C3=A6r Svendsen > wrote: > > I'm not quite so how to go about this. > > As others have said, queuing outside of bitcoind is a better approach. > I use zeromq for this situation. blocknotify runs a program which uses > zeromq's pub/sub to queue and the application subscribes to this to > get notified of the data. > > -- > http://www.bluishcoder.co.nz > > > -------------------------------------------------------------------------= ----- > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --001a11c369cc91ce3b04de0bfdfc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Chris,

Using zmq is a great fi= t for high-speed notifications such as this. Have you seen the pull request= to integrate zmq directly into bitcoind, so that you don't even need -= blocknotify?

https://github= .com/bitcoin/bitcoin/pull/2415

If not: we could use some t= esting there!

Wladimir



On Sat, Jun 1, 2013 at 12:20 AM, Chris D= ouble <chris.double@double.co.nz> wrote:
On Fri, May 31, 2013 at 11:56 PM, Rune Kj=C3=A6r Svendsen=
<runesvend@gmail.com> wrot= e:
> I'm not quite so how to go about this.

As others have said, queuing outside of bitcoind is a better approach= .
I use zeromq for this situation. blocknotify runs a program which uses
zeromq's pub/sub to queue and the application subscribes to this to
get notified of the data.

--
http://www.bluis= hcoder.co.nz

---------------------------------------------------------------------------= ---
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.s= f.net/sfu/appdyn_d2d_ap2
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--001a11c369cc91ce3b04de0bfdfc--