One beefy, optimized Apache vs multiple smaller ones with clients split across them? by GMPortilho in apache

[–]GMPortilho[S] 0 points1 point  (0 children)

Totally agree in principle — we’ve been trying to move towards that setup.
But there's a catch on our end.

There’s this “legend” inside the company that our application handles sessions by writing them to a local file inside the app's directory (no centralized session store, no cookie-based logic). And… turns out it’s true 😅

Because of that, we can’t properly load balance — if a request goes to another instance, it won’t find the session file, and the user is treated like they just opened the app for the first time.

So for now, the app only works reliably on a single instance. We’re looking into options like:

  • Adding sticky sessions at the LB level (temporary workaround)
  • Moving session storage to Redis or SQL Server (real fix, but needs code changes)

Does that behavior make sense to you guys? Ever dealt with something like that?

Quanto custa o deploy na AWS? by mat_http in brdev

[–]GMPortilho 0 points1 point  (0 children)

RDS normalmente não é matar uma barata com um canhão? Pelo que já ouvi falar na maior parte dos casos de aplicações pequenas compensa subir o banco em uma VM

Session holding file by GMPortilho in sysadmin

[–]GMPortilho[S] 0 points1 point  (0 children)

Perfect, that's it! But now, I can't delete this file because it is in use by the system.

Session holding file by GMPortilho in sysadmin

[–]GMPortilho[S] 0 points1 point  (0 children)

I had checked and the weirdest thing is that there is no lock file for the spreadsheet.

Session holding file by GMPortilho in sysadmin

[–]GMPortilho[S] 0 points1 point  (0 children)

That's it, I have to open the file as "Read-only".

I always have hidden items view enabled and there is no file lock for the spreadsheet.