on 03-30-2015 4:24 AM
Hi!
I have a simple .NET application which calls a function module. The module is simple: it reads 2-3 rows from Z-table (20 rows total, 5 columns).
All work fine saving speed. The function module id ok. It finishes in less than 1 ms every time. But the application running time is different. Some times it's less than 1 second, sometimes it's 20-30 seconds. There are no obvious dependences.
The application doesn't make a lot of calls, usually there is one call in 5 seconds. Sometimes even one call in 10 minutes.
How to find a source of these delays?
The RFC config parameners code is:
RfcConfigParameters parms = new RfcConfigParameters();
parms.Add(RfcConfigParameters.Name, "PE0");
parms.Add(RfcConfigParameters.AppServerHost, "SAPPE0");
parms.Add(RfcConfigParameters.SystemNumber, "00");
parms.Add(RfcConfigParameters.SystemID, "PE0");
parms.Add(RfcConfigParameters.SAPRouter, "/H/192.168.168.1/H/");
parms.Add(RfcConfigParameters.User, "user");
parms.Add(RfcConfigParameters.Password, "password");
parms.Add(RfcConfigParameters.Client, "500");
parms.Add(RfcConfigParameters.Language, "EN");
parms.Add(RfcConfigParameters.PoolSize, "5");
parms.Add(RfcConfigParameters.ConnectionIdleTimeout, "3000");
destination = RfcDestinationManager.GetDestination(parms);
Hi Sergej,
as you are using a SAPRouter I assume that the target system is in a fenced network and the saprouter is corssing the firewall. In such network setups, it is often the case that latency is higher due to bottlenecks at the saprouter machine. Depending on the load the saprouter has to handle at a given time, it could cause trouble. Or it's simply the distance between client and server. Furthermore, also in LAN setups it's normal that the responsetime is varying in case you access via WLAN hotspot. You surely have noticed this with other tools accessing network ressources as well.
Best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you disposing of all your connections after the RFC call? Sounds like you may have some table locking issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.