Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29F05967A for ; Mon, 10 Sep 2012 10:34:52 +0000 (UTC) Received: (qmail 58081 invoked by uid 500); 10 Sep 2012 10:34:51 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 57980 invoked by uid 500); 10 Sep 2012 10:34:50 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 57940 invoked by uid 99); 10 Sep 2012 10:34:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 10:34:49 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mreutegg@adobe.com designates 64.18.1.185 as permitted sender) Received: from [64.18.1.185] (HELO exprod6og103.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 10:34:40 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP ID DSNKUE3CK08QrR+6AYmfBrdOX9cjXxkAX8MK@postini.com; Mon, 10 Sep 2012 03:34:19 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q8AAYHEa006612 for ; Mon, 10 Sep 2012 03:34:18 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q8AAYBw2014466 for ; Mon, 10 Sep 2012 03:34:17 -0700 (PDT) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.264.0; Mon, 10 Sep 2012 03:33:22 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Mon, 10 Sep 2012 11:33:20 +0100 From: Marcel Reutegger To: "oak-dev@jackrabbit.apache.org" Date: Mon, 10 Sep 2012 11:33:18 +0100 Subject: process boundaries Thread-Topic: process boundaries Thread-Index: Ac2PPNRkiWD/h+7BQTidX/m/iywd5A== Message-ID: <9C0FC4C8E9C29945B01766FC7F9D389816FE0B2083@eurmbx01.eur.adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org hi all, while looking through the oak code and also in light of the recent MongoDB based MicroKernel, I was wondering where the process boundaries are. right now with the maven build everything runs in the same process, which is one possible deployment option. I guess as soon as we have some alternative MicroKernel implementation that scales well, we will probably also think about scaling the application on top of oak. the most obvious solution is to just run the application multiple times in separate processes and they all connect to the oak repository. there's existing information on that topic, like the stack=20 with the different layers [0], however it doesn't talk about where the process boundaries are and where we'd need a protocol (except for the top level protocols to access=20 the content through JCR or the Oak API directly). so, the question I have is basically about oak-core. is it intended and designed to run in multiple processes and access a single MicroKernel instance? that way an application running in multiple processes would embed an oak-core, which talks to the MicroKernen. Or is it rather intended that oak-core runs in a single process and all clients connect to that single instance? regards marcel [0] http://wiki.apache.org/jackrabbit/OakComponentStructure