As mentioned in our previous post about e-way bill , we got some question about scalability. E-way bill topic being link to invoicing and freight forwarder, we can easily imagine that during peak period we need to ensure that the bot can handle the load and not slow down operation.
We have been testing and measuring two approaches. The first one being one bot does all, and the second one being Microbots or specialised bots.
Approaches
The bot does all is self explanatory, so no need to go too much in details.
Microbots might required some explanation. If you are familiar with Micro services, you can skeep this section and jump to the next one.
There is a very interesting post on linkedin that goes in details of the approach, worth reading if you have an extra 5-10 minutes.
In a nutshell, Microbots approach consist on splitting your processes in micro specialized tasks, then develop a bots for each of the tasks, orchestrate these bots together in order to complete the process, and voila.
The main challenge becomes the orchestration of all the bots together.
the advantages are multiple: re-use a microbots in an other process, scale specific microbots when required, limit impact of external changes.
Instead of providing theory about microbots, i will demonstrate and compare the approach for the Indian e-waybill process.
Indian e-waybill
The automation for the e-waybill consist in three steps:
As you have guess, we have the choice of having a bot doing all, or three different bots, or two different bots (steps 2 and 3 with the same bot). I am proposing to also test steps 2 and 3 together as it require the SAP gui. When splitting 2 and 3, the SAP gui need to be started two times, doesn't seems to be the most efficient for the speed of the process.
Performance results:
For the performance measurement, as we are talking about seconds, for the table below we used the "All in One" performance as the reference (base 100), and express the other approach as a percentage differences of the reference (for example -10% on execution time will mean 10% faster)
Couple of explanation:
Our Choice
For our different customer we are using the two bots approach. We do think it's the perfect mix between speed, complexity and scalability.
As mentioned in the previous post in average our customer are processing 500 invoices per month. If we had to scale to more than 20 times that volume, we would most likely use the three bots approach in order to optimize the compute resources and therefore cost.
The three approach have been added to our catalog and are available upon request. Feel free to contact us if you would like to test them or for any question.