<?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>IPC on Kelly Dev</title><link>https://kelly-chui.github.io/tags/ipc/</link><description>Recent content in IPC on Kelly Dev</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 19 Jan 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://kelly-chui.github.io/tags/ipc/index.xml" rel="self" type="application/rss+xml"/><item><title>OS. IPC(Inter-Process Communication)</title><link>https://kelly-chui.github.io/posts/cs-os-ipc/</link><pubDate>Sun, 19 Jan 2025 00:00:00 +0000</pubDate><guid>https://kelly-chui.github.io/posts/cs-os-ipc/</guid><description>&lt;p&gt;Date: January 19, 2025
Multi-select: Process&lt;/p&gt;
&lt;h2 id="ipc"&gt;IPC&lt;/h2&gt;
&lt;p&gt;여러 개의 독립적인 프로세스들이 서로 데이터를 주고받을 때 사용하는 메커니즘을 IPC(Inter Process Communication)라고 한다.&lt;/p&gt;
&lt;p&gt;각각의 프로세스는 별개의 메모리 공간을 가지기 때문에, 서로 직접 메모리에 접근할 수 없기 때문에 IPC는 프로세스 간에 데이터를 교환하는 방법을 제공한다.&lt;/p&gt;
&lt;h2 id="메세지-패싱"&gt;메세지 패싱&lt;/h2&gt;
&lt;p&gt;직접 메모리를 공유하지 않고 메세지를 통해 데이터를 주고받는 방식, 격리성을 보장할 수 있는 장점이 있지만 속도가 느리고 메모리 소비가 증가한다는 단점이 있음&lt;/p&gt;
&lt;h3 id="주요방식"&gt;주요방식&lt;/h3&gt;
&lt;h4 id="simple"&gt;Simple&lt;/h4&gt;
&lt;p&gt;간단히 메세지를 보내고 받는 방식&lt;/p&gt;</description></item></channel></rss>