Alternatives to Apache Flink logo

Alternatives to Apache Flink

Apache Spark, Apache Storm, Akutan, Apache Flume, and Kafka are the most popular alternatives and competitors to Apache Flink.
516
861
+ 1
38

What is Apache Flink and what are its top alternatives?

Apache Flink is a powerful open-source stream processing framework that is capable of handling batch processing as well. It provides low-latency and high-throughput processing of big data sets in real-time. Flink offers fault tolerance, event time processing, support for complex event processing, and connectors to various data sources and sinks. However, configuring and managing Flink clusters can be complex, and it may not be suitable for small-scale projects.

  1. Apache Spark: Apache Spark is a popular open-source unified analytics engine for big data processing. It provides support for batch processing, real-time stream processing, machine learning, and graph processing. Key features include in-memory processing, fault tolerance, and a rich set of APIs. Pros of Apache Spark include ease of use and scalability, while cons include relatively higher memory consumption compared to Apache Flink.
  2. Kafka Streams: Kafka Streams is a client library for building real-time stream processing applications with Apache Kafka. It offers scalability, fault tolerance, stateful processing, and seamless integration with Kafka. Pros of Kafka Streams include tight integration with Kafka and simplicity, while cons include limited features compared to Flink.
  3. Apache Storm: Apache Storm is a distributed real-time computation system with a similar focus on stream processing as Flink. It provides fault tolerance, horizontal scalability, and support for complex event processing. Pros of Apache Storm include low latency and powerful processing capabilities, while cons include a steeper learning curve compared to Flink.
  4. Amazon Kinesis Data Analytics: Amazon Kinesis Data Analytics is a fully managed service for real-time processing of streaming data with Apache Flink. It offers easy deployment, scalability, and integration with other AWS services. Pros include seamless integration with AWS, while cons include potential vendor lock-in.
  5. Google Cloud Dataflow: Google Cloud Dataflow is a managed service for real-time stream and batch data processing. It provides autoscaling, fault tolerance, and integration with Google Cloud services. Pros include ease of use and integration with Google Cloud, while cons include limited flexibility compared to Apache Flink.
  6. Microsoft Azure Stream Analytics: Microsoft Azure Stream Analytics is a real-time data processing service that offers low-latency processing, scalability, and integration with Microsoft Azure services. Pros include tight integration with Azure, while cons include limited customization options compared to Flink.
  7. Apache NiFi: Apache NiFi is a robust data ingestion and distribution system that can be used for real-time data processing. It offers data routing, transformation, and system mediation capabilities. Pros of Apache NiFi include ease of use and flexibility in data flow management, while cons include limited complex event processing features compared to Flink.
  8. StreamSets: StreamSets is a data operations platform that enables real-time data movement and processing. It offers support for data drift handling, data pipeline monitoring, and integration with various data sources. Pros include ease of use and comprehensive monitoring capabilities, while cons include potential performance limitations compared to Flink.
  9. Heron: Heron is a real-time stream processing engine developed by Twitter as a successor to Apache Storm. It provides low latency, high throughput, and seamless integration with Apache Storm topologies. Pros of Heron include performance improvements over Storm, while cons include a smaller community compared to Flink.
  10. Hazelcast Jet: Hazelcast Jet is an open-source distributed stream processing engine that offers high performance, fault tolerance, and support for distributed computing primitives. Pros of Hazelcast Jet include fast processing speeds and scalability, while cons include a smaller ecosystem compared to Flink.

Top Alternatives to Apache Flink

  • Apache Spark
    Apache Spark

    Spark is a fast and general processing engine compatible with Hadoop data. It can run in Hadoop clusters through YARN or Spark's standalone mode, and it can process data in HDFS, HBase, Cassandra, Hive, and any Hadoop InputFormat. It is designed to perform both batch processing (similar to MapReduce) and new workloads like streaming, interactive queries, and machine learning. ...

  • Apache Storm
    Apache Storm

    Apache Storm is a free and open source distributed realtime computation system. Storm makes it easy to reliably process unbounded streams of data, doing for realtime processing what Hadoop did for batch processing. Storm has many use cases: realtime analytics, online machine learning, continuous computation, distributed RPC, ETL, and more. Storm is fast: a benchmark clocked it at over a million tuples processed per second per node. It is scalable, fault-tolerant, guarantees your data will be processed, and is easy to set up and operate. ...

  • Akutan
    Akutan

    A distributed knowledge graph store. Knowledge graphs are suitable for modeling data that is highly interconnected by many types of relationships, like encyclopedic information about the world. ...

  • Apache Flume
    Apache Flume

    It is a distributed, reliable, and available service for efficiently collecting, aggregating, and moving large amounts of log data. It has a simple and flexible architecture based on streaming data flows. It is robust and fault tolerant with tunable reliability mechanisms and many failover and recovery mechanisms. It uses a simple extensible data model that allows for online analytic application. ...

  • Kafka
    Kafka

    Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design. ...

  • Kafka Streams
    Kafka Streams

    It is a client library for building applications and microservices, where the input and output data are stored in Kafka clusters. It combines the simplicity of writing and deploying standard Java and Scala applications on the client side with the benefits of Kafka's server-side cluster technology. ...

  • Airflow
    Airflow

    Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command lines utilities makes performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress and troubleshoot issues when needed. ...

  • Samza
    Samza

    It allows you to build stateful applications that process data in real-time from multiple sources including Apache Kafka. ...

Apache Flink alternatives & related posts

Apache Spark logo

Apache Spark

2.9K
3.5K
140
Fast and general engine for large-scale data processing
2.9K
3.5K
+ 1
140
PROS OF APACHE SPARK
  • 61
    Open-source
  • 48
    Fast and Flexible
  • 8
    One platform for every big data problem
  • 8
    Great for distributed SQL like applications
  • 6
    Easy to install and to use
  • 3
    Works well for most Datascience usecases
  • 2
    Interactive Query
  • 2
    Machine learning libratimery, Streaming in real
  • 2
    In memory Computation
CONS OF APACHE SPARK
  • 4
    Speed

related Apache Spark posts

Eric Colson
Chief Algorithms Officer at Stitch Fix · | 21 upvotes · 6.1M views

The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

For more info:

#DataScience #DataStack #Data

See more
Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 7 upvotes · 2.9M views

Why we built Marmaray, an open source generic data ingestion and dispersal framework and library for Apache Hadoop :

Built and designed by our Hadoop Platform team, Marmaray is a plug-in-based framework built on top of the Hadoop ecosystem. Users can add support to ingest data from any source and disperse to any sink leveraging the use of Apache Spark . The name, Marmaray, comes from a tunnel in Turkey connecting Europe and Asia. Similarly, we envisioned Marmaray within Uber as a pipeline connecting data from any source to any sink depending on customer preference:

https://eng.uber.com/marmaray-hadoop-ingestion-open-source/

(Direct GitHub repo: https://github.com/uber/marmaray Kafka Kafka Manager )

See more
Apache Storm logo

Apache Storm

201
281
25
Distributed and fault-tolerant realtime computation
201
281
+ 1
25
PROS OF APACHE STORM
  • 10
    Flexible
  • 6
    Easy setup
  • 4
    Event Processing
  • 3
    Clojure
  • 2
    Real Time
CONS OF APACHE STORM
    Be the first to leave a con

    related Apache Storm posts

    Marc Bollinger
    Infra & Data Eng Manager at Thumbtack · | 5 upvotes · 1.8M views

    Lumosity is home to the world's largest cognitive training database, a responsibility we take seriously. For most of the company's history, our analysis of user behavior and training data has been powered by an event stream--first a simple Node.js pub/sub app, then a heavyweight Ruby app with stronger durability. Both supported decent throughput and latency, but they lacked some major features supported by existing open-source alternatives: replaying existing messages (also lacking in most message queue-based solutions), scaling out many different readers for the same stream, the ability to leverage existing solutions for reading and writing, and possibly most importantly: the ability to hire someone externally who already had expertise.

    We ultimately migrated to Kafka in early- to mid-2016, citing both industry trends in companies we'd talked to with similar durability and throughput needs, the extremely strong documentation and community. We pored over Kyle Kingsbury's Jepsen post (https://aphyr.com/posts/293-jepsen-Kafka), as well as Jay Kreps' follow-up (http://blog.empathybox.com/post/62279088548/a-few-notes-on-kafka-and-jepsen), talked at length with Confluent folks and community members, and still wound up running parallel systems for quite a long time, but ultimately, we've been very, very happy. Understanding the internals and proper levers takes some commitment, but it's taken very little maintenance once configured. Since then, the Confluent Platform community has grown and grown; we've gone from doing most development using custom Scala consumers and producers to being 60/40 Kafka Streams/Connects.

    We originally looked into Storm / Heron , and we'd moved on from Redis pub/sub. Heron looks great, but we already had a programming model across services that was more akin to consuming a message consumers than required a topology of bolts, etc. Heron also had just come out while we were starting to migrate things, and the community momentum and direction of Kafka felt more substantial than the older Storm. If we were to start the process over again today, we might check out Pulsar , although the ecosystem is much younger.

    To find out more, read our 2017 engineering blog post about the migration!

    See more
    Akutan logo

    Akutan

    6
    32
    0
    A Distributed Knowledge Graph Store
    6
    32
    + 1
    0
    PROS OF AKUTAN
      Be the first to leave a pro
      CONS OF AKUTAN
        Be the first to leave a con

        related Akutan posts

        Apache Flume logo

        Apache Flume

        48
        119
        0
        A service for collecting, aggregating, and moving large amounts of log data
        48
        119
        + 1
        0
        PROS OF APACHE FLUME
          Be the first to leave a pro
          CONS OF APACHE FLUME
            Be the first to leave a con

            related Apache Flume posts

            Kafka logo

            Kafka

            23K
            21.6K
            607
            Distributed, fault tolerant, high throughput pub-sub messaging system
            23K
            21.6K
            + 1
            607
            PROS OF KAFKA
            • 126
              High-throughput
            • 119
              Distributed
            • 92
              Scalable
            • 86
              High-Performance
            • 66
              Durable
            • 38
              Publish-Subscribe
            • 19
              Simple-to-use
            • 18
              Open source
            • 12
              Written in Scala and java. Runs on JVM
            • 9
              Message broker + Streaming system
            • 4
              KSQL
            • 4
              Avro schema integration
            • 4
              Robust
            • 3
              Suport Multiple clients
            • 2
              Extremely good parallelism constructs
            • 2
              Partioned, replayable log
            • 1
              Simple publisher / multi-subscriber model
            • 1
              Fun
            • 1
              Flexible
            CONS OF KAFKA
            • 32
              Non-Java clients are second-class citizens
            • 29
              Needs Zookeeper
            • 9
              Operational difficulties
            • 5
              Terrible Packaging

            related Kafka posts

            Eric Colson
            Chief Algorithms Officer at Stitch Fix · | 21 upvotes · 6.1M views

            The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

            Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

            At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

            For more info:

            #DataScience #DataStack #Data

            See more
            John Kodumal

            As we've evolved or added additional infrastructure to our stack, we've biased towards managed services. Most new backing stores are Amazon RDS instances now. We do use self-managed PostgreSQL with TimescaleDB for time-series data—this is made HA with the use of Patroni and Consul.

            We also use managed Amazon ElastiCache instances instead of spinning up Amazon EC2 instances to run Redis workloads, as well as shifting to Amazon Kinesis instead of Kafka.

            See more
            Kafka Streams logo

            Kafka Streams

            392
            472
            0
            A client library for building applications and microservices
            392
            472
            + 1
            0
            PROS OF KAFKA STREAMS
              Be the first to leave a pro
              CONS OF KAFKA STREAMS
                Be the first to leave a con

                related Kafka Streams posts

                I have recently started using Confluent/Kafka cloud. We want to do some stream processing. As I was going through Kafka I came across Kafka Streams and KSQL. Both seem to be A good fit for stream processing. But I could not understand which one should be used and one has any advantage over another. We will be using Confluent/Kafka Managed Cloud Instance. In near future, our Producers and Consumers are running on premise and we will be interacting with Confluent Cloud.

                Also, Confluent Cloud Kafka has a primitive interface; is there any better UI interface to manage Kafka Cloud Cluster?

                See more
                Shared insights
                on
                Apache FlinkApache FlinkKafka StreamsKafka Streams

                We currently have 2 Kafka Streams topics that have records coming in continuously. We're looking into joining the 2 streams based on a key with a window of 5 minutes based on their timestamp.

                Should I consider kStream - kStream join or Apache Flink window joins? Or is there any other better way to achieve this?

                See more
                Airflow logo

                Airflow

                1.6K
                2.7K
                126
                A platform to programmaticaly author, schedule and monitor data pipelines, by Airbnb
                1.6K
                2.7K
                + 1
                126
                PROS OF AIRFLOW
                • 51
                  Features
                • 14
                  Task Dependency Management
                • 12
                  Beautiful UI
                • 12
                  Cluster of workers
                • 10
                  Extensibility
                • 6
                  Open source
                • 5
                  Complex workflows
                • 5
                  Python
                • 3
                  Good api
                • 3
                  Apache project
                • 3
                  Custom operators
                • 2
                  Dashboard
                CONS OF AIRFLOW
                • 2
                  Observability is not great when the DAGs exceed 250
                • 2
                  Running it on kubernetes cluster relatively complex
                • 2
                  Open source - provides minimum or no support
                • 1
                  Logical separation of DAGs is not straight forward

                related Airflow posts

                Shared insights
                on
                AWS Step FunctionsAWS Step FunctionsAirflowAirflow

                I am working on a project that grabs a set of input data from AWS S3, pre-processes and divvies it up, spins up 10K batch containers to process the divvied data in parallel on AWS Batch, post-aggregates the data, and pushes it to S3.

                I already have software patterns from other projects for Airflow + Batch but have not dealt with the scaling factors of 10k parallel tasks. Airflow is nice since I can look at which tasks failed and retry a task after debugging. But dealing with that many tasks on one Airflow EC2 instance seems like a barrier. Another option would be to have one task that kicks off the 10k containers and monitors it from there.

                I have no experience with AWS Step Functions but have heard it's AWS's Airflow. There looks to be plenty of patterns online for Step Functions + Batch. Do Step Functions seem like a good path to check out for my use case? Do you get the same insights on failing jobs / ability to retry tasks as you do with Airflow?

                See more
                Shared insights
                on
                JenkinsJenkinsAirflowAirflow

                I am looking for an open-source scheduler tool with cross-functional application dependencies. Some of the tasks I am looking to schedule are as follows:

                1. Trigger Matillion ETL loads
                2. Trigger Attunity Replication tasks that have downstream ETL loads
                3. Trigger Golden gate Replication Tasks
                4. Shell scripts, wrappers, file watchers
                5. Event-driven schedules

                I have used Airflow in the past, and I know we need to create DAGs for each pipeline. I am not familiar with Jenkins, but I know it works with configuration without much underlying code. I want to evaluate both and appreciate any advise

                See more
                Samza logo

                Samza

                24
                63
                0
                A distributed stream processing framework
                24
                63
                + 1
                0
                PROS OF SAMZA
                  Be the first to leave a pro
                  CONS OF SAMZA
                    Be the first to leave a con

                    related Samza posts