Hi Malmee,

I think you have misunderstood the requirement. What we need in CF for WSO2
products is a cluster discovery service which could give us a list of
members in a logical cluster. We can use this information to implement a
Carbon membership scheme for initializing the Hazelcast cluster.

Please see similar membership schemes we have implemented here [1] and here
[2].

[1]
https://github.com/wso2/product-private-paas/tree/master/extensions/carbon/ppaas-membership-scheme
[2]
https://github.com/wso2/kubernetes-artifacts/tree/master/common/kubernetes-membership-scheme

Thanks

On Mon, Feb 22, 2016 at 11:29 PM, Malmee Weerasinghe <[email protected]>
wrote:

> Hi All,
> AFAIU there are two methods of implementing clustering on cloud foundry.
> 1) *Lattice*- Lattice is an open source project for running containerized
> workloads on a cluster.
>
> It combines the container scheduling (container processes are balanced
> across the infrastructure, even as the infrastructure changes), per
> application dynamic routing and log aggregation components from Cloud
> Foundry as a stand-alone package for deploying and operating clustered
> applications.
>
> 2) *Hazelcast* - 1.Hazelcast as User Provided Service
> Creating a Hazelcast cluster of 2 or more members and ensure public access
> to the instances and then registering the cluster as a service.
>
>                      2.Hazelcast in Embedded mode
> Hazelcast runs inside an application and when the application is pushed
> onto Cloud Foundry, it’s the application’s job to discover other cluster
> members. Discovery SPI allows users to define their own discovery strategy,
> that enables Hazelcast members to register themselves at Consul server and
> retrieve URLs of other cluster members to make connection.
>                      3.Hazelcast as a Cloud Foundry Service
> Creating a service instance using service broker and then create a
> cluster using the service.
>
> This process of research is done for implementing a carbon membership
> scheme for Cloud Foundry and your inputs are highly appreciated on this
> regard.
>
> Thank you
>
> --
> Malmee Weerasinghe
> WSO2 Intern
> mobile : (+94)* 71 7601905* |   email :   <[email protected]>
> [email protected]
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to