PubSub the effect of ordering on latency

In this test, I intend to show the effect of ordering messages in Google Cloud PubSub has on latency. This test will be carried out by attaching a timestamp upon sending the message from a Google Cloud Function. This message will then be sent to a Google Cloud PubSub topic, with two subscriptions attached. One of these subscriptions will have ordering turned on, here after referred to as the ordered subscription, and one of them will have ordering turned off, referred to as the unordered subscription.

Rust, RAII as a service

Wat? Resource Acquisition Is Initialization or RAII, is a programming technique which states that any resource file,mutex lock, etc that is used in some way must be bound to the lifetime of an object. In english, this means when an object is goes out of scope or gets garbage collected, language dependant of course, the resources it contained are cleaned up. For example this take this python snippet, which uses a context manager, this is not the same as RAII but it should give you an idea of where we are headed.

Consuming from Google Cloud PubSub using only Google Cloud Dataflow SQL

Introduction Would you like to create your own dataflow jobs directly? Would you like to create these jobs from Google Big Query UI, without writing any java or python and not worrying about deployment? Step right up a try Google’s new feature for Dataflow, Dataflow SQL. Setup Here I will take you through some steps to create a very simple Dataflow SQL pipeline. To get started lets create a few things.

Data ingestion in Google Cloud Dataflow to Big Query without the headaches, part 2

If you haven’t already please read the part 1 of this series, otherwise the following will make much less sense. I have added some additional features to the pipeline. It now has a configurable amount of time for retry attempts, records the datetime when the data was received (processed_timestamp) and dumps data which have passed the retry time into a “bad data table”. Lets explore what the new DAG looks like.

Data ingestion in Google Cloud Dataflow to Big Query without the headaches, part 1

One of the problems with data injections is that plans change when it comes to the schema. Asking your DBA in the old days to migrate your columns always resulted in the largest of eye rolls. You want me to do what? and why? They’d ask, obviously they would give you a long turn around on making that simple change to the data structure just so you could have an additional field.