-
Notifications
You must be signed in to change notification settings - Fork 819
Description
Hey guys,
I've been wondering what is the concurrency behavior / story of graphene but I don't see anything mentioned in the code base.
A few questions on my mind:
- Has it been a design constrain yet at all? Was the API / architecture designed with this potential concurrency down the road?
- Can any schema be resolved in parallel in a thread pool? like most sql drivers do
- Can we also use gevent or twisted for I/O calls that support it? like making network calls
- Can we mix and match the 2 approaches?
Since Python does not really shine out-of-the-box when it comes to parallelization, I think having clarity would help contributors to build performant integrations with different frameworks. Also it would help users to decide to use Graphene or not.
In my case, I could potentially use the base NodeJS implementation to call over RPCs into my python services, but we are mostly a python shop and I don't want to introduce yet another language (esp Node :p ) unless I really need to.
If concurrency hasn't been given yet much thought but you think it should, especially in the v1 context, I would be very happy to brainstorm here with the broader community :)
Cheers,
J