2.2 Tasniflagich environment
Tasniflagich consists of 2 servers to prevent a single point of failure.
2.2.1 Hardware Interfaces
The Tasniflagich developed on hardware which have 64-bit
operating system in
VMWare virtual server, one node characteristics:
● CPU name: AMD EPYC 7452 32-Core
Processor
● RAM space: 16 GB.
● CPU cores: 16, 2.35GHz
● Disk space: 1 TB SSD
2.2.2 Software Backend
Backend is a part of web application. The features of backend is:
1. response from server request (show, create, edit)
2. save
data to database
3. manipulate with data (e.g. send to other services)
Tasniflagich's backend is developed with the Laravel framework. Laravel is a PHP based
framework. To accept requests from the web we used
Nginx
as proxy and
PHP-FPM
as request
handler. The system can communicate via HTTP/1.1 and RMQP protocols.
The workflow of handling of general request has 4 steps:
1. nginx load balancing and decides node to move request
2. each
node has running php-fpm
3. php connects to database to manipulate with data
4. php-fpm gives
response to client via nginx
TTPU
10
2022