From 0968f903fe66f9bb8957b8d01e35f3743c74404b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 4 Nov 2014 11:31:31 +0100 Subject: Brought old blog over --- content/cockpit/dbus-powerful-ipc.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 content/cockpit/dbus-powerful-ipc.md (limited to 'content/cockpit/dbus-powerful-ipc.md') diff --git a/content/cockpit/dbus-powerful-ipc.md b/content/cockpit/dbus-powerful-ipc.md new file mode 100644 index 0000000..17e4285 --- /dev/null +++ b/content/cockpit/dbus-powerful-ipc.md @@ -0,0 +1,36 @@ +Title: DBus is powerful IPC +Date: 2014-11-04 +Category: Linux +Tags: dbus, linux +Slug: d-bus-is-powerful-ipc + +D-Bus is powerful IPC Cockpit is heavily built around DBus. We send DBus over our +[WebSocket transport](https://github.com/cockpit-project/cockpit/blob/master/doc/protocol.md), +and marshal them in JSON. + +DBus is powerful, with lots of capabilities. Not all projects use all of these, but so many of +these capabilities are what allow Cockpit to implement its UI. + + * Method Call Transactions + * Object Oriented + * Efficient Signalling + * Properties and notifications + * Race free watching of entire Object trees for changes + * Broadcasting + * Discovery + * Introspection + * Policy + * Activation + * Synchronization + * Type-safe Marshalling + * Caller Credentials + * Security + * Debug Monitoring + * File Descriptor Passing + * Language agnostic + * Network transparency + * No trust required + * High-level error concept + * Adhoc type definitions + +Lennart goes into these further [in a kdbus talk](http://youtu.be/HPbQzm_iz_k?t=2m6s), as well as some of the weaknesses of DBus. -- cgit v1.2.3