Code Monkey home page Code Monkey logo

asobu's People

Contributors

joprice avatar kailuowang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asobu's Issues

Endpoints sets management

Manage endpoints by sets (each service provide an endpoint sets), each set has a version and name(maybe same as root path?).

  • A whole set can be offline if all backing service instance go offline, or they no longer support such version.
  • New definition of endpoint set will replace the old set with the same name and version.
  • For now does not support serving multiple sets with the same name (root path) but different version.

Dynamic route

On the gateway side

  1. path matching using PathBindable and extract parameters into record?
  2. A record from json body and typed labels.
  3. Authentication and sessionInfo
  4. Construct the whole handler with all filters directives and so on
  5. Send back to the ms one record

Use header enrichment pattern rather than request extract

Bottom line: endpoint definitions only have ADTs of header enrichment commands. Per requests, gateway and service communicate with asobu.DistributedRequest and asobu.DistributedResult.
The DSL on the service side extract asobu.DistributedRequest into Domain classes.

Prototype using register instead of map to share routes between a single service and rest

The rest endpoint and a particular service should not need to share the map of all endpoints. Only the rest nodes need this complete map. Between rest nodes and any given service, only a single distributed data register is required. Then a second data map can be shared across all rest nodes. This reduces the 'scope' of an endpoint and decouples each endpoint from one another, potentially decreasing their propagation time to the rest nodes and increasing their resiliency.

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.