Is SOAP considered a viable comms method for local processes as an
> alternative to D-BUS, DCOP, etc? I am worried that it's just to slow and
> if I commit to using it that in the future I will realise it doesn't scale
> up.
How can we answer that when we don't know how fast you need it to be? KDE
tried using CORBA for IPC, and that was too slow. SOAP is much slower than
CORBA (at least with good ORBs). But whether it's too slow or not is
impossible to say.
If you're worried, apply a strategy pattern with a factory class and make it
easy for you to switch to another IPC layer later.
Thanks to https://www.cncwiki.org/index.php?title=HHC-N8I8OP I managed to connect this buggy module to home assistant using modbus integration: It is important to have verify delay big to not break logic. modbus: - type: tcp host: 192.168.222.222 port: 5000 name: "modbus1" switches: - name: "hhc_r8" address: 16 write_type: coil verify: delay: 36 - name: "hhc_r7" address: 17 write_type: coil verify: delay: 37 - name: "hhc_r6" address: 18 write_type: coil verify: delay: 39 - name: "hhc_r5" address: 19 write_type: coil verify: delay: 48 - name: "hhc_r4" address: 20 write_type: coil verify: delay: 28 - name: "hhc_r3" address: 21 write_type: coil verify: delay: 33
Коментарі
Дописати коментар