What is the difference between twistd plugin and twistd service?

Apparently, you can create services that start with Twisted twistd in two different ways. On the one hand, you can create services using the Twisted Application Infrastructure , and on the other, you can create a service using the Twisted Plugin system . It seems that besides some differences in how you run the application on the command line and the ways you write the actual service, are these two ways to accomplish the same thing?

+7
source share
1 answer

Looks like I found the answer:

http://twistedmatrix.com/pipermail/twisted-python/2009-September/020346.html

What is the recommended or preferred way to deploy the application that will be leverage twistd: developing the application as a twistd plugin or creating a Service and using a .tac file?

The plugin is more enjoyable since you can have command line options like

$ twistd -n web --path = / tmp --port = 8080

+7
source

All Articles