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 463C4D0FD for ; Thu, 1 Nov 2012 14:29:31 +0000 (UTC) Received: (qmail 59493 invoked by uid 500); 1 Nov 2012 14:29:31 -0000 Delivered-To: apmail-incubator-openmeetings-dev-archive@incubator.apache.org Received: (qmail 59430 invoked by uid 500); 1 Nov 2012 14:29:30 -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 59412 invoked by uid 99); 1 Nov 2012 14:29:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 14:29:30 +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.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 14:29:23 +0000 Received: by mail-vc0-f175.google.com with SMTP id p1so2776416vcq.6 for ; Thu, 01 Nov 2012 07:29:02 -0700 (PDT) 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=VwZ8Q1Dl93x/C120hCHeN+8CT0jPLVRUUSdnLL0CKUM=; b=SkK8rpL2QAeoeqCL+Vs80U45mADp3zFLG5MsBbjyxntjH0kzty6I89F+X7nGP3kF9E 9A1SqpTe8SC1vWjaQH+/GKZDDLCgLuPTewTD0g6huGYu4FtcVAHPlGV6mla/OVCqX9yG aES78FSnK61mZHYDkuhQUulRmD34qvp5RBbQtDO9S64U2cHKDyLk7wIN+6Z2h93Ydct+ cxTLEWa98OIwhV0Wfcx6y+sIRmB4T9HJV5VgWeZoMwj+OfhenfABYWHzjlYwgjhDMfNA 4jE2zSOblaZwbDLw2+s+M23vqVvPhh9mwIWiduxBRexmqzVmM2UE/Z/4Eb74jU76H/+7 QoCw== MIME-Version: 1.0 Received: by 10.220.8.195 with SMTP id i3mr22681334vci.44.1351780142211; Thu, 01 Nov 2012 07:29:02 -0700 (PDT) Received: by 10.58.163.102 with HTTP; Thu, 1 Nov 2012 07:29:02 -0700 (PDT) Received: by 10.58.163.102 with HTTP; Thu, 1 Nov 2012 07:29:02 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Nov 2012 21:29:02 +0700 Message-ID: Subject: Re: OpenMeetings in clustering with Master/Slave - Public API Review From: Maxim Solodovnik To: "seba.wagner@gmail.com" Cc: "openmeetings-dev@incubator.apache.org" Content-Type: multipart/alternative; boundary=bcaec54fbbb830e0c404cd6fd778 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54fbbb830e0c404cd6fd778 Content-Type: text/plain; charset=UTF-8 Maybe db-clustering can be used? Like MySQL supports clustering ... On Nov 1, 2012 9:25 PM, "Maxim Solodovnik" wrote: > Is any soap user can send such ping? > On Nov 1, 2012 9:10 PM, "seba.wagner@gmail.com" > wrote: > >> native Java rpc, I guess you want to serialize the objects to transfer >> between the instances and transfer via Sockets. >> As far as I understood we then would need to set up our own >> SocketListener and need yet another port to communicate between the >> instances. >> I am rather afraid of the security flaws that we might open the door, I >> would rather use the existing RPC Gateways that we have. >> A simple HTTP Rest call can be quite similar in terms of runtime length. >> After all, master and slaves do not communicate in "real time". The >> slaves ping the master every 3 seconds and update their status. So if the >> call takes 200 milliseconds or 400 milliseconds does not matter at this >> point. >> >> Sebastian >> >> >> 2012/11/1 Maxim Solodovnik >> >>> Ah OK. I thought of native Java rpc, but I guess you are right. >>> Soap/rest looks so heavy :( >>> On Nov 1, 2012 8:53 PM, "seba.wagner@gmail.com" >>> wrote: >>> >>>> What do you mean by RPC? >>>> REST/SOAP are actually RPC Gateways. >>>> Also SOAP/REST is our standard RPC Gateway API. >>>> So what additionally RPC Gateway are you refering to? >>>> >>>> If we "open" yet another "door" to interact with OpenMeetings we should >>>> either make all remote calls that are available via SOAP/REST available via >>>> that door too (or maybe I did just not understood what you mean :)) >>>> >>>> Sebastian >>>> >>>> >>>> 2012/11/1 Maxim Solodovnik >>>> >>>>> Maybe it make sense to use RPC instead of rest/soap? It should be >>>>> faster. Or speed is not critical? >>>>> On Oct 30, 2012 4:44 PM, "seba.wagner@gmail.com" < >>>>> seba.wagner@gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> we have been discussing some of the cluster approaches. >>>>>> I have summarized some graphs and a API descriptions: >>>>>> >>>>>> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Cluster+Master-Slave+overview >>>>>> >>>>>> 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 >>>> >>> >> >> >> -- >> Sebastian Wagner >> https://twitter.com/#!/dead_lock >> http://www.webbase-design.de >> http://www.wagner-sebastian.com >> seba.wagner@gmail.com >> > --bcaec54fbbb830e0c404cd6fd778--