Thursday, May 2, 2013

GridLink: oracle.repackaged.ons.ReceiverThread.run and oracle.repackaged.ons.SenderThread.run

We have 7 GridLink Datasources, all configured with the same ONS parameter (same host and port).

However, we have 21 (=7*3) threads with oracle.repackaged.ons.ReceiverThread.run, and 21 with oracle.repackaged.ons.SenderThread.run.

I wonder why:

a) 3 Receiver threads and 3 Sender threads are required per each Datasource

b) why all these Datasources could simply not SHARE the same Receiver and Sender threads, since most likely they will be sharing exactly the same informations.

We also have 7 threads oracle.repackaged.ucp.jdbc.oracle.ONSRuntimeLBEventHandlerThread.run. And 21 tcp ESTABLISHED connections to ONS.

I really don't like having 42 threads dedicated only to Grdilink notifications (plus all the sockets open by them)

No comments: