Giter VIP home page Giter VIP logo

Comments (6)

AlaaZorkane avatar AlaaZorkane commented on May 22, 2024 9

Hey @signalnerve ! Any updates on this? Especially regarding the latest websocket update?

from workers-graphql-server.

kristianfreeman avatar kristianfreeman commented on May 22, 2024 7

Seems like subscriptions might be possible now with the introduction of durable objects?
https://blog.cloudflare.com/introducing-workers-durable-objects/

Would love to see this starter extended with subscriptions, or at least some guidelines on best practices.

Indeed! Since this issue was created Durable Objects have been birthed into existence :) I'm going to take some time this year to look at Durable Objects and if it will allow us to do subscriptions, that would be amazing! No updates at the moment but when we open DO up for public beta, I'd love to have someone else tackle it too if they're interested 👍

from workers-graphql-server.

lewisl9029 avatar lewisl9029 commented on May 22, 2024 5

Seems like subscriptions might be possible now with the introduction of durable objects?
https://blog.cloudflare.com/introducing-workers-durable-objects/

Would love to see this starter extended with subscriptions, or at least some guidelines on best practices.

from workers-graphql-server.

kristianfreeman avatar kristianfreeman commented on May 22, 2024

Hey @g3rd - we don't currently support it as the Workers platform doesn't have Websockets or anything along those lines.

You should be able to use the Apollo client's polling/refetching capabilities, I haven't tested it personally yet, but planning on trying it out at some point in the future. Let me know if you end up trying it!

from workers-graphql-server.

g3rd avatar g3rd commented on May 22, 2024

I'll be giving is a shot soon, and keep you posted!

from workers-graphql-server.

Niko-La avatar Niko-La commented on May 22, 2024

@g3rd please keep us updated. iot needs real time and subscriptions

@signalnerve is there a delay initially which is typical for serverless functions at the initial bootup? Usually cloud function vendors tell you to run a hack to preserve the function indefinitely.

from workers-graphql-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.