It seems it has something to do with virtualbox :) Not CXF YES!!

On Wed, Nov 18, 2015 at 11:20 AM James Hutton <[email protected]>
wrote:

> Have you thought to check if it is your disk?  You should really be pulling
> in a bunch of System.currentTimeMillis() variables.  Also you would want to
> separate your disk issues from cxf, so probably writeTo an in memory array
> and then write to the random file.  Of course you would need to add
> performance metrics around each effective action.  Just suggestion to help
> you help yourself?
>
> On Wed, Nov 18, 2015 at 3:20 AM, Idar Borlaug <[email protected]>
> wrote:
>
> > Hi
> >
> > I think we have a performance degredation in our cxf webservice.
> >
> > I try to send a file of 200mb through cxf and store it to a file.
> Sometimes
> > this takes 12 seconds, but it often takes a few minutes.
> >
> > My service is now implemented like this:
> > log.debug("String files");
> > for(Dokument d :forsendelse.getDokumenter()){
> > d.getData().writeTo(new FileOutputStream("target/" +
> > UUID.randomUUID().toString()));
> > }
> > log.debug("Files stored");
> >
> > I am running cxf on jetty 9.2, the client is a unit test which sends
> files
> > from the filesystem.
> >
> > Anyone have any thoughts?
> > --
> > Idar Borlaug
> >
>
-- 
Idar Borlaug

Reply via email to