Performance Of OAG Scripting Language Filter
(Doc ID 2100275.1)
Last updated on AUGUST 01, 2019
Applies to:Oracle API Gateway - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
The traffic monitor details show that this filter took 12ms for the first call and 4-5ms each on subsequent calls.
A Groovy script which retrieves the current date/time as a string using Java classes was also implemented- this Scripting Language filter took approximately 180ms for the first invocation and 0-1ms on subsequent calls.
The overall performance of the Scripting Language filter seems to be low and variable. Looking at some recent transactions in a QA environment, it was seen that the above Groovy script typically fluctuates anywhere between 0-15ms to retrieve the current date/time - many of these are in the middle of the night, where there should be no other load on the server.
No errors. Performance issue
OS: Linux x86-64
1) Create a policy with a Scripting Language filter, expose it as a path.
2) Invoke the path multiple times.
3) Observe that the first invocation takes longer and subsequent invocations are typically faster.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document