Enabling auto scaling new chat

12 views
Skip to first unread message

ayhan

unread,
May 30, 2024, 2:37:54 PMMay 30
to Tinode General
Hey Gene,

I opened a new conversation because my messages were being deleted after I posted them. 

I think you might be right, I was thinking the same before posting it. I will take a look at it after the term ends to try fixing it.
Additionally, to enable hot expansion I was thinking keeping the session info via cookies would be sufficient for an L7 Load Balancer.
I will make the repo public, take a deeper look into the subject and play with the code a little bit(or a lot maybe :p).
I may send you the link to the infrastructure and deployment files after the term ends if you'll be interested in giving me further advice. As I stated I really liked this open source project and would like to try to contribute it.
By the way, I might be horribly wrong in this cookie session persistence because I am really new to the topics in general.
But as I stated earlier, I want to deepen my understanding in them. So, I would be glad to hear an explanation or a research recommendation 
if you think they're wrong.

Best Regards, 
Ayhan

Gene

unread,
May 30, 2024, 4:17:01 PMMay 30
to Tinode General
On Thursday, May 30, 2024 at 11:37:54 AM UTC-7 ayhan wrote:
Hey Gene,

I opened a new conversation because my messages were being deleted after I posted them. 

We do not delete any messages.

I think you might be right, I was thinking the same before posting it. I will take a look at it after the term ends to try fixing it.
Additionally, to enable hot expansion I was thinking keeping the session info via cookies would be sufficient for an L7 Load Balancer.

Not really. The cluster needs to know the "correct" number of nodes, otherwise it will not be able to elect the master. If you want to change the number of nodes dynamically, you need to add a method for the nodes to communicate the size of the cluster.

Also, no Tinode code uses cookies anywhere as of the time of this writing.
Reply all
Reply to author
Forward
0 new messages