stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Service clustering for Stratos
Date Fri, 24 Apr 2015 16:29:12 GMT
Its not for service discovery, its for cluster discovery; a feature for
supporting cartridges having clustering capabilities to make the clustering
configuration.

On Fri, Apr 24, 2015 at 5:12 PM, Shaheedur Haque (shahhaqu) <
shahhaqu@cisco.com> wrote:

>  I’m a bit confused by this proposal…is the idea that Stratos is telling
> the cartridges what service discovery mechanism they should use?
>
>
>
> *From:* Imesh Gunaratne [mailto:imesh@apache.org]
> *Sent:* 20 April 2015 19:02
> *To:* dev
> *Subject:* Re: Service clustering for Stratos
>
>
>
> +1 for pointing to this Udara! I think it would be better to have this
> functionality in a more generic manner so that any cartridge that needs its
> own cluster discovery mechanism can be plugged in.
>
>
>
> According to our offline discussion with Chamila, IsuruH & Gayan, we could
> introduce a new block called "clustering" in the cartridge definition to
> specify the cluster discovery mechanism of the cartridge. Here we could add
> an attribute called type and mention the cluster discovery method (WKA,
> Multicast, etc). In addition it could specify a set of properties for
> passing parameters to do the clustering configuration. May be this complete
> functionality can be implemented using an extension point.
>
>
>
> The above extension implementation could add required properties to each
> member of the cluster and pass them to the instances via payload
> parameters. According to these parameters cartridge agent extensions could
> do the clustering configuration of each server instance.
>
>
>
> On a side note see below how CoreOS is using etcd for cluster discovery
> without having to rely on WKA:
>
>
> https://coreos.com/docs/cluster-management/setup/cluster-discovery/#new-clusters
>
>
>
> Thanks
>
>
>
> On Mon, Apr 20, 2015 at 5:19 PM, Udara Liyanage <udara@wso2.com> wrote:
>
> Hi,
>
>
>
> In a enterprise environment services are clustered for high availability
> and scalability. So I think we might need to add clustering capability for
> Stratos applications too.
>
>
>
> Like to describe your ideas on below topics related to clustering,
>
>
>
> 1) Define clustering information in cartridge/application definition
>
>
>
> 2) Should support different clustering methods such as WKA schema
>
>
>
> 3) Related information should be passed to cartridge agent, so agent
> extensions can be written to accommodate clustering configuration.
>
>
>
> 4) Puppet modules should be consolidated.
>
>
>
> --
>
>
> Udara Liyanage
>
> Software Engineer
>
> WSO2, Inc.: http://wso2.com
>
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
>
> phone: +94 71 443 6897
>
>
>
>
>
> --
>
> Imesh Gunaratne
>
>
>
> Technical Lead, WSO2
>
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message