Hi.

I have tried to ingest a number of documents in parallel, but they seem
to congest in getIngestWriter in DefaultDOManager.
When looking at the source code I can see that this method is
synchronized, but I fail to understand why.
As far as I can tell ( I admit I have not read through the source for
all the classes used in the code ) the only place where the
synchronization is needed is when a new PID is generated. But looking at
BasicPIDGenerator it seems like the interesting methods are already
synchronized here.
Since I would like to speed up the ingest, could You please point me in
which direction to look in order to remove the synchronization on
getIngestWriter?
If You can help me understand which parts to fix I will look into
develop a patch.

-Jesper





------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to