on 2024 Feb 09 11:09 PM
Hello everyone,
We have developed an integration solution for importing invoices from an ERP system into SAP Business One. Our client needs to import approximately 300,000 invoices on specific days within a 24-hour timeframe. The on-premises architecture employs Service Layer servers that are separate from the application and the HANA database.
Despite utilizing batch processing and upgrading both the Service Layer and database hardware, we have not seen an increase in write speed, which remains constant at about one invoice per second, even when sending multiple batches simultaneously. Remarkably, this speed stays constant on configurations with enhanced hardware, whether on a machine with 128GB of RAM in both the HANA database and the Service Layer, or on a setup with 1TB of RAM in the Service Layer and 256GB in the database.
We have activated parallel processing and increased the number of nodes in the Service Layer. However, when sending invoices one by one, the Service Layer becomes unstable, and the system becomes unavailable. It's important to note that these tests are conducted on a test database without real users.
Additionally, we observed that the main performance bottleneck seems to be in the validations, where each POST/Invoices operation, along with other SELECT queries, triggers a SELECT on the OITM table, which takes longer than expected.
Used Tables:
After reaching out to SAP support, we received several SAP Notes. We implemented all the suggested configurations, and some were already in place. Yet, the challenges persist.
Observations: In our testing, we dispatched pre-processed batches of various sizes — 20, 100, 200, 300, 400, 500, 1000 — from Postman directly to the Service Layer, including tests from a Postman instance within the same machine as the SL. This effectively rules out communication issues between the application and the SAP Service Layer as the cause of the underwhelming performance.
The questions we're left with are:
This comprehensive approach seeks to better understand the limitations we're facing and explore potential solutions within the community. Any shared experiences or advice would be greatly appreciated.
Request clarification before answering.
User | Count |
---|---|
61 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.