Git Product home page Git Product logo

flow's Introduction

Flow

Let your data flow.

License

Copyright 2015 Lithium Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

flow's People

Contributors

bdharrington7 avatar jigarjoshi avatar mattayres avatar

Watchers

 avatar  avatar  avatar  avatar

flow's Issues

add FilerConfigLoader

As part of config loaders, it would be nice to have Filer based ConfigLoader implementation

Implement a Batcher (to replace LoopQueue)

Need a general purpose tool for implementing batching. This is useful where producers are producing items and consumers are consuming in batches. Examples, producers (anything) -> consumers (db writers).

Implement a max wait time for Batcher

There are some use cases where you may not want to wait for a full batch to arrive and prefer to get a partial batch after a max wait period.

Implement a poll(timeout, unit) method to allow consumers greater freedom.

Accumulating Batcher implementation

Often times when consuming a batch, the first operation is to transform a Batch<T> into a more appropriate "Batch" construct. E.g. when writing a batch to Elasticsearch, you would transform a Batch<T> into a BulkRequestBuilder. This causes a double iteration over the set of elements, the first when batching and the second by iterating over the batch. If the Batcher itself can transform and accumulate into the appropriate final batch object, this double iteration can be removed.

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.