Questions about snappy app sandbox

Nick McCloud nick at descartes.co.uk
Wed May 6 13:25:08 UTC 2015


I too would find that very useful. As well as mongo (so sockets based), I am looking at some Python libraries that talk to hardware and aren't generally exposed via sockets. Can we load files read-only from other snaps? I'd be a bit loathed to wrap them in a RESTful interface - more to debug/go wrong and a potential security hole. 

Sent from my iPhone

> On 6 May 2015, at 10:47, LongkerDandy <longkerdandy at gmail.com> wrote:
> 
> Thanks
> 
> Is there a step by step guide to build/publish framework?
> 
>> On Wed, May 6, 2015 at 12:37 PM, Sergio Schvezov <sergio.schvezov at canonical.com> wrote:
>> On Wed, May 06, 2015 at 10:57:37AM +0800, LongkerDandy wrote:
>> > Hi
>> >
>> >     We're starting a IoT gateway project and evaluating different platforms.
>> > I've read some docs at https://developer.ubuntu.com/en/snappy/guides/
>> > But still little bit confused.
>> >     In our project, we have different module for different connected
>> > devices,
>> > and allow 3rd party module installed. We want to use snappy's app/framework
>> > to help us with this.
>> > So questions is:
>> >
>> > 1. Is snappy apps can talk to each other?
>> >     eg, in one app, we start a socket server, other apps can connect and
>> > communicate.
>> 
>> Yes, snappy apps can talk to each other, but since there are no
>> dependencies between apps I suggest that communication be mediated
>> through a framework.
>> 
>> > 2. Is that possible to have a database accessed by multiple apps?
>> >     eg, have a redis-server installed (as app/framework/something else),
>> > apps can connect and seeing the same data.
>> 
>> Yes, make your database engine live inside the framework.
>> 
>> --
>> snappy-app-devel mailing list
>> snappy-app-devel at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
> 
> -- 
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150506/790d0b11/attachment.html>


More information about the snappy-app-devel mailing list