Good day everyone,
We have an old app(ASP.NET Webform) which creates more than 200 Session after login(I have not developed this so please do not think I am an idiot). After going to some pages, the number of sessions would be 400. I tried to keep to sessions inside the DB, but nothing has changed. So then I created my own cache inside the DB and did close the session state inside the whole app. Now everything plays with the DB instead of sessions in the memory. I did put some important ones in the httpcontext cache also.
I need to know what can I do with Redis to improve the performance. If I use Redis, then the app should go and get its data from Redis cache instead of my DB and it would be the same. Each call would be a pain again. May I know what is the solution?. If something like Redis means session lock and etc , what is point ?. The second issue is serializing the values. Should I do that for Redis also?.
We have an old app(ASP.NET Webform) which creates more than 200 Session after login(I have not developed this so please do not think I am an idiot). After going to some pages, the number of sessions would be 400. I tried to keep to sessions inside the DB, but nothing has changed. So then I created my own cache inside the DB and did close the session state inside the whole app. Now everything plays with the DB instead of sessions in the memory. I did put some important ones in the httpcontext cache also.
I need to know what can I do with Redis to improve the performance. If I use Redis, then the app should go and get its data from Redis cache instead of my DB and it would be the same. Each call would be a pain again. May I know what is the solution?. If something like Redis means session lock and etc , what is point ?. The second issue is serializing the values. Should I do that for Redis also?.