Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cf-dev] Cluster support

Hi,

we have been discussing Simon's PR for adding support for observation
fail-over between Californium nodes for quite some time now.

I am currently in Toulouse visiting our friends from Sierra Wireless in
their offices. We have spent this whole day discussing how we want to
proceed with the PR in particular but also with how we want to add
important features to Californium in general.

The people in the room agreed that support for clustering (fail-over of
observations as well as horizontal scale-out) is an important feature
for both Californium as well as for leshan (sitting on top of it). We
also agreed that while the PR would implement some of the
desired/required functionality for observation fail-over it does not
fit in naturally with the way the Californium stack currently works.

We think that this is mainly due to the fact that the Californium stack
currently heavily depends on registration of individual callback
handlers on individual requests being sent out to other CoAP servers
which makes it kind of hard to fail over the processing of
notifications from one node to the other without sharing the
(individually registered) callback handlers as well.

We therefore think that some more fundamental changes need to be made
in order to implement clustering support in a consistent way. We thus
will not merge the PR to Californium's master but instead want to
create a new "experimental" branch to which we merge the PR. On this
experimental branch we can then start re-factoring Californium in any
way we see fit in order to get clustering support "right" before we
then decide whether the changes we need to make are too disruptive in
nature so that the need to go into a Californium 2.0 release only or we
can put them into a Californium 1.1 release. In any case, we also want
to take the opportunity to make some changes to Californium that would
make it easier to later add TCP support.
-- 
Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn


Back to the top