I have two fuseki. I'm trying to get some data from one fuseki and send it to another one. The query I'm using is like:
SELECT ?g ?s ?p ?o WHERE { GRAPH ?g { ?s ?p ?o } GRAPH ?g { ?s <mo:metric> "metricA"^^<http://www.w3.org/2001/XMLSchema#string> } }
I got a lot of data which is for metricA, then I send each of them by:
accessor.add(graph,model))
In order to speed up the process, I use the
Executors.newCachedThreadPool
to create many threads to send them.
Here comes the problem, I notice sending some metric has no problem even if interval I send them is only 100ms. However, for some other metrics after some time, the fuseki server will be unresponsive. Even if I try to access the web gui, I cannot get anything. BUT, if I stop sending the data at that time, the interesting thing is that fuseki begings to receive a lot of messages. It seems somehow it's blocked before.
Does any one what could be the problem?