---
title: "Comment by Saravana Thiyagarajan on \"Inter-Process Communication\" | Hashnode"
description: "It&#39;s really a thoughtful article. I want to add more information to solve the shared memory problem in the authentication context. We can use the JWT token"
url: "https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498/comment/651ea048429f5cafe9a76cc4"
---

[Discussion](https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498)

Comment [Inter-Process Communication](https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498)

[Oct 5, 2023](https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498/comment/651ea048429f5cafe9a76cc4)

It's really a thoughtful article. I want to add more information to solve the shared memory problem in the authentication context. We can use the JWT token to ensure only legitimate users can access it. We don't want to maintain session ID on any kind of database or on the server. Still, we need to maintain a refresh\_tokens on the server.IT can be done by Redis to build a highly scaleable system.

[Uva Prasaath](https://hashnode.com/@Uvaprasaath)

[Oct 5, 2023](https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498/comment/651ea048429f5cafe9a76cc4#reply-651ea140429f5cafe9a76d10)

Do agree with this but if it is stateful server we need to manage the session ID on the server right ?

[Saravana Thiyagarajan](https://hashnode.com/@Saravana-Thiyagaraja)

[Oct 5, 2023](https://hashnode.com/posts/inter-process-communication/651a92dd09a394eb46211498/comment/651ea048429f5cafe9a76cc4#reply-651ea35a554d7eb1e066cb11)

[Uva Prasaath](https://hashnode.com/@Uvaprasaath) Yes. That's right. But if we want to design a highly scalable system. We want to make our services stateless.

So, we can scale it independently without any walk around.
