Re: D-Bus Versus Varlink

Thiago Macieira <[email protected]> Tue, 02 Apr 2024 17:54:27 -0700
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <19467941.fSG56mABFh@tjmaciei-mobl5>
On Tuesday 2 April 2024 06:57:56 PDT Lennart Poettering wrote:
> * Built around notion of "cheap" connections, i.e. no handshake or
>   anything, just AF_UNIX and write(). i.e. if you want parallel
>   operations being queued, you allocate multiple connections, instead
>   of multiplexing them into one.

> * Compatibility with HTTP (i.e. clear response request logic, JSON is
>   web tech).

I'd consider CoAP over Unix sockets then. That will give you proper GET/POST/
PUT/DELETE semantics, plus pub&sub.

With the added advantage that it works over UDP and TCP over the network, with 
optional (D)TLS encryption.