<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Concurrency on ToiDB</title>
    <link>https://www.toidang.xyz/tags/concurrency/</link>
    <description>Recent content in Concurrency on ToiDB</description>
    <image>
      <title>ToiDB</title>
      <url>https://www.toidang.xyz/web/static/me-512x512.png</url>
      <link>https://www.toidang.xyz/web/static/me-512x512.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 25 Jan 2025 15:40:07 +0700</lastBuildDate>
    <atom:link href="https://www.toidang.xyz/tags/concurrency/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The Difference Between Concurrency and Parallelism</title>
      <link>https://www.toidang.xyz/posts/2024/08/13/the-difference-between-concurrency-and-parallelism/</link>
      <pubDate>Tue, 13 Aug 2024 18:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/08/13/the-difference-between-concurrency-and-parallelism/</guid>
      <description>Concurrency and parallelism are two terms that are often used interchangeably, but they are not the same thing. In this article, we will explore the differences between the two concepts and how they are related.</description>
    </item>
    <item>
      <title>Understanding I/O-Bound and CPU-Bound Tasks in Backend Development</title>
      <link>https://www.toidang.xyz/posts/2024/04/25/understanding-i/o-bound-and-cpu-bound-tasks-in-backend-development/</link>
      <pubDate>Thu, 25 Apr 2024 10:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/04/25/understanding-i/o-bound-and-cpu-bound-tasks-in-backend-development/</guid>
      <description>In backend development, tasks can be classified as I/O-bound or CPU-bound based on their resource requirements and execution characteristics. Let&amp;rsquo;s explore the differences between these two types of tasks and how to optimize their performance in a backend application.</description>
    </item>
    <item>
      <title>Comparing Event Machine, Fibers, Threads, and Processes: Real-World Applications</title>
      <link>https://www.toidang.xyz/posts/2024/03/24/comparing-event-machine-fibers-threads-and-processes-real-world-applications/</link>
      <pubDate>Sun, 24 Mar 2024 07:09:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/24/comparing-event-machine-fibers-threads-and-processes-real-world-applications/</guid>
      <description>Comparing Event Machine, Fibers, Threads, and Processes in Ruby for concurrent programming. Explore real-world applications and use cases for each concurrency model to understand their strengths and weaknesses.</description>
    </item>
    <item>
      <title>Event Machine and Fibers: A Comprehensive Guide</title>
      <link>https://www.toidang.xyz/posts/2024/03/24/event-machine-and-fibers-a-comprehensive-guide/</link>
      <pubDate>Sun, 24 Mar 2024 07:09:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/24/event-machine-and-fibers-a-comprehensive-guide/</guid>
      <description>Event Machine and Fibers are powerful tools for building highly concurrent and scalable applications in Ruby. In this comprehensive guide, we&amp;rsquo;ll explore the fundamentals of Event Machine, Fibers, and how they work together to enable efficient non-blocking I/O operations and parallel processing.</description>
    </item>
    <item>
      <title>Understanding Threads and Processes in Ruby</title>
      <link>https://www.toidang.xyz/posts/2022/05/07/understanding-threads-and-processes-in-ruby/</link>
      <pubDate>Sat, 07 May 2022 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2022/05/07/understanding-threads-and-processes-in-ruby/</guid>
      <description>In Ruby, threads and processes are essential concepts for concurrent programming, allowing you to execute multiple tasks concurrently. Let&amp;rsquo;s delve into these concepts and explore when to use each one.</description>
    </item>
  </channel>
</rss>
