Giter Site home page Giter Site logo

Comments (3)

WolframHempel avatar WolframHempel commented on May 2, 2024

Hi,
unsatisfying answer: No, I'm afraid there are no plans to make the transport-layer between deepstream and the browser swappable. Engine.io does a great job, has proven to be very stable, lightweight and most of all quick to connect, due to its http first, then upgrade to Websocket policy.

In general we're huge fans of a plug-in approach (hence the exchangeable storage/cache/message connectors), but what would be the benefit in being able to use a different transport mechanism?

from deepstream.io.

sjmueller avatar sjmueller commented on May 2, 2024

One reason would be if your app was only targeted to modern browsers/devices, then a websocket-only implementation would be leaner. For example, I believe socketcluster v2 is planning to use only websockets.

Another reason would be to use http/2 instead of websockets, similar to what gRPC does with their bidirectional streaming.

In the grand scope of things @WolframHempel, I totally understand why a pluggable transport isn't necessarily a priority at this time, especially in comparison to something like WebRTC ;)

from deepstream.io.

WolframHempel avatar WolframHempel commented on May 2, 2024

Thanks, you're making a very good point and I agree that it is definitely worth considering for future updates. I'll close this issue for now, but there is a good chance that we'll open another one once we address alternative connection mechanisms

from deepstream.io.

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.