-
Martin Kollaard
hi! :)
-
debacle
Hi!
-
MattJ
Howdy!
-
debacle
I invited Martin Kollaard to this MUC, because he lets "things" talk XMPP and I'm curious as a cat to learn about it ;-)
-
Martin Kollaard
Yes, mostly it are computer btw, but doing different things. Mostly it are narrowcasting screens in supermarkets across the country :)
-
Martin Kollaard
some versions ago it did check every 30 minutes if it is running the latest content, but we wanted to make changes realtime. so we needed a way that makes a stable connection between backend and device.
-
debacle
and this is realised via bots in MUCs?
-
debacle
or direct chat messages between bots?
-
debacle
Martin Kollaard ^
-
Martin Kollaard
direct messages
-
Martin Kollaard
it started with displays with prices on it, this needs to be able to update fast when there is a wrong price on it :)
-
Martin Kollaard
but slowly we moved everything to it
-
debacle
doesn't that sound like a perfect fit for PubSub?
-
Martin Kollaard
Most of devices do not use the same content, so it was easier not using pubsub
-
debacle
sure, makes sense!
-
Martin Kollaard
difterent per supermarket, and different per area in supermarket.
-
Martin Kollaard
Now we just send json in messages. But I guess it was also possible to use just send stanzas with data or use rpc model.
-
debacle
Martin Kollaard "XEP-0335: JSON Containers"? This is what we will use in my company, but over PubSub.
-
Martin Kollaard
ah I did not know that one, is that only for over pubsub?
-
Martin Kollaard
oh can also be used in a iq, ok nice :)
-
Martin Kollaard
why is it deferred :(
-
MattJ
Things get deferred due to inactivity
-
MattJ
It can be revived if there is interest in it, and if there are enough implementations and feedback from community members, it can get advanced to the next stage
-
MattJ
(from which it will never become deferred)
-
Martin Kollaard
ok :)
-
SouL
> sure, makes sense! Why?
-
MattJ
I guess because pubsub is for broadcasting data to multiple entities, but if you just have a single subscriber then you may as well send directly to them
-
MattJ
pubsub would have the nice feature that it can persist the data and if you needed to e.g. replace the device, it could fetch the latest published data automatically
-
MattJ
and would also solve for any connection reliability issues without needing to resort to MAM
-
Martin Kollaard
offcourse you can create a pubsub per player, but that is a overhead I think :P
-
debacle
you could use PEP btw. if every thingy has their own JID, but the thingy owns the node and must give publish permission on PEP - is this even possible?
-
MattJ
Pretty sure you can affiliate other entities with your PEP service, though I've never seen it done
-
MattJ
and obviously the server can always do anything