0.1.2 • Published 2 years ago

bakeryjs v0.1.2

Weekly downloads
81
License
MIT
Repository
github
Last release
2 years ago

BakeryJS

npm version Travis build status

BakeryJS is a Node.js framework for handling common data processing needs.

Why would you need it? Think of how you process data with many small-scale data manipulations. The data is retrieved, shaped, extended, stored, and sent to UI. Imagine you divide complex data processing tasks into smaller reusable components or “Boxes” (Black box with your business logic). BakeryJS gives you straightforward options to connect these boxes into data flows to solve your tasks.

BakeryJS runs your Boxes asynchronously and deals with different processing speed of each Box. With BakeryJS you will gain observability and various options to run your Data Flows.

Project Status

Initial Public Beta

In Socialbakers we use BakeryJS internally on production projects, but there are still many rough edges, especially regarding documentation and public API. We are looking for your feedback to know how to make BakeryJS generally useful outside of our company. Please write an issue if you have any questions or comments.

Features

  • Provides common abstraction for data processing,
  • supports prepared and dynamic flows,
  • works nicely with existing code,
  • no special deployment needs,
  • built-in observability and tracing (planned),
  • extensibility via plugins (planned).

Usage

Install the package via npm:

npm install bakeryjs

See the example folder for example project structure with explanation.

Namings

  • Program: The main entry point of the application, it loads Components and builds Data Flow from the given Job description.
  • Component / Box: A single piece of logic, it can require, provide and emit messages. Generally depending on its behavior it can be:
    • Generator: Generates messages, e.g. reads input queue or listens on socket.
    • Processor: Receives incoming messages and processes them further, e.g. enriches messages with additional data, converts them to different format or emits additional messages derived from incoming messages.
  • Message: An object exchanged between Components, its properties correspond to specific provides, emits, and requires definitions of component.
  • Data Flow: A configuration of Components which exchange data.
  • Job: A piece of work received by the Program, it contains Data Flow and optionally settings for boxes and input parameters.

Contributing

See Contribution Guidelines.

Acknowledgments

BakeryJS was originally inspired by Apache NiFi and Luigi by Spotify.

See Also

Resources

License

MIT

0.1.3-beta

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.1-beta.19

5 years ago

0.0.1-beta.18

5 years ago

0.0.1-beta.17

5 years ago

0.0.1-beta.16

5 years ago

0.0.1-beta.15

5 years ago

0.0.1-beta.13

5 years ago

0.0.1-beta.12

5 years ago

0.0.1-beta.11

5 years ago

0.0.1-beta.10

5 years ago

0.0.1-beta.8

5 years ago

0.0.1-beta.7

5 years ago

0.0.1-beta.6

6 years ago

0.0.1-beta.5

6 years ago

0.0.1-beta.4

6 years ago

0.0.1-beta.3

6 years ago

0.0.1-beta.1

6 years ago

0.0.1-alpha.2

6 years ago

0.0.1-alpha.1

6 years ago

0.0.1-alpha

6 years ago