GithubHelp home page GithubHelp logo

rotationalio / ensignjs Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 4 KB

Ensign driver, SDK, and helpers for Javascript

Home Page: https://ensign.rotational.dev/

License: BSD 3-Clause "New" or "Revised" License

event-driven eventing frontend microservice sdk-js

ensignjs's Introduction

ensignJS

Welcome to ensignJS!

This repository contains the Ensign driver, SDK, and helpers for Javascript. For the main ensign repo, go here. We also have SDKs for Python and Go.

What's the best way to do streaming in JS?

Enabling convenient access to event streams is Ensign's core feature, but there are a few ways to expose streaming via JS and we're curious what you think would work best.

The options are below and the link to vote is here!

Option 1: WASM

This would be ideal because we could take the Go code and compile it for Javascript. But... will bidirectional streaming actually work? Has anyone tried this? Any suggestions?

Option 2: gRPC-web

Solves the streaming in JS problem but only in the unidirectional case. Doesn't offer bidirectional streaming which is a pretty valuable Ensign feature. Also requires the Ensign core engineers to set up a proxy, and would have some additional implications for core Ensign development. But we can do that if you think that's the best choice...

Option 3: Something custom

Appeal to the core Ensign engineers to create additional internal Ensign endpoints for HTTP 1 that can be used directly with the Fetch API. This would be more natural API queries and WebSockets but development might lag behind the core Ensign functionality. But maybe that's the best option? What do you think?

ensignjs's People

Contributors

rebeccabilbro avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ensignjs's Issues

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.