I am preparing to deploy a browser-based chemistry learning tool on a small CyberPanel VPS and would appreciate advice from people running similar educational applications.
The application is chemistry ai, a web tool where students can type questions or upload worksheet images and receive step-by-step explanations. Most requests are lightweight, but image uploads and occasional bursts before exams can increase memory and worker usage.
For a 2–4 GB VPS, which OpenLiteSpeed and PHP worker settings would you recommend? I am especially interested in sensible limits for concurrent requests, upload size, timeouts, object caching, and log rotation. Would Redis plus a CDN be worthwhile at this scale, or is the default page cache usually enough?
I would also welcome suggestions for monitoring CPU and memory without adding much overhead. My priority is stable response times and safe handling of uploaded images rather than maximizing raw throughput.