Hi @all, we're currently planning on using the Tntnet framework as a configuration backend on an Embedded Linux device. As boot time optimization always is a buzz word on embedded systems, I evaluated using systemd as our init process (which is _really_ cool, btw). Unlike the classic SysV Init, systemd tries to aggressively parallelize the boot process, using features like e.g. socket activation, where systemd creates a socket and passes it to the application - i.e. the application does not have to create it itself. The same feature also allows to start services on demand, e.g. I've created a dropbear (SSH Server) unit, that only starts the actual daemon when a connection on port 22 is detected by systemd.
Now I've also thought about doing that with an example web application we wrote (a standalone executable using the tntnet framework) when a connection on port 80 is detected, but soon realized that it's not as easy to do with tntnet in its current state. As many major distributions will be switching to systemd in the near future (e.g. Debian / Ubuntu) or already use systemd (e.g. Fedora), I was wondering whether there are any plans to integrate (probably optional) systemd support into tntnet? Integrating something like that seems easy enough, all in all it's just the sd-daemon.[h,c][1] files that need to be copied into the project and using the systemd functions they provide (which are all backwards compatible in case someone's not using systemd). [1] http://0pointer.de/blog/projects/socket-activation.html -- Mit freundlichen Grüßen / Kind Regards, Bernhard Seßler, B.A. R&D Corscience GmbH & Co. KG Henkestr. 91 D-91052 Erlangen Germany Tel: +49 9131 977986-516 Fax: +49 9131 977986-445 e-mail: [email protected] <mailto:[email protected]> Internet: www.corscience.de <http://www.corscience.de/> -------------------------------------------------------------------------------- Corscience GmbH & Co. KG Sitz der Gesellschaft/Place of business: Erlangen Amtsgericht/Local court: Fürth Handelsregisternummer/Commercial Register No.: HRA 7510 Geschäftsführer/Managing director: Prof. Dr. Armin Bolz, Dipl.-Volksw. Marc Griefahn CONFIDENTIALITY: This e-mail and any attachments are confidential and may also be privileged. If received in error, please do not disclose the contents to anyone, but notify us immediately by return e-mail and delete this e-mail and any attachments from your system. Thank you. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
