All Projects → blinkist → Alchemist

blinkist / Alchemist

Licence: mit
A realtime ETL engine

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Alchemist

Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+2392.5%)
Mutual labels:  aws, aws-lambda
Lamb
monitoring tool for better visibility when developing AWS Lambda functions
Stars: ✭ 11 (-72.5%)
Mutual labels:  aws, aws-lambda
Serverless Python Requirements
⚡️🐍📦 Serverless plugin to bundle Python packages
Stars: ✭ 838 (+1995%)
Mutual labels:  aws, aws-lambda
Aws Lambda Poppler Layer
AWS Lambda Poppler Layer
Stars: ✭ 25 (-37.5%)
Mutual labels:  aws, aws-lambda
Aws Lambda Dotnet
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Stars: ✭ 945 (+2262.5%)
Mutual labels:  aws, aws-lambda
Lambda Deployment Example
Automated Lambda Deployments with Terraform & CodePipeline
Stars: ✭ 25 (-37.5%)
Mutual labels:  aws, aws-lambda
Gm Lambda Layer
AWS Lambda layer with GraphicsMagick binaries.
Stars: ✭ 35 (-12.5%)
Mutual labels:  aws, aws-lambda
Lambdalogs
A CLI tool to trace AWS Lambda calls over multiple CloudWatch log groups.
Stars: ✭ 18 (-55%)
Mutual labels:  aws, aws-lambda
Aws Auto Terminate Idle Emr
AWS Auto Terminate Idle AWS EMR Clusters Framework is an AWS based solution using AWS CloudWatch and AWS Lambda using a Python script that is using Boto3 to terminate AWS EMR clusters that have been idle for a specified period of time.
Stars: ✭ 21 (-47.5%)
Mutual labels:  aws, aws-lambda
Step Functions Demo
This is a demo project, created as a part of the blog post. The project uses serverless for deployments.
Stars: ✭ 15 (-62.5%)
Mutual labels:  aws, aws-lambda
Lambda Layer Sharp
An AWS lambda layer with pre-built sharp node module optimised for minimal layer size
Stars: ✭ 25 (-37.5%)
Mutual labels:  aws, aws-lambda
Serverless Plugin Stackstorm
Plugin for serverless framework to run ready to use actions from StackStorm Exchange as AWS Lambda.
Stars: ✭ 28 (-30%)
Mutual labels:  aws, aws-lambda
Aws Elasticache Retail Dashboard
AWS ElastiCache for Redis driven real-time retail dashboard
Stars: ✭ 24 (-40%)
Mutual labels:  aws, aws-lambda
Cfn Generic Custom Resource
CloudFormation generic custom resource provider
Stars: ✭ 26 (-35%)
Mutual labels:  aws, aws-lambda
Aws Lambda Workshop
Some incremental examples suitable to host an AWS Lambda Functions workshop
Stars: ✭ 18 (-55%)
Mutual labels:  aws, aws-lambda
Touchdown
Cloud service orchestration framework for python
Stars: ✭ 10 (-75%)
Mutual labels:  aws, aws-lambda
Deprecated Patrol Rules Aws
A set of functions implemented using lambda-cfn to monitor an organization's AWS infrastructure for best practices, security and compliance.
Stars: ✭ 16 (-60%)
Mutual labels:  aws, aws-lambda
Serverless Aws Lambda Node Postgres
Serverless AWS Lambda with Node.js,Postgres Rest API with Sequelize.
Stars: ✭ 18 (-55%)
Mutual labels:  aws, aws-lambda
Cloudmagick
CloudMagick is a serverless application which provides a dynamic image transformation like the small light module of apache2
Stars: ✭ 11 (-72.5%)
Mutual labels:  aws, aws-lambda
Graphql Serverless
Sample project to guide the use of GraphQL and Serverless Architecture.
Stars: ✭ 28 (-30%)
Mutual labels:  aws, aws-lambda

Alchemist

Alchemist is an JavaScript ETL(Extract, Transform, Load) engine focused on managing data coming from multiple sources, in an efficient and streamlined way, by using pipelines. Alchemist

NPM Version CircleCI

If your data-related needs oscillate around any of the following:

  1. loading data from multiple sources, reacting to triggers,
  2. clean-up and transformation to desired format,
  3. formatting data between stages and engines in a custom data processing workflow,

then Alchemist will be the right tool for you!

The concept of Alchemist

Alchemist was designed with 2 goals in mind:

  1. Be lightweight: Alchemist can be installed and used in any JavaScript project.
  2. Be flexible: Alchemist comes with built-in adapters, while being extensible with custom adapters as needed.

While the typical flow of data in an ETL engine is:

  • E(xtract): read data from source,
  • T(ransform): process the data,
  • L(load): load the data into the next processing stage or engine,

Alchemist offers more flexibility, by storing both valid (parseable) and invalid (malformed) data between steps in a pipeline. This distinction allows for deeper and more detailed processing of valid data, while keeping seemingly invalid data safely stored for further analysis and improvements.

The full data processing pipeline is demonstrated in the following diagram:

alchemist_pipeline

Additional resources

A more in depth look about how we use alchemist

Installation TODO

Use npm to add the dependency in your package.json file:

$ npm install alchemist

Or install it globally with:

$ npm install --global alchemist

Usage

Each pipeline is an AWS Lambda function, e.g.:

async call() {
  // Step 1: Define input from Kinesis:
  let input = Input.instanceFor(this.adapterRegistry, 'KinesisInput', { events: this.event.events() })

  // Step 2: Define transformations sequence:
  let transformations = [
    Transformation.instanceFor(this.adapterRegistry, 'FirstEventTransformation'),
    Transformation.instanceFor(this.adapterRegistry, 'SecondEventTransformation'),
    Transformation.instanceFor(this.adapterRegistry, 'ThirdEventTransformation')
  ]

  // Step 3: Define output to Kinesis:
  let output = Output.instanceFor(this.adapterRegistry, 'KinesisOutput', {stream_name: 'output-kinesis-stream'})

  // Step 4: Use console for invalid output
  // Note: ConsoleOutput is a preregistered Adapter!
  let invalidOutput = Output.instanceFor(this.adapterRegistry, 'ConsoleOutput', { })

  // Step 5: Execute the pipeline:
  let pipeline = new Pipeline({
    input:            input,
    transformations:  transformations,
    output:           output,
    invalidOutput:    invalidOutput
  })

  await pipeline.call()
}

Review a complete example to learn more about the complete pipeline structure.

Development

After checking out the repo, run yarn install to install dependencies. Then, run docker-compose run --rm test to run the tests.

To install this library onto your local machine, run npm install. To release a new version, run npm version <update_type> to update the version number in package.json, and then run npm publish, which will push the library to npmjs.com.

License

The npm package is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Alchemist project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].