Matt Benson writes:

> I have written an application that can create multiple
> reports simultaneously using iText in multiple
> Threads.

I have a Servlet project where different documents
can be generated by different users. Each document
is constructed and filled in a seperate thread.
While the user is waiting, he gets a gauge in HTML
so that he can see how long it will take. 

> This isn't really a thread-safety issue,
> however.  I would have to say that iText is not
> thread-safe in that your results would be quite
> unpredictable if you called methods on one
> DocumentWriter object from multiple concurrent
> Threads, but what document would not look funny if
> written to from different sources simultaneously?

I agree. 

> As long as you have one Thread per document you should be
> fine.  I can't necessarily say that the performance
> will be all you could want though, since I've never
> yet been able to test on a really high-end machine.

In the months june, july and september, our application
is used by 1000 different users and there are moments with
more than 100 concurrent users. We sometimes have database
related problems, but iText does its work pretty good.

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to