Hi,

Continuing my tests with RMI, I wrote a simple façade service class that
receives my RMI calls and then calls a standard OFBiz service. For now it
only returns an empty Map.

I am now facing a performance problem : a single call to the my new service
which then calls the performFindList method on Party objects, but returning
an empty Map to the client, took 8 seconds to run.

As I said in my previous email, I am using the
CompressionClientSocketFactory.

If I change the code to the the default JDK implementation (jdk1.5.0_15) :
public RemoteDispatcherImpl(LocalDispatcher dispatcher,
RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws
RemoteException {
        // super(0, csf, ssf);
        super();
        this.dispatcher = dispatcher;
    }

Then, the performance are really good, the call is made in 30 ms ! So, I
have several questions :

Do you know about any performance problem with the
CompressionClientSocketFactory implementation ?
Do you know about any performance issue with the SSL implementation provided
in OFBiz ?
And can you make an update to the code so that we can use the default JDK
implementation without having to change the code ?

Thanks,

Cimballi

Reply via email to