<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Concorrencia on Python Brasil — Aprenda Python em Português</title>
    <link>https://python.dev.br/tags/concorrencia/</link>
    <description>Recent content in Concorrencia on Python Brasil — Aprenda Python em Português</description>
    <generator>Hugo</generator>
    <language>pt-br</language>
    <lastBuildDate>Tue, 28 Apr 2026 16:49:51 -0300</lastBuildDate>
    <atom:link href="https://python.dev.br/tags/concorrencia/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Multiprocessing em Python: Guia Pratico</title>
      <link>https://python.dev.br/blog/python-multiprocessing/</link>
      <pubDate>Wed, 18 Feb 2026 00:00:00 +0000</pubDate>
      <guid>https://python.dev.br/blog/python-multiprocessing/</guid>
      <description>&lt;p&gt;Python tem o famoso GIL (Global Interpreter Lock) que impede que multiplas threads executem bytecode Python simultaneamente. Para tarefas CPU-bound, a solucao e o multiprocessing, que cria processos separados, cada um com seu proprio interpretador e GIL. Neste guia, vamos explorar como usar multiprocessing para acelerar seus programas de forma significativa.&lt;/p&gt;&#xA;&lt;h2 id=&#34;entendendo-o-problema-gil-e-cpu-bound&#34;&gt;Entendendo o Problema: GIL e CPU-Bound&lt;/h2&gt;&#xA;&lt;p&gt;Antes de paralelizar, e importante entender quando o multiprocessing faz diferenca. Tarefas CPU-bound (calculos matematicos, processamento de dados, compressao) se beneficiam de multiplos processos. Tarefas I/O-bound (requisicoes HTTP, leitura de arquivos) se beneficiam mais de threading ou asyncio.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
