Petals ESB Container

Introduce a lightweight hazelcast-free standalone Shared Area implementation

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.0.1
  • Fix Version/s: 5.0.2
  • Component/s: Registry
  • Security Level: Public
  • Description:
    Hide

    Instead of relying on hazelcast and the embedded registry for standalone domain, we should provide a simpler lightweight in-memory implementation of the shared area.

    It would used in two cases:

    1. When a container is detached from a domain.
    2. When a container is started with a topology configuration that contains only the said container AND is static.


    Note: dynamic topologies will always be used with Hazelcast (or the available default in the classpath).

    This also means that the embedded Registry Overlay will be started only if:

    • There is no shared area implementation specified in topology.xml, and
    • The topology is dynamic, and
    • There is only one container in the topology.

    Actually, the embedded registry overlay becomes less than needed for its current purpose (aka standalone topologies) and maybe it would make sense to:

    1. move it to petals-esb-default-zip instead of petals-esb-minimal-zip (see PETALSESBCONT-434)
    2. start using it for other things that standalone topology, for example to have multi-container topologies where some of the registry members are embedded directly within Petals...
    Show
    Instead of relying on hazelcast and the embedded registry for standalone domain, we should provide a simpler lightweight in-memory implementation of the shared area. It would used in two cases:
    1. When a container is detached from a domain.
    2. When a container is started with a topology configuration that contains only the said container AND is static.

    Note: dynamic topologies will always be used with Hazelcast (or the available default in the classpath). This also means that the embedded Registry Overlay will be started only if:
    • There is no shared area implementation specified in topology.xml, and
    • The topology is dynamic, and
    • There is only one container in the topology.
    Actually, the embedded registry overlay becomes less than needed for its current purpose (aka standalone topologies) and maybe it would make sense to:
    1. move it to petals-esb-default-zip instead of petals-esb-minimal-zip (see PETALSESBCONT-434)
    2. start using it for other things that standalone topology, for example to have multi-container topologies where some of the registry members are embedded directly within Petals...
  • Environment:
    -

Issue Links

Activity

Hide
Victor NOËL added a comment - Wed, 22 Jun 2016 - 09:21:54 +0200

The documentation should be updated once we decided on all these points:

Show
Victor NOËL added a comment - Wed, 22 Jun 2016 - 09:21:54 +0200 The documentation should be updated once we decided on all these points:

People

Dates

  • Created:
    Fri, 17 Jun 2016 - 12:07:10 +0200
    Updated:
    Tue, 28 Jun 2016 - 15:41:52 +0200
    Resolved:
    Tue, 28 Jun 2016 - 15:41:51 +0200