jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Gruszczynski" <stefan.gruszczyn...@gmail.com>
Subject Re: JackRabbit performance tests report
Date Fri, 01 Dec 2006 08:43:49 GMT
Hi,

Recently you wrote about custom importer - could you give me an example? The
thing I need mostly in JackRabbit is an ability to import large XML files
with low memory usage.

BR,
Stefan Gruszczynski

2006/11/25, Jukka Zitting <jukka.zitting@gmail.com>:
>
> Hi,
>
> On 11/25/06, Stefan Gruszczynski <stefan.gruszczynski@gmail.com> wrote:
> > > > And what about SAXParser which is not thread-safe?
> > >
> > > I've always used just a single thread for the import. I don't
> > > see how multi-threading would really help unless you want to
> > > partition the XML document into parts that are independently imported.
>
> >
> > And what about situation when on one server work in the same time few
> > clients and each of them want parse own document. Is possible to all of
> > clients do this simultaneously?
>
> The SAX parser instantiated for the XML import process is bound to the
> Session and the individual importXML method invocation, so there are
> no thread-safety issues to worry about there.
>
> Simultaneous XML imports are treated just like any other simultaneous
> modifications. They can only cause problems if the modifications
> overlap.
>
> BR,
>
> Jukka Zitting
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message