laravel-graphql
laravel-graphql copied to clipboard
How do we hande Subscriptios and Cache here?
Ive see there is a merge pull request, of subscription,
but an example of implementing subscription is not documented...
if there is can someone share the link if not, can someone share their knowledge who they use it?
Also Where do we put the caching logic?
Is it on the backend or the client side?
Hope you can also share your knowledge on this thanks
Im afraid that subscriptions means async calls. PHP cant, you need a socket technology, maybe redis, node or similar.
Haven’t seen it on anywhere. i really dont think will ever be,
On 29 Jan 2018, at 02:01, Code It Like Miley [email protected] wrote:
Ive see there is a merge pull request, of subscription,
but an example of implementing subscription is not documented...
if there is can someone share the link if not, can someone share their knowledge who they use it?
Also Where do we put the caching logic?
Is it on the backend or the client side?
Hope you can also share your knowledge on this thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Folkloreatelier/laravel-graphql/issues/278, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdTXMgNVKLNfhA-92n-g_H3ZkUO8Vbxks5tPRhggaJpZM4Rv8XZ.
What about React PHP https://reactphp.org/ I think it is possible to create a socket server using React PHP, I haven't tried yet.