microservices-datadriven icon indicating copy to clipboard operation
microservices-datadriven copied to clipboard

FAN should be turned off when connecting to ATP

Open RichardExley opened this issue 3 years ago • 4 comments

ATP on shared infra does not support FAN. We need to have a mechanism to turn off FAN in our microservices when connecting to ATP-S. In the Python and NodeJS inventory microservices the time to instantiate the connection pool was dramatically reduced once FAN was disabled (15 seconds ro 1 second). Here is the current message from the order-helidon service:

Oct 06, 2021 11:35:35 PM oracle.simplefan.impl.FanManager configure
SEVERE: attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out

RichardExley avatar Oct 07 '21 13:10 RichardExley

@paulparkinson Could this be why order-helidon takes so long to start up?

RichardExley avatar Oct 07 '21 13:10 RichardExley

indeed and this can be turned on and off via env prop

paulparkinson avatar Oct 07 '21 13:10 paulparkinson

There appears to be a bug in latest UCP on this. Need to log bug.

RichardExley avatar May 04 '22 16:05 RichardExley

there is one. current workaround is apparently to use JDBC/UCP 21c with 19c ONS. will wait for official fix I think

paulparkinson avatar May 04 '22 16:05 paulparkinson