5 ms·
The process turns a request for binary DNS data into into XML, feeds it into the sytemd/dus ecosystem, which turns it into binary DNS to send it to the forwarde
by userbinator 10y ago
The process turns a request for binary DNS data into into XML, feeds it into the sytemd/dus ecosystem, which turns it into binary DNS to send it to the forwarder. The binary DNS answer then gets turned into XML goes through systemd/dbus, then is turned back into binary DNS to feed back into glibc.
This reminds me of http://thedailywtf.com/articles/XXL-XML http://thedailywtf.com/articles/XXL-XML and the "XML fever" that infected most of the enterprise and otherwise software developers many years ago. Whenever I see some system XML-ifying everything, it's usually a good indicator of grotesque complexity elsewhere in it too.
- deleted 10y ago[deleted]
- scrollaway 10y agoHow else would you send the data to dbus? dbus is xml-based. This is caused by resolved requiring a separate forwarder. "XML" isn't inherently bad.
- cesarb 10y ago> dbus is xml-based "D-Bus is low-overhead because it uses a binary protocol, and does not have to convert to and from a text format such as XML." https://dbus.freedesktop.org/doc/dbus-specification.html https://dbus.freedesktop.org/doc/dbus-specification.html
- wtbob 10y ago> dbus is xml-based. No, it's not: https://dbus.freedesktop.org/doc/dbus-specification.html https://dbus.freedesktop.org/doc/dbus-specification.html > "XML" isn't inherently bad. Yes, it is (well, as a data format; as a markup language it's ugly but serviceable). XML is incredibly verbose, arcanely complex and a colossal time-sink of man-hours which could have been spent on pretty much anything else in computing. It's the JavaScript of data formats (which is amusing, since JavaScript's data format JSON is actually not half bad).
- deleted 10y ago[deleted]
- cesarb 10y agoI took a quick look at https://github.com/systemd/systemd/blob/master/src/resolve/resolved-bus.c https://github.com/systemd/systemd/blob/master/src/resolve/r... which is where I believe the server-side part of resolvd lies, and found no use of XML at all, only the normal dbus binary serialization.
- JdeBP 10y agoHow do you square the use of Desktop Bus that you've observed in the code with the statement by Martin Pitt, systemd developer and Ubuntu systemd maintainer, that sparked this news report in the first place: > we picked "resolved" as that [...] does not require D-Bus (unlike dnsmasq) -- https://lists.ubuntu.com/archives/ubuntu-devel/2016-May/039350.html https://lists.ubuntu.com/archives/ubuntu-devel/2016-May/0393...
- digi_owl 10y agoIs that him misunderstanding the tech he is evangelizing, or a bald faced lie?