X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 7781EDC015C for ; Wed, 23 Nov 2011 07:09:28 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 4B258AE4001; Wed, 23 Nov 2011 07:09:27 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zo3rZ1+RIfFJ; Wed, 23 Nov 2011 07:09:26 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 3AB27376277; Wed, 23 Nov 2011 07:09:26 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id C1CD260A873B4; Wed, 23 Nov 2011 07:09:25 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 7475560A86EE0; Wed, 23 Nov 2011 07:09:24 +0000 (UTC) Date: Wed, 23 Nov 2011 08:09:24 +0100 From: Natanael Copa To: Jesse Young Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] build server messaging Message-ID: <20111123080924.11e3e72b@ncopa-desktop.nor.wtbts.net> In-Reply-To: <20111122191018.2df62a73@telperion.jlyo.org> References: <20111122165940.6c0e0371@ncopa-desktop.nor.wtbts.net> <20111122191018.2df62a73@telperion.jlyo.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Tue, 22 Nov 2011 19:10:18 -0600 Jesse Young wrote: > On Tue, 22 Nov 2011 16:59:40 +0100 > Natanael Copa wrote: > > > Hi, > > > > Our current messaging between git server and buildservers goes via > > public IRC and has not been 100% reliable. > > > > So I have been looking at replacing it with a zeromq[1] based infra. > > > > The idea is that we have a buildmsg-server that listens on 2 ports, > > one for subscribers and one for git push notifications. > > I'm not familiar with the build system, and only minimally familiar > with zmq, so ignore me if I'm totally off base. > > The way I understand how zmq subscription sockets work is that > clients will miss notifications if they get disconnected for whatever > reason. So a mechanisim should be in place to replay notifications > that the client may have missed. It is not really a big problem since what the build server does when it gets it notification is pull from git and build all that has been changed (or more precise, build everything that is missing). In other words it will pick up everything it has missed while it was offline. zeromq is pretty nice in that way, that if the subscriber start up before the publisher, it will auto connect whenever the publishing server (buildmsg-server) server comes up. If the buildmsg-server goes down people who does a git push will notice it since the git notification will block til server comes back up again. > Maybe this is the non-reliability > you're experiencing with IRC as well? Not really. I think the build bot does not handle all kinds of stuff that might happen with a public IRC server. (irc server goes offline, comes back, you get kicked from the channel etc etc). The problem is that we don't have control over the messaging server which currently is Freenode. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---