Giter Site home page Giter Site logo

chainweb-stream's People

Contributors

buckie avatar devopsgoth avatar randynamic avatar takadenoshi avatar webpro avatar

Stargazers

 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

Forkers

webpro

chainweb-stream's Issues

Request for Comments: General

We are prototyping a way of providing near-real-time updates for chain events to alleviate some of the inconvenience of polling chainweb-data and/or chainweb-node repeatedly.

Opening this issue as a place for potential users of this service to offer their thoughts and feedback.

Note that this is still in early development; we thought to reach out early in order to ensure that we will deliver something that fits your use cases as much as possible.

Request for Comments: Is the historical context useful to you? Otherwise the chainweb-data dependency can be dropped.

One of the requirements we set for this project was the ability to provide some historical data for the queries we serve. When you query for an account or a module, you will receive as many historical entries as the ?limit= query parameter you specify*.

This is the reason chainweb-data is a dependency. Since we need that "path" to read historical data, we also use it for all data reads instead of chainweb-node. If builders/users have their own historical data sources or do not need this feature, then removing the chainweb-data dependency and switching to reading from chainweb-node will simplify both the chainweb-stream implementation and its deployment / maintenance.

* The exception is a bug I just found regarding the very first "instance" of query you make: if cw-stream does not have that account/module/event data cached, you will receive the past 100 transactions regardless of ?limit. I will look into this.

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.