Giter Club home page Giter Club logo

chaoticservices's Introduction

microservices

A library of microservices targeted to aws lamda, next and openwhisk

These services demonstrate the capabilities of the Strategic Machines platform in orchestrating a suite of microservices to support rich Brand interaction.

The pattern represented by this platform is Asynchronous Command Call, where the atomic calls of each microservice needs to be rigorously managed with a delivery guarantee

Building microservices for Strategic Machines

api documentation notes

Note each microservice is purpose built, representing a skill that an agent executes in some sequence

The sequence cannot be anticipated, although all information visible on the platform is made available to the microservice function

However, only the response object sent by the platform will be recorded and made available to the same or next microservice executed in within a dialogue

  1. each service is rigidly structured (highly opinionated) on the format of the data object received and sent
  2. a response object is an array of objects. Each object within the array is a single key value pair
  3. a key of link -- will assume the link is a valid url and pass it accordingly on the web
  4. a key of image -- will text the image using mms
  5. services need to be web enabled as an action
  6. need rate limiting .. auth services

Building State Machines

  1. a state machine is a JSON object, with each property representing a simple function
  2. a state machine can have as many states as needed
  3. all state machine sequences have to terminate with the state of END -- this signals to the platform that the final state has been reached and to terminate the active dialogue

Deploying microservices

  1. implement serviceless framework
  2. sls deploy

chaoticservices's People

Contributors

pdhoward avatar

Watchers

 avatar  avatar

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.