I have a project that uses multiple VVVV instances.
For communication between them, I use ZeroMQ by @velcrome
ZeroMQ needs a conversion to Raw to send something.
So I start to convert my Values to Strings, then to Raw.
But the bad news is that the whole communication logic consumes more CPU than I save with my instances :(
All Sifts, AsStrings, Getslices, Separates for encoding and decoding values and strings are very heavy.
In the end, I have 14000 ticks to decode only the position of my objects (thousands of objects)
So I guess I chose the wrong method!
(Split in VL is a little bit faster than Separate…)
Here is a little demo patch (needs ZeroMQ): InstancesCommunication.zip (9.3 KB)
So I wanted to know what are your strategies for instances communication?
VVVV-Messages? VL? A smarter use of AsStrings, Separates, Sifts…? OSC?
A cool thing would be to have all the S nodes of the instance encoded in one “object” as mentionned it that post :
@catweasel , you seem to use a lot of instances in your projects, for a long time, do you have any advice on this subject?