Closed namedgraph closed 3 years ago
ImportListener
queues GSP requests to the triplestore -- Fuseki does so by default, Dydra using the asynchronous mode.
However, applications should take case to create queries and upload files before starting the (potentially long-running) imports, because the queued requests shouldn't interleave with normal Linked Data requests. Demo app scripts have been refactored accordingly: https://github.com/AtomGraph/LinkedDataHub-Apps/blob/master/demo/northwind-traders/import-csv.sh#L111
LinkedDataHub has no problem sending concurrent streams of outbound RDF data, but it turns out the Graph Store Protocol fails on concurrent write (
POST
,PUT
,DELETE
) requests. At least Dydra fails, Fuseki needs to be further tested.The solution would be to queue outbound requests in
ImportListener
. Possibly as easy as turning down the number ofExecutor
threads to 1.