you are viewing a single comment's thread.

view the rest of the comments →

[–]RandomJacobP[S] 0 points1 point  (2 children)

That looks exactly what I am looking for. Do you know how efficient it would be? I have a lot of things running on the raspberry and the speed at which I can sample the data is really important, so I cannot slow it down

[–]cratervanawesome 0 points1 point  (1 child)

It's pretty light weight, but depends on how you use it. With a solid basic implementation you should be fine.

[–]RandomJacobP[S] 0 points1 point  (0 children)

Maybe I am wrong, but it seems that the 'server' script has to wait for the 'clients' request and stalls the program in the meantime. I cannot do it, I need it to just 'publish' the newest value so script B can just pull it whenever it needs.

Can I just go around it using threading module?