Comments (3)
Hello @curiosport
RosarioSIS is a lightweight PHP application.
One thing is tuning your VPS for maximum performance (see Apache, PHP and PostgreSQL/MySQL configuration files) which is a topic on its own...
Here is a test: generate a Report Card PDF for 250 students. (values are peaks)
PHP consumed 20 MB RAM.
To this, you have to add RAM used by wkhtmltopdf: 500 MB.
And RAM used by PostgreSQL: 12 MB.
So a PDF will consume a lot more RAM (about 2 MB per page).
But for other requests not involving PDF generation (wkhtmltopdf), 30 MB RAM is enough.
Based on that, you can calculate how many concurrent requests you can handle with 2 GB RAM:
Let's say your VPS consumes 500 MB RAM when idle.
You still have 1500 MB to handle requests.
This is 1500 / 30 = 50 concurrent requests (no PDF).
For PDF requests, this depends on the number of pages of the PDF (2 MB per page on average).
The maximum number of items in a list in RosarioSIS is 1000.
Let's say you have 1000 students or more, you will be able to, at most, print Report Cards for 1000 students at once, which should generate a PDF of 1000 pages.
wkhtmltopdf will consume about 2000 MB RAM
PHP 40 MB
and PostgreSQL 20 MB
plus 500 MB for the system
So, to handle schools of 1000 students or more, I would recommend at least a VPS with 3 GB RAM.
2 GB RAM is enough for up to 750 students (per school).
from rosariosis.
Thank you very much for the information.
from rosariosis.
Related Issues (20)
- Deleting student in mid quarter HOT 1
- 2 php error messages - installed using cPanel method HOT 2
- GetStuList.fnc.php format for USA phone number HOT 1
- Search.fnc.php performs wrong query HOT 4
- Can this be used with MySQL since my host doesn't offer PostgreSQL? HOT 2
- is this mirror of gitlab HOT 3
- Trying to get in touch regarding a security issue HOT 5
- Trying to get in touch regarding a security issue
- current_school_id Null on create User HOT 1
- Tiny Formula Javascript error with formulat HOT 1
- What is the difference between this repository and the premium package? HOT 5
- Translation to Portuguese HOT 3
- Internationalization don't work HOT 2
- Greek Translation
- Adding Module Privilege error (add-on install, Docker) HOT 10
- helloe
- How realistic is it to upgrade a very old version to the current version? HOT 1
- MySQL 100% CPU Usage HOT 4
- French locale not working on Ubuntu 22.04 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosariosis.