r/dataflow • • Jun 25 '19

Learnings from Beam Summit Europe 2019

Thumbnail
blog.ml6.eu
3 Upvotes

r/dataflow • • Jun 12 '19

How to efficiently process both real-time and aggregate data with Dataflow

Thumbnail
cloud.google.com
3 Upvotes

r/dataflow • • Jun 10 '19

Common BEAM/Dataflow pipeline patterns

Thumbnail
beam.apache.org
3 Upvotes

r/dataflow • • Jun 10 '19

Apache Beam 2.13.0 (Support reading query results with the BigQuery storage API) and more

Thumbnail beam.apache.org
3 Upvotes

r/dataflow • • May 30 '19

spotify/scio v0.8.0-alpha1: Beam 2.12, BeamSQL and BigQuery Storage API support

Thumbnail
github.com
3 Upvotes

r/dataflow • • May 23 '19

Game of Thrones Twitter Sentiment with Keras, Apache Beam, BigQuery and PubSub

Thumbnail
towardsdatascience.com
3 Upvotes

r/dataflow • • May 20 '19

Streaming Pipeline - can I sideload static data into windowed results for writing?

3 Upvotes

Given a pipeline with data windowed by 2min, can I sideload static or the purposes of creating output files as one set by window?

eg:

(Stream data) - {id:3}, {id:4}

(File data) - {id:1}, {id:2}

write out files: 1.txt, 2.txt, 3.txt, 4.txt

Or is this just not possible with BEAM? Not possible, in my case, with the regression (see comments)


r/dataflow • • May 14 '19

Data plumbing — Is my data pipeline processing events?

Thumbnail
medium.com
3 Upvotes

r/dataflow • • Mar 01 '19

Error Handling for Apache Beam & BigQuery (Java SDK)

Thumbnail
medium.com
3 Upvotes

r/dataflow • • Feb 24 '19

An approach to community building from Apache Beam

Thumbnail blogs.apache.org
3 Upvotes

r/dataflow • • Feb 24 '19

Apache Beam 2.10.0

Thumbnail beam.apache.org
3 Upvotes

r/dataflow • • Feb 21 '19

Real-time diagnostics from nanopore DNA sequencers on Google Cloud

Thumbnail
cloud.google.com
3 Upvotes

r/dataflow • • Jan 24 '19

Exploring Beam SQL on Google Cloud Platform

Thumbnail
medium.com
3 Upvotes

r/dataflow • • Dec 30 '18

Slow GCS writes with TextIO in streming mode (Java, Beam 2.8.0)

3 Upvotes

Hi, I'm struggling with performance when it comes to writing data to GCS in a streaming pipeline.

The I/O of the pipeline is fairly simple, read from pubsub and write to three GCS sinks.

Source: Pubsub
- JSON objects containing a collection of datapoints

Sinks: GCS write to file
- raw output that writes every single raw pubsub message to file
- Accepted and Rejected output based on simple business logic and the contents of each datapoint (expanded pubsub message)

By the feel of it I think the bottleneck in my pipeline is writing to file. The pipeline is working processing thousands of elements/s for a short time before it completely stops for a long time where it's seemingly writing windows to file, and then starting up again. The overall performance is very poor, and cannot hold up with the incoming events to pubsub.

I am windowing and triggering individually for each sink, so that there will be fixed windows of 1 minute, trigger every 1 minute or after 1 million elements enters the window. I have also tried without FixedWindows and used GlobalWindows with the same triggering strategy, without any luck.

After looking at the logs, it seems that the writing is only handled by a single worker even though the pipeline is currently running with 50 workers, and I suspect this is the reason why it doesn't have a stable throughput but only sometimes pushes data through. I've tested changing the default gcsUploadBufferSizeBytes to 64MB from the default 1MB, and the performance might have improved slightly, but not nearly enough.

I'm not sure how to debug this further, or which resources to read up on to understand the issues I'm facing.

Hopefully someone out there knows a thing or two about these issues, and how to mitigate them. I've mainly worked with the batched version of dataflow, so the whole windowing and triggers is a bit outside my comfort zone, but I honestly don't think that's where the problem is.

The only real purpose of this pipeline is to write all pubsub messages to GCS. Event time is not interesting, so when reading in pubsub messages I'm quickly changing the ProcessContext timestamp to Instant.now() so that windowing isn't affected by event-time but only by processing time.


r/dataflow • • Dec 13 '18

Explore Beam SQL: Early stage working demo instructions

Thumbnail
docs.google.com
3 Upvotes

r/dataflow • • Dec 03 '18

Snowplow Google Cloud Storage Loader

Thumbnail
github.com
3 Upvotes

r/dataflow • • Nov 27 '18

Pandora chooses Google Cloud for big data and analytics

Thumbnail
engineering.pandora.com
3 Upvotes

r/dataflow • • Nov 02 '18

[github] anemos-io/proto-beam: Utilities for handling and converting ProtocolBuffers. Focused but not limited to Apache Beam.

Thumbnail
github.com
3 Upvotes

r/dataflow • • Oct 11 '18

[slides] Beam Summit 2018 Presentations

Thumbnail drive.google.com
3 Upvotes

r/dataflow • • Oct 04 '18

[slides] Python Streaming Pipelines with Beam on Flink - FlinkForward 2018

Thumbnail
docs.google.com
3 Upvotes

r/dataflow • • Oct 04 '18

[slides] Flink Forward: Universal Machine Learning with Apache Beam (with TFX: TensorFlowExtended)

Thumbnail
docs.google.com
3 Upvotes

r/dataflow • • Oct 02 '18

[slides] Beam SplittableDoFn - Alex van Boxel

Thumbnail
docs.google.com
3 Upvotes

r/dataflow • • Sep 27 '18

[slides] (Apachecon 2018) Robust, performant and modular APIs for data ingestion with Apache Beam

Thumbnail
docs.google.com
3 Upvotes

r/dataflow • • Sep 08 '18

Using Apache Beam in Kotlin to reduce boilerplate code

Thumbnail
blog.papercut.com
3 Upvotes

r/dataflow • • Aug 13 '18

Building a real time quant trading engine on Google Cloud Dataflow and Apache Beam

Thumbnail
medium.com
3 Upvotes