Difference between revisions of "Template talk:Server Side Software Architecture"

From IVS Wiki
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Article - Manual | content =  
+
{{Section | title = <h1>Server Side Software Architecture</h1> | content =
 +
Our server-side software is built on a standard <b>LEMP stack</b> consisting of:
 +
*<strong>Linux</strong>
 +
{{Float | content = {{Aside | style = max-width: 400px | content = The application is designed to run on the latest Ubuntu Linux LTS <em>(Server Edition)</em>.}} }}
 +
*<strong>Nginx</strong>
 +
*<strong>MySQL</strong>
 +
*<strong>PHP</strong>
  
<h1>Server Side Software Architecture</h1>
 
  
{{Aside | content = Our software is built on the standard <b>LEMP</b> <em>(Linux, Nginx, MySQL, and PHP)</em> architecture.}}
+
{{Top of Page}}
 +
{{hr}}
  
 +
<center><h2>Core Application Components</h2></center>
  
The software has been designed to work on the latest LTS version of Ubuntu Linux <em>(Server Edition)</em>.  There are <b>3 main components</b> to the software application:
 
  
 +
<b>Web Server</b>
 +
*Serves the PHP-based application and user interface
 +
*Powered by the Nginx web server
  
<dl>
 
<dt>Web Server</dt>
 
<dd>Serves the PHP-based application and user interface via Nginx.</dd>
 
 
{{hr - 2}}
 
{{hr - 2}}
<dt>Database</dt>
+
 
<dd>Stores all unique, customer-specific information.</dd>
+
<b>Database</b>
 +
*Stores all unique, customer-specific configuration and application data
 +
*Implemented using MariaDB
 +
 
 
{{hr - 2}}
 
{{hr - 2}}
<dt>Media Server</dt>
+
 
<dd>Manages communication with cameras and video streams delivered to client PCs, and handles recording and clip creation.</dd>
+
<b>Media Server</b>
</dl>
+
*Manages communication with cameras
 +
*Handles video streaming to client PCs
 +
*Responsible for recording, storage, and clip creation
  
  
Line 24: Line 35:
 
{{hr}}
 
{{hr}}
  
 +
<center><h2>Logical Server Architecture</h2></center>
  
{{img - no_click | file = VALT Server Structure.png}}
 
  
<h2>Single Server</h2>
+
The application is divided into two main server roles:
  
From a physical or virtual server perspective the entire server side software stack can be run on a single server.
+
 
 +
<b>Application Server:</b>
 +
The Application Server hosts the core application logic and includes:
 +
*PHP web pages served via Nginx
 +
*MariaDB services
 +
*Node.js messaging and control service
 +
 
 +
{{hr - 2}}
 +
 
 +
<b>Media Server:</b>
 +
The Media Server is responsible for all video-related operations, including:
 +
*Camera communication
 +
*Video stream distribution to clients
 +
*Recording management and clip generation
  
  
Line 35: Line 59:
 
{{hr}}
 
{{hr}}
  
<h2>Multiple Servers</h2>
+
<center><h2>Deployment Models</h2></center>
 +
 
 +
 
 +
{{Float | content = {{img - resize | file = Network Architecture-One Server.webp | width = 300px}} }}
 +
<h3>Single Server</h3>
 +
The entire server-side software stack can be deployed on a single [[Servers | physical]] or [[VM - Main Page | VM]]. This configuration is suitable for smaller installations and environments with lower camera counts.
 +
 
 +
{{hr - 2}}
 +
 
 +
{{Float | content = {{img - resize | file = Network Architecture-Multi Server.webp | width = 300px}} }}
 +
<h3>Multi-Server</h3>
 +
For larger deployments—<em>such as those <b>exceeding 50 cameras</b> or spanning multiple departments</em>—the system supports a distributed architecture using multiple Media Servers.
 +
 
 +
 
 +
<div style="font-weight: bold; font-size: 1.1em">In this model:</div>
 +
*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
 +
 
  
For applications that necessitate the use of over 50 cameras or encompass multiple departments, our software provides the option to distribute its functionality across multiple <b>"Media Servers"</b>. These dedicated servers are specifically designed to handle the crucial tasks of processing the video stream component of the VALT application and efficiently storing the associated video files. This multi-server architecture offers exceptional flexibility and scalability, accommodating diverse and expanding needs.
+
{{Aside - Helpful | content = This architecture provides flexibility, scalability, and efficient handling of high video workloads.}}
  
  
 
{{Top of Page}}
 
{{Top of Page}}
 
}}
 
}}

Latest revision as of 11:47, 16 February 2026

Our server-side software is built on a standard LEMP stack consisting of:

  • Linux
The application is designed to run on the latest Ubuntu Linux LTS (Server Edition).
  • Nginx
  • MySQL
  • PHP


⇧ Back to Top


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 MariaDB

Media Server

  • Manages communication with cameras
  • Handles video streaming to client PCs
  • Responsible for recording, storage, and clip creation


⇧ Back to Top


Logical Server Architecture


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
  • MariaDB 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


⇧ Back to Top


Deployment Models


Network Architecture-One Server.webp

Single Server

The entire server-side software stack can be deployed on a single physical or VM. This configuration is suitable for smaller installations and environments with lower camera counts.


Network Architecture-Multi Server.webp

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


🕮
This architecture provides flexibility, scalability, and efficient handling of high video workloads.


⇧ Back to Top