B4X FEED WEB APP Sessions with two servers

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: WEB APP Sessions with two servers است. این موضوع تا کنون 126 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع WEB APP Sessions with two servers
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
126
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi! I have a doubt about WebApp User session, lets say that I have a web app running in two servers and I have a load balancer that distributes the traffic depending on the load, in this scheme could happen that a user makes a request and the load balancer send the user to server 1, but when this user makes another request, the seccond request could go to server 2 (because there is less load, or server 1 is not available) my question is how can we manage the user session between the two servers?

برای دیدن تصاویر باید ثبت نام کنید

I'm asking because currently I'm learning about kubernetes and this kind of things happend frequently and I was thinking about B4J webapps in this environment, and also, this is something that you have to solve if you need horizontal scaling for your app.

 

عقب
بالا