Hi,

Just noticed that the TcManager responds to activation of
WeightedTcProviders. Unfortunately this slows down my application
startup dramatically when using the Virtuoso TcProvider. Let me explain
what happens:

1) Virtuoso TcProvider becomes active and the TcManager is notified
(bindWeightedTcProvider)
2) TcManager (or better XXXX) requests a list of all provided graphs
3) Each provided graph is retrieved
(TcProviderMultiplexer.weightedProviderAdded)
  3.1) cached in a map (for mgraphs)
  3.2) is made available as a service
4) getting each graph involve some network roundtrips in the Virtuoso
provider

In my development environment I already have approx 1500 graphs and this
process consumes a number of minutes. In production I have already about
8,000 growing by 200+ a week. So for me this behaviour is not
acceptable. Especially since I do not use TcManager, but connect with
the TcProvider directly.

So now I wonder how I can disable the TcManager. I can stop the bundle
but I'd rather have the bundle not start at all. Or at least disable
this behaviour.

Any hints?

Regards,

Minto

Reply via email to