Introduction
In every organization, employee attendance activities are concentrated around office start and end timings. During these peak hours, hundreds or even thousands of employees may punch in or punch out within a short period. Earlier, every attendance request was sent directly to the application server for immediate processing. As the number of requests increased, the server had to process all of them simultaneously, which could increase system load and impact overall performance.
To make attendance processing more efficient and scalable, uKnowva HRMS now supports Background Attendance Processing using RabbitMQ. This enhancement allows attendance requests to be processed asynchronously, ensuring smoother performance even during high traffic. In this tutorial, you'll learn how RabbitMQ works, why this feature was introduced, and how to enable it in your uKnowva HRMS instance.
What is RabbitMQ?
RabbitMQ is a message broker that works as an intermediary between applications and servers. Instead of allowing every attendance request to directly reach the application server, RabbitMQ first receives the request and places it in a secure message queue. The application server then processes these queued requests one by one or in batches without becoming overloaded.
When an employee performs a punch-in or punch-out action, the attendance request is first sent to RabbitMQ. RabbitMQ temporarily stores the request until the application server is ready to process it. Once the server becomes available, RabbitMQ delivers the queued attendance information to the server, where it is processed and saved successfully.
Because RabbitMQ temporarily stores attendance records, no requests are lost even if many employees perform attendance actions simultaneously. This background processing mechanism improves application stability, enhances scalability, and significantly reduces the possibility of server crashes caused by sudden spikes in attendance traffic.
Think of RabbitMQ as a traffic controller. Instead of allowing thousands of requests to reach the server at once, it organizes them into a queue and delivers them in an orderly manner. This makes attendance processing more stable without affecting the employee experience.
Why Use Background Attendance Processing?
As organizations expand, the number of employees using the attendance system also increases. During office start times, it is common for a large number of employees to record their attendance simultaneously. Processing every request instantly can place unnecessary pressure on the application server.
Background Attendance Processing addresses this challenge by introducing a queue between the attendance request and the server. Rather than processing every request immediately, attendance data is collected first and then synchronized automatically. This allows the application to continue operating smoothly even during periods of high activity.
How to Enable Background Attendance Processing in uKnowva HRMS?
Follow the steps below to enable the Background Attendance Processing feature.
Step 1: Open uKnowva Configurations
From the top-right corner of the screen, click on your profile photo. A list of options will appear.
Select uKnowva Configurations to open the system configuration page.

Step 2: Open the Plugin Manager
After the Configuration page opens, navigate to the left-side menu and click Plugin Manager.

The Plugin Manager displays all plugins available within your uKnowva HRMS instance.

Step 3: Search for the Virtual Biometric Plugin
Inside the Plugin Manager, search for the Virtual Biometric plugin. Once you locate the plugin, click on it to open its configuration settings.

Step 4: Enable Background Attendance Processing
Within the Virtual Biometric plugin settings, locate the configuration named Enable Background Attendance Processing.
This setting processes attendance records in the background to reduce system load and improve performance when many employees are punching in or punching out at the same time.
Change the setting from No to Yes to enable Background Attendance Processing.

Step 5: Save the Configuration
After enabling the setting, click the Save button to apply the configuration changes.
The punch-in and punch-out process remains the same. Employees can continue to punch in or punch out normally by clicking the respective option. Only the processing happens in the background when the system is busy.
What Happens After Enabling This Feature?
After this feature is enabled, employees can continue marking attendance as usual. During busy periods, the attendance request may not be synchronized instantly because it is first placed in the RabbitMQ queue.
In such situations, employees may see the following notification:
"Your punch-in at 9:30 AM has been recorded successfully. It may take a few minutes to reflect in your attendance."
The punch-in time displayed in the notification will be dynamic and will reflect the employee’s actual punch-in time.
This message simply indicates that the attendance request has been received successfully and is waiting to be synchronized. Once the queued request is processed, the attendance record is automatically updated without requiring the employee to punch in again.

Conclusion
That’s it!
You've now successfully enabled Background Attendance Processing using RabbitMQ in uKnowva HRMS.
By activating this feature, attendance requests are processed through a reliable message queue instead of directly reaching the application server during peak hours.
If you have any questions or need additional support, feel free to contact us at This email address is being protected from spambots. You need JavaScript enabled to view it..



