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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
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 <laanwj@gmail.com>) 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 <bitcoin-development@lists.sourceforge.net>;
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: <CALn1vHG5VbT4BeFW89DCAx0fzkjaGpABEMEZO42pAs-wdi-e5Q@mail.gmail.com>
References: <CAH2=CKzW41TYbX6c1F8oknA_LttOaA8vmDPmojuowXgEADY61g@mail.gmail.com>
<CALn1vHG5VbT4BeFW89DCAx0fzkjaGpABEMEZO42pAs-wdi-e5Q@mail.gmail.com>
Date: Sat, 1 Jun 2013 01:29:46 +0200
Message-ID: <CA+s+GJBo18mC84=09vEYZ0n7WVeA0MV2OfdvFDap0_sW7TinyA@mail.gmail.com>
From: Wladimir <laanwj@gmail.com>
To: Chris Double <chris.double@double.co.nz>
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 <bitcoin-development@lists.sourceforge.net>
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=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 <chris.double@double.co.nz>wr=
ote:
> On Fri, May 31, 2013 at 11:56 PM, Rune Kj=C3=A6r Svendsen
> <runesvend@gmail.com> 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
<div dir=3D"ltr"><div><div><div>Chris,<br><br></div>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?<br>
<br><a href=3D"https://github.com/bitcoin/bitcoin/pull/2415">https://github=
.com/bitcoin/bitcoin/pull/2415</a><br><br></div>If not: we could use some t=
esting there!<br><br></div>Wladimir<br><br></div><div class=3D"gmail_extra"=
>
<br><br><div class=3D"gmail_quote">On Sat, Jun 1, 2013 at 12:20 AM, Chris D=
ouble <span dir=3D"ltr"><<a href=3D"mailto:chris.double@double.co.nz" ta=
rget=3D"_blank">chris.double@double.co.nz</a>></span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
<div class=3D"im">On Fri, May 31, 2013 at 11:56 PM, Rune Kj=C3=A6r Svendsen=
<br>
<<a href=3D"mailto:runesvend@gmail.com">runesvend@gmail.com</a>> wrot=
e:<br>
> I'm not quite so how to go about this.<br>
<br>
</div>As others have said, queuing outside of bitcoind is a better approach=
.<br>
I use zeromq for this situation. blocknotify runs a program which uses<br>
zeromq's pub/sub to queue and the application subscribes to this to<br>
get notified of the data.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
<a href=3D"http://www.bluishcoder.co.nz" target=3D"_blank">http://www.bluis=
hcoder.co.nz</a><br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
---------------------------------------------------------------------------=
---<br>
Get 100% visibility into Java/.NET code with AppDynamics Lite<br>
It's a free troubleshooting tool designed for production<br>
Get down to code-level detail for bottlenecks, with <2% overhead.<br>
Download for free and get started troubleshooting in minutes.<br>
<a href=3D"http://p.sf.net/sfu/appdyn_d2d_ap2" target=3D"_blank">http://p.s=
f.net/sfu/appdyn_d2d_ap2</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-develo=
pment@lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
velopment</a><br>
</div></div></blockquote></div><br></div>
--001a11c369cc91ce3b04de0bfdfc--
|