Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on April 26, 2024, 02:21:05 am



Title: Ask Reuben 221 - Session Persistence
Post by: Reuben B. on April 26, 2024, 02:21:05 am
When Web Servers are configured for Load Balancing, they are often configured by someone not familiar with the Genero architecture.  With a typical load balanced web server architecture servicing atypical web applications and web services,  any server could be selected to handle the next request.  With a Genero Web Application, the fglrun process remains alive for the duration of the web application holding data in memory and connections to database cursors, etc.  and it is important that all requests associated with an individual web application are sent back to the same server where this fglrun process is waiting.
 
In our GAS documentation, the concept of sending requests back to the same server is called session-bound request processing.  This is required for Genero Web Applications and also for Genero Web Services that have been configured to be sticky.  For normal Genero Web Services, a more traditional web architecture can be used with sessionless request processing where it does not matter what server processes each individual request.

Read more at https://4js.com/ask-reuben/ig-221/