Return-Path: X-Original-To: apmail-incubator-openmeetings-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-openmeetings-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 EB04BE5AF for ; Tue, 15 Jan 2013 01:26:46 +0000 (UTC) Received: (qmail 90856 invoked by uid 500); 15 Jan 2013 01:26:46 -0000 Delivered-To: apmail-incubator-openmeetings-dev-archive@incubator.apache.org Received: (qmail 90838 invoked by uid 500); 15 Jan 2013 01:26:46 -0000 Mailing-List: contact openmeetings-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: openmeetings-dev@incubator.apache.org Delivered-To: mailing list openmeetings-dev@incubator.apache.org Received: (qmail 90829 invoked by uid 99); 15 Jan 2013 01:26:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 01:26:46 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of solomax666@gmail.com designates 209.85.220.182 as permitted sender) Received: from [209.85.220.182] (HELO mail-vc0-f182.google.com) (209.85.220.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 01:26:39 +0000 Received: by mail-vc0-f182.google.com with SMTP id fy27so4199973vcb.41 for ; Mon, 14 Jan 2013 17:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N2kao1wGX/ltAlA5/lcsIhwUwb+t/FpkWLLS/0svJGU=; b=tB0KXWMZrSwMudI7+W8YWwFlooRmbhpNASSxAbsGnIbwXb4gYeMo/OXRm/tZE6y8fR cysRlFnT8v+j+S2URInvE+fQSMBylHDyp7+IlpvhnY22LDVWPzUqEqhoeEvrr7o9W8hE UiZ2fLYjMY8uOUsNwLbvyaYNxg/oOx4dkG5N2A/qWQKGZJ7YHOfs0nTzgSk8gGGlwuTG Xy0iH9WKDKFqdc1C7nPDxRhBnRYOjSC5NbVOVMIaoh7KzNWQpg7Bi++oyw+NpPRSszVp Um6Nq203yBkiz0mWuk59EUWdWtZXF959Ei4bxAXYJPEpBjY0H4dwvfJolhEKS21En9eP cKvg== MIME-Version: 1.0 Received: by 10.58.214.231 with SMTP id od7mr107104516vec.44.1358213178991; Mon, 14 Jan 2013 17:26:18 -0800 (PST) Received: by 10.58.188.83 with HTTP; Mon, 14 Jan 2013 17:26:18 -0800 (PST) Received: by 10.58.188.83 with HTTP; Mon, 14 Jan 2013 17:26:18 -0800 (PST) In-Reply-To: References: Date: Tue, 15 Jan 2013 08:26:18 +0700 Message-ID: Subject: Re: Updated Cluster Architecture From: Maxim Solodovnik To: seba.wagner@gmail.com Cc: openmeetings-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=089e0118319810251804d349a6a0 X-Virus-Checked: Checked by ClamAV on apache.org --089e0118319810251804d349a6a0 Content-Type: text/plain; charset=UTF-8 I believe Wicket supports clustering. Maybe we can use Wicket session? I'll try to review design ASAP (I'm a little bit sick right now, might take some time) On Jan 15, 2013 8:21 AM, "seba.wagner@gmail.com" wrote: > Hi Maxims, > > please review again, I changed it even more. > > This SOAP/REST sync between nodes is really not good. It will be much too > slow. > A lightweight session object in the database as you proposed initially is > better. > That way every node in the cluster has a lightweight (but clustered) > session store available and can redirect the user to the correct node (and > we have no cluster specific code in our app). > > Also that way we can use a DNS load balancing as like any other web > application and our HTTP traffic is clustered. Not only RTMP. > I think this approach more meets the real world. > > Sebastian > > > > 2013/1/15 Maxim Solodovnik > >> Hooray :) less components is better :) >> On Jan 15, 2013 7:39 AM, "seba.wagner@gmail.com" >> wrote: >> >>> I have updated the graph for the cluster architecture: >>> >>> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Cluster+Master-Slave+overview >>> >>> The biggest change is that master and slave have the same database (or >>> database-cluster). That makes it a lot easier. >>> The master will still need to coordinate the load, so he needs to ping >>> all slaves to collect the load and redirect to the slave that has the least >>> traffic (or that actually already hosts the requested room) >>> However the slaves can handle both HTTP and RTMP traffic. There is no >>> need to separate that anymore as the slave would use the same database as >>> the master. >>> >>> For syncing the recordings and other files to the master HDD there are >>> multiple solutions. One would be like Maxim proposed to do a Samba mount. >>> The other is for example to use some RSync scripts. This can be decided >>> by the end user on its own. >>> >>> I think this is more suitable then the previous approach and uses the >>> standard mechanisms for clustering. >>> >>> Let me know what you think about that. >>> >>> Thanks! >>> Sebastian >>> >>> -- >>> Sebastian Wagner >>> https://twitter.com/#!/dead_lock >>> http://www.webbase-design.de >>> http://www.wagner-sebastian.com >>> seba.wagner@gmail.com >>> >> > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.webbase-design.de > http://www.wagner-sebastian.com > seba.wagner@gmail.com > --089e0118319810251804d349a6a0--