# Inter process communication(shared memory) between pods

**URL:** https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697
**Category:** microk8s
**Tags:** minikube, podcast, docs, network, development
**Created:** [September 2, 2020, 6:31pm UTC](https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697 "2020-09-02T18:31:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sumithsudesan](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sumithsudesan](https://discuss.kubernetes.io/u/sumithsudesan)
#### Post date: [September 2, 2020, 6:31pm UTC](https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697/1 "2020-09-02T18:31:28Z")

</div>

How to implement Inter process communication(shared memory) between pods in same node or different nodes.?

is there any way to access shared memory from multiple pods.?

---

<div class="post-metadata">

### Author: ![balchua1](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/balchua1/32/5372_2.png) [@balchua1](https://discuss.kubernetes.io/u/balchua1)
#### Post date: [September 2, 2020, 9:58pm UTC](https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697/2 "2020-09-02T21:58:19Z")

</div>

The only guaranteed way to have 2 containers running on the same node is when you run then as sidecar. Means 1 pod 2 containers.  
But i’ve not tried sharing memory between them.  
My hunch is, it may not be possible because of cgroups.

---

<div class="post-metadata">

### Author: ![sumithsudesan](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sumithsudesan](https://discuss.kubernetes.io/u/sumithsudesan)
#### Post date: [September 3, 2020, 7:02am UTC](https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697/3 "2020-09-03T07:02:35Z")

</div>

is it possible to share data with in 2 applications in 2 different pods using [Inter process communication(shared memory)?

---

<div class="post-metadata">

### Author: ![kjackal](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/kjackal/32/1750_2.png) [@kjackal](https://discuss.kubernetes.io/u/kjackal)
#### Post date: [September 3, 2020, 7:47am UTC](https://discuss.kubernetes.io/t/inter-process-communication-shared-memory-between-pods/12697/4 "2020-09-03T07:47:18Z")

</div>

This [Fast IPC between multiple pods on same node](https://discuss.kubernetes.io/t/fast-ipc-between-multiple-pods-on-same-node/9594/5) looks related.
