wp-graphql/wp-graphql-subscriptions

Release date?

dbelyaeff opened this issue · 3 comments

Hi!

When do you plan to release it?

Once code is written!

Right now we're still in planning stages. PHP isn't exactly ideal for subscriptions, so we'll need to determine the best way to approach this feature.

GraphQL for Laravel and GraphQL for Ruby support transport through a 3rd party service (Pusher), so that's one thought, as there are implementations we can draw inspiration from.

We could also look at using something like Ratchet (http://socketo.me/) to provide a Websocket server from PHP environments.

I've also experimented with Server Sent Events, and while I was able to get them working, they raise a lot of red flags for scaling.

zorca commented

Once code is written!

Right now we're still in planning stages. PHP isn't exactly ideal for subscriptions, so we'll need to determine the best way to approach this feature.

GraphQL for Laravel and GraphQL for Ruby support transport through a 3rd party service (Pusher), so that's one thought, as there are implementations we can draw inspiration from.

We could also look at using something like Ratchet (http://socketo.me/) to provide a Websocket server from PHP environments.

If you are interested in the simplest and most modern way to implement GraphQL subscriptions, this is Centrifugo, written in Golang, user-friendly, very fast and scalable messaging server.

I can't find anything about wpgrahql subscriptions. Are they done?
Thanks.