Hi Ondrej,

Thanks for sharing the design.

It seems like the design document is technology agnostic: it does not
mention any specific technology used for the implementation. Yet you
mention that the implementation is in progress. Does it mean that the
technology stack was already chosen? Can you share this information?


I have 2 areas in the document I would like to understand better.

*1. OCF CoAP Gateway*

If my understanding is right, this component is in charge of handling the
TCP connectivity with the connecting clients and servers, while all the
logic is "forwarded" to other components, using commands and events. Is it
right?

It will be helpful to get an overall picture of the "other" components.

You mention that the "Gateway" is stateful by nature, due to the TCP
connection. What about the other components? Can they be stateless, so the
state will be managed in a Data Store? This may be helpful from the scaling
perspective.


*2. Resource Shadow*

If I got it right, the architecture assumes that the cloud keeps the
up-to-date state of the server resources, by permanently observing those
resources, even if no client is connected. Is it right?

Does it mean that a "query" (GET request) by a client can be answered by
the cloud, without need to query the actual server?

Will there be a mechanism to sore the history of the server state? What
will be needed to develop such a functionality?



The last point... If I got it right, the only way to communicate is via TCP
connection using TLS. This may be good enough for servers like smart home
appliances, and clients like mobile apps on smartphones. But there is also
a case of cloud-to-cloud integration: say, voice commands to be issues by a
3rd party cloud. In the cloud-to-cloud case, I doubt it's a good idea to
require the overhead of a TCP connection per requesting user. Is there any
solution for cloud to cloud scenario in the current design?


Best regards

Max.




-- 
Max Kholmyansky
Software Architect - SURE Universal Ltd.
http://www.sureuniversal.com









On Thu, Aug 9, 2018 at 2:48 PM, Ondrej Tomcik <[email protected]>
wrote:

> Dear IoTivity devs,
>
>
>
> Please be informed that the new Cloud 2.0 design concept is alive:
> https://wiki.iotivity.org/coapnativecloud
>
> Your comments are warmly welcome.
>
> Implementation is in progress.
>
>
>
> BR
>
>
>
> *Ondrej Tomcik **:: **KISTLER **:: **measure, analyze, inovate*
>
>
> 
>
>


-- 
Max Kholmyansky
Software Architect - SURE Universal Ltd.
http://www.sureuniversal.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9834): 
https://lists.iotivity.org/g/iotivity-dev/message/9834
Mute This Topic: https://lists.iotivity.org/mt/24238274/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to