Difference between revisions of "Template talk:Server Side Software Architecture"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
| Line 9: | Line 9: | ||
| − | {{Aside | content = The application is designed to run on the latest Ubuntu Linux LTS <em>(Server Edition)</em>.}} | + | {{Aside | width = 300px | content = The application is designed to run on the latest Ubuntu Linux LTS <em>(Server Edition)</em>.}} |
| + | |||
{{Top of Page}} | {{Top of Page}} | ||
Revision as of 14:00, 9 February 2026
Server Side Software Architecture
Our server-side software is built on a standard LEMP stack consisting of:
- Linux
- Nginx
- MySQL
- PHP
Core Application Components
Web Server
- Serves the PHP-based application and user interface
- Powered by the Nginx web server
Database
- Stores all unique, customer-specific configuration and application data
- Implemented using MySQL
Media Server
- Manages communication with cameras
- Handles video streaming to client PCs
- Responsible for recording, storage, and clip creation
Logical Server Architecture
From a networking and service perspective, the application is divided into two main server roles: Application Server: The Application Server hosts the core application logic and includes:
- PHP web pages served via Nginx
- MySQL database services
- Node.js messaging and control service
Media Server: The Media Server is responsible for all video-related operations, including:
- Camera communication
- Video stream distribution to clients
- Recording management and clip generation
Deployment Models

Single Server
The entire server-side software stack can be deployed on a single physical or virtual server. This configuration is suitable for smaller installations and environments with lower camera counts.
Multi-Server
For larger deployments—such as those exceeding 50 cameras or spanning multiple departments—the system supports a distributed architecture using multiple Media Servers.
In this model:
- One Application Server hosts the core application services
- One or more dedicated Media Servers handle video processing and storage
- Media Servers can be added incrementally to scale performance and capacity