During 2023, we identified performance issues with SAP versions 2305 and 2308 related to the DI-API. You can find the SAP note addressing this matter here.
After investigating, we pinpointed that the slowness was attributed to the DI-API connection method we were using with B1UP. In response, we adjusted B1UP version 2023.12 by reverting to an older, but still efficient, connection method.
With the implementation of this change, SAP encountered challenges in closing down the new DI-API connection method, resulting in freezing and slow shutdown times when running B1UP. As a result, the current optimal combination is SAP version 2311 (where the DI-API performance issues in 2305/2308 are resolved) and B1UP version 2024.02 (using the default cookie connection method) for optimal performance and proper shutdown.
If you're using SAP versions 2305 or 2308, there are, unfortunately, only bad options to choose from. Either having slow performance with DI-API by running any other version than B1UP 2023.12 or by having shutdown freezing/slowness by running version 2023.12.