Client-server architecture at Torgsoft

Torgsoft is built on a «client-server» architecture. This means the software suite is divided into two functional parts: the one that stores and processes data (the server) and the one that interacts with the user and retail equipment (the client).
System components
1. Server side (Database server)
This is the central computer where the database management system (Microsoft SQL Server) is installed and where the store database itself is hosted. The TorgSoftService service (Application server) also runs here.
Server functions:
-
Data storage: centrally contains all information about products, sales, customers, cash flow, and settings.
-
Request processing: receives commands from all workstations, performs calculations, and returns the result. This allows the system to scale: as the number of checkout stations increases, the load falls mainly on the server.
-
Integrity assurance: Microsoft SQL Server ensures data preservation even in case of an unexpected shutdown on the client workstation and prevents conflicts when different users write data simultaneously.
-
Background tasks (TorgSoftService): automatically calculates cost price, creates backups, ensures data exchange with the mobile app, and updates shipment statuses for Nova Poshta waybills.
2. Client side (User workstation)
This is the torgsoft.exe application through which the user enters data, views reports, and manages business processes. The interface adapts to the user role (the Owner sees everything, the Seller sees only the sales mode).
Client functions:
-
User interface: displays working forms (for example, «Sales», «Goods receipt») and reports.
-
Interaction with equipment: directly controls connected hardware: receives signals from the barcode scanner, sends print commands to the receipt printer or fiscal registrar, and transfers the amount to the bank terminal.
-
Data exchange: generates requests to the server and displays the received response on the screen.
Client-side operation modes
The program supports several connection options:
-
Local network (Classic mode): The program is installed on the cashier’s computer. It uses this PC’s resources to display the interface, but sends and receives all data from the server via cable or Wi-Fi.
-
Terminal mode (RDP): The program runs physically on the server. The cashier’s computer works as a monitor, streaming the image via Remote Desktop. This is optimal for working over the internet.
-
Hybrid mode (Torgsoft Hybrid): The application stores data locally at the checkout. If the connection to the server is lost, the checkout continues to operate autonomously. When the connection is restored, data is synchronized with the server automatically.
Interaction flow (sales example)
-
Scanning: The user scans an item. The scanner sends the code to the Client application.
-
Request: The application generates an SQL query and sends it to the Server.
-
Processing: The server checks the item’s availability in the database, its current price, the customer’s discounts, and stock balances.
-
Response: The server returns the found data to the Client application.
-
Display: The item appears on the receipt on the screen, and the program is ready to print the receipt and perform fiscalization.
Summary
Using a «client-server» architecture is essential for stable store operation. The Server is responsible for security, storage, and automatic data processing. The Client supports staff work, interface control, and interaction with retail equipment.
-
16.02.2026
Torgsoft Hybrid: work without the Internet and data synchronization
How Torgsoft-Hybrid works without the Internet: offline sales and receipt printing, server synchronization, settings, pECR restrictions and licenses
-
12.02.2026
Price management in the retail network
Setting prices in the retail network in Torgsoft: single or different prices, regional price lists, synchronization between stores and the website
-
09.02.2026
Setting up the structure of the retail network: stores and warehouses
Setting up a retail network in Torgsoft: adding stores and warehouses, cash registers, a central object for prices, employee access









Go back to the previous step