Return-Path: X-Original-To: apmail-ace-users-archive@minotaur.apache.org Delivered-To: apmail-ace-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A430F86C for ; Wed, 27 Mar 2013 03:45:43 +0000 (UTC) Received: (qmail 21256 invoked by uid 500); 27 Mar 2013 03:45:42 -0000 Delivered-To: apmail-ace-users-archive@ace.apache.org Received: (qmail 21097 invoked by uid 500); 27 Mar 2013 03:45:37 -0000 Mailing-List: contact users-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@ace.apache.org Delivered-To: mailing list users@ace.apache.org Received: (qmail 21066 invoked by uid 99); 27 Mar 2013 03:45:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 03:45:36 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.109.24.30] (HELO smtp-vbr10.xs4all.nl) (194.109.24.30) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 03:45:31 +0000 Received: from [10.100.1.72] (c-24-60-67-0.hsd1.ma.comcast.net [24.60.67.0]) (authenticated bits=0) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id r2R3j6Mu077889 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 27 Mar 2013 04:45:08 +0100 (CET) (envelope-from marcel.offermans@luminis.nl) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Use of ACE for a consumer application From: Marcel Offermans In-Reply-To: Date: Tue, 26 Mar 2013 23:45:06 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <97375E41-6C5A-47D1-A105-BF02D4B2DB65@luminis.nl> References: To: X-Mailer: Apple Mail (2.1499) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org Hello Dan, On Mar 26, 2013, at 7:41 AM, Dan Gravell = wrote: > Hi. I'm interested in using ACE in my product. I've always had trouble > managing the configuration of my OSGi bundles. I create a new release = each > week with a set of bundles updated. Sometimes I add bundles, sometimes = I > remove, but quite often something seems to go wrong with the = configuration. >=20 > What I really want is something that can download the latest = distribution > and install it for me, when the user says so. It feels like ACE can do = this. Yes. > Unfortunately I cannot see much documentation on the site, so may I be > indulged some questions? Sure. > - How many targets can ACE scale to? I have over 2000 new users each = month, > and probably about 20,000 active users Hard to tell exactly, but we've setup ACE in such a way that you can not = only create a single server for all the targets, but also create a = master server with several "relay" servers (which act like proxies) to = spread the load. It also depends a bit on the number of updates, size of bundles and how = often these targets poll for changes. > - How does target management work when users are behind = common-or-garden > ISPs with dynamic IPs etc? I don't really care about what each = individual > target is running, although it would be a nice feature to be able to > remotely manage a given target. But this would be exceptional (maybe > changing the logging on a particular user's target to diagnose some = problem) Right now, ACE keeps track of each individual target, but it can be = setup so any new target registers automatically and gets a specific = software distribution. ACE uses a management agent, which polls the server using HTTP. So = dynamic IPs are no problem, and firewalls usually also not. > - How can this work with an installer? Ideally I'd like to install my > entire product when the user downloads it and not have a two stage > installation That is currently not supported, unfortunately, but it is definitely an = interesting use case that we should explore. We actually do have some = support for installing our deployment packages from a local filesystem, = but we cannot at this point make a seamless switch from local = installation to remote installation. I would not mind at all putting = that on the roadmap though. > - My app runs a Jetty web server where the Update UI lies... how does = this > work with ACE? Do I contact the ACE server API, or interact with the = agent > bundles co-located on the same OSGi container? The management agent by default has an embedded scheduler that = periodically polls the server. Instead of that scheduler, you can also = directly invoke the update task from OSGi (it is a service). So your = update UI could do that, and disable the scheduler. I'm sure these answers have triggered more questions, so don't hesitate = to keep asking! :) Greetings, Marcel