Comments (3)
Maybe to start we don't modify core at all. Twisted has it's own version of Service that runner should be able to just take from the config file.
from ginkgo.
With the coming of Context, Twisted services will need to run within these Context services to take advantage of configuration and named services. This also means Twisted will need to run with gevent. Perhaps we can do this without cluttering our class hierarchy by making an explicit TwistedContext that will start Twisted in a separate thread and start the Twisted Application there. This means regular Context won't automatically be able to load Twisted apps, but we can put special case code in the runner as opposed to anything in core or context.
from ginkgo.
Since 0.5.0, this is potentially possible (at least in theory) through AsyncManagers. It has not been researched yet.
from ginkgo.
Related Issues (20)
- service init happens pre-daemonization HOT 1
- ginkgoctl command should block until service is "ready" HOT 1
- Group should be/act as dict HOT 1
- Remove module main section of config.py
- Update examples to latest API HOT 1
- Add module level docstrings HOT 1
- Don't hardcode pid/log files into /tmp HOT 1
- Only make a pidfile when daemonizing HOT 1
- Sanity check configuration when reloading HOT 1
- Add pre-wrapped gevent servers in async.gevent module HOT 1
- Add configuration context manager HOT 1
- Include examples on how to test apps in docs
- any *.conf.py file in source tree breaks nosetests
- ginkgoctl gives 0 exit code and no errors if services fail to start HOT 1
- services started by ginkgoctl don't always stop with ginkgoctl or SIGTERM HOT 5
- Ginkgo on PyPI HOT 1
- Calling self.stop() from within a service's greenlet results in incomplete execution of self.stop() HOT 1
- ImportError: No module named resource HOT 3
- Imported 3rd party modules equals None
- The name ginkgo on Pypi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ginkgo.