I’m toying around with developing a binding; nothing too complicated: just an API and the parsing of the response JSON’s. But there are quite a lot of keys in the JSON’s, and I’m not sure they’re all very useful to the end user. On the other hand, the more data, the merrier.
So I wonder what the cost of running updateChannel() is. I assume it gets run, even if the channel itself isn’t linked to any Item? So maybe it’s wiser to limit the amount of keys that get ‘converted’ to a channel?
Or is the cost negligible, and is ‘the more the merrier’ a reasonable approach?
I don’t know the actual answer, but I would assume not based on some of the behaviors I’ve seen. But someone familiar with the code would need to answer definitively.
But even if it does go out, it wouldn’t be much of a load unless your binding pushed out lot’s of data all the time. From what it sounds like, you’ll be polling an API once per minute or something like that. That shouldn’t overload the system.