<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distributed Computing for Health Data Course on</title><link>https://gleiria.github.io/blog/distributed-computing-course/</link><description>Recent content in Distributed Computing for Health Data Course on</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><lastBuildDate>Fri, 30 Jan 2026 06:29:24 +0000</lastBuildDate><atom:link href="https://gleiria.github.io/blog/distributed-computing-course/index.xml" rel="self" type="application/rss+xml"/><item><title>Distributed Computing for Health Data - 10 - Kafka Basic Usage</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_10/</link><pubDate>Fri, 30 Jan 2026 06:29:24 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_10/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-10---kafka-basic-usage">Lesson 10 - Kafka Basic Usage&lt;/h3>
&lt;p>In the first half of the lesson, they follow Kafkas&amp;rsquo;s &lt;a href="https://kafka.apache.org/quickstart/">quickstart tutorial&lt;/a> so I won&amp;rsquo;t be copying and pasting it here. Instead, since I had the need to simplify core concepts and build a mental model of how Kafka actually works I slightly deviated from the the first half of the lesson.&lt;/p></description></item><item><title>Distributed Computing for Health Data - 9 - Kafka</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_9/</link><pubDate>Wed, 28 Jan 2026 14:50:29 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_9/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-9---kafka">Lesson 9 - Kafka&lt;/h3>
&lt;p>So far we spent the course learning how to process data at rest. Kafka is about &lt;strong>data in motion&lt;/strong>. Here we look into Kafka&amp;rsquo;s architecture and interface.&lt;/p>
&lt;hr>
&lt;h2 id="concepts">Concepts&lt;/h2>
&lt;p>&lt;strong>Event Streaming - characteristics&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Event:&lt;/strong> an immutable object or fact of interest&lt;/p></description></item><item><title>Distributed Computing for Health Data - 8 - Spark Basic Usage</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_8/</link><pubDate>Thu, 22 Jan 2026 07:42:49 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_8/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-8---spark-basic-usage">Lesson 8 - Spark Basic Usage&lt;/h3>
&lt;p>In this lesson I follow the main core ideas of the course, but I deviate a bit from the way it is taught. The instructors use a pre-written PySpark Jupyter notebook and execute the workflow cell by cell. I prefer to work from VScode + terminal so created the following file strucutre:&lt;/p></description></item><item><title>Distributed Computing for Health Data - 7 - Spark SQL and DataFrames</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_7/</link><pubDate>Tue, 20 Jan 2026 18:09:47 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_7/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-7---spark-sql-and-dataframes">Lesson 7 - Spark SQL and DataFrames&lt;/h3>
&lt;p>In this lesson, we advance to higher level interfaces - SparkSQL and DataFrames - which allow for structured data manipulation in Spark. Remember that structured data is data that fits into a table. So structured data manipulation means filtering, selecting, grouping, joining, (etc) and aggregating data that is organised in rows and columns. Also, Spark turns every input data (for example JSON) into a DataFrame so it can optimises.&lt;/p></description></item><item><title>Distributed Computing for Health Data - 6 - Spark and Spark Components</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_6/</link><pubDate>Sun, 18 Jan 2026 10:08:56 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_6/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-6---spark-and-spark-components">Lesson 6 - Spark and Spark Components&lt;/h3>
&lt;p>&lt;strong>What is Spark&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Software platform for data engineering, data science, and machine learninng&lt;/li>
&lt;li>Designed to be fast and general purpose&lt;/li>
&lt;li>Multi-language: Python, R, SQL, Java, Scala.&lt;/li>
&lt;/ul>
&lt;hr>
&lt;p>&lt;strong>Spark vs Hadoop&lt;/strong>&lt;/p>
&lt;p>&lt;a href="https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_5/#dist-comp-rationale">See paragraph relevant section on lesson 5&lt;/a>&lt;/p></description></item><item><title>Distributed Computing for Health Data - 5 - Hadoop Basic Usage</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_5/</link><pubDate>Tue, 13 Jan 2026 07:25:55 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_5/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-5---hadoop-basic-usage">Lesson 5 - Hadoop Basic Usage&lt;/h3>
&lt;p>In this lesson there is a lot of information on different options for installing Hadoop, how to navigate the GUI, and how to connect to a remote master node via SSH. Here, I’ll simply put down some notes that I think are important to retain and keep in mind. In the next lessons there will be more hands-on data manipulation using Spark and Hadoop.&lt;/p></description></item><item><title>Distributed Computing for Health Data - 4 - Hadoop</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_4/</link><pubDate>Mon, 12 Jan 2026 06:41:44 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_4/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-4---big-data-processing-tools-hadoop">Lesson 4 - Big Data Processing Tools: Hadoop&lt;/h3>
&lt;hr>
&lt;p>&lt;strong>Hadoop&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Framework for distributed processing of large datasets&lt;/li>
&lt;li>Allows an application to scale up from a single computer to thousands of machines while implementing data distribution and fault tolerance&lt;/li>
&lt;li>Primarily intended for batch processing&lt;/li>
&lt;li>Hadoop is an &amp;rsquo;ecosystem&amp;rsquo; comprised of core and specific modules, each providing a different service&lt;/li>
&lt;li>At its core, Hadoop has a distributed file system and a distributed processing layer, HDFS and MapReduce&lt;/li>
&lt;/ul>
&lt;p>Fault tolerance is the capability to continue operating smoothly despite failures or errors in one or more components of a distributed system. This resilience is crucial for maintaining system reliability, availability, and consistency.&lt;/p></description></item><item><title>Distributed Computing for Health Data - 3 - Distributed Computing</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_3/</link><pubDate>Thu, 08 Jan 2026 14:05:28 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_3/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-3---distributed-computing">Lesson 3 - Distributed Computing&lt;/h3>
&lt;hr>
&lt;p>&lt;strong>Distributed Computing&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Use of autonomous networked machines (nodes) for solving a single problem&lt;/li>
&lt;li>Autonomous as each node only has access to its memory, processor and storage&lt;/li>
&lt;li>No shared memory across nodes so they communicate via messages and carrying data&lt;/li>
&lt;li>Data and processing tasks are distributed across nodes&lt;/li>
&lt;/ul>
&lt;hr>
&lt;p>&lt;strong>Data Parallelism&lt;/strong>&lt;/p></description></item><item><title>Distributed Computing for Health Data - 2 - Big Data Sources</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_2/</link><pubDate>Tue, 06 Jan 2026 15:03:10 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_2/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK. I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-2---big-data-sources">Lesson 2 - Big Data Sources&lt;/h3>
&lt;hr>
&lt;p>&lt;strong>Data Types and Data Sources&lt;/strong>&lt;/p>
&lt;p>There are 5 data types:&lt;/p>
&lt;ul>
&lt;li>Structured (e.g. Electronic Health Records)&lt;/li>
&lt;li>Semi-structured ( e.g. EHR and vital-signs for a patien but not vital-signs for a second patient)&lt;/li>
&lt;li>Unstructured (CT scan)&lt;/li>
&lt;li>Time-series (ECG)&lt;/li>
&lt;li>Sequence data (RNA or DNA sequencing for example)&lt;/li>
&lt;/ul>
&lt;hr>
&lt;p>&lt;strong>Structured Data:&lt;/strong>&lt;/p></description></item><item><title>Distributed Computing for Health Data - 1 - Key Concepts</title><link>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_1/</link><pubDate>Mon, 05 Jan 2026 13:31:45 +0000</pubDate><author>Gonçalo Leiria</author><guid>https://gleiria.github.io/blog/distributed-computing-course/distributed_computing_for_health_data_1/</guid><description>&lt;p>These are my personal notes related to the course Distributed Computing for Health Data provided by Health Data Research UK.
I use this space to consolidate concepts and revisit material over time.&lt;/p>
&lt;h3 id="lesson-1---key-concepts">Lesson 1 - Key Concepts&lt;/h3>
&lt;hr>
&lt;p>&lt;strong>The 3 Vs of Big Data&lt;/strong>&lt;/p>
&lt;p>A classic way to understand big data is through the 3 Vs:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Volume&lt;/strong> - how much data we have&lt;/li>
&lt;li>&lt;strong>Velocity&lt;/strong> - how fast data is generated and needs to be processed&lt;/li>
&lt;li>&lt;strong>Variety&lt;/strong> - how many different forms the data takes&lt;/li>
&lt;/ul>
&lt;p>In healthcare, all three Vs show up at once and that’s what makes the domain both challenging and powerful.&lt;/p></description></item></channel></rss>