Hi Imesh,

> Not exactly. If required we can send the ports at the subscription time
> using payload parameters (if the instance can configure them accordingly).

Could you please explain how this can be done? I don't see any payload
parameter field in current cartridge subscription request json
structure in [1].

>>
>> Monitoring the health would also be difficult.
>
> What's problem we have here? We should be able to monitor the sockets I
> guess.

Currently we are not periodically monitoring the sockets in cartridge
instances that are being opened by the application running on it.
Cartridge agent will do a one-time check on specified ports in
cartridge deployment json. This does not guarantee the health of the
application running on cartridge instance.

Also I don't think checking whether ports are active is a good method
of measuring application health. IMHO, we should provide a agent
extension for this since health checking logic depends on the nature
of the application running on the instance.


[1]  
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Subscribing+to+a+Cartridge

Thanks.

Reply via email to