Your request needs to go through too long chain, that's why it is
slow.
I'm not sure what's the purpose of the proxy server. Does it do any
valuable work, or anything it does is just forwarding requests back
and force between internet clients and your JBoss?

Also, why do you need Apache on the local machine? You could just
change JBoss configuration to listen to default port eighty, thus
eliminating one more item from chain.

What I'd recommend is to get some domain name. 3rd level names can be
optained pretty easily. And then setup DNS to point this name to your
jboss static ip address.

In this case clients will have direct requests, except the first time
when dns request would precede loaded one.

On Aug 28, 2:30 am, Subhash Kaker <[email protected]>
wrote:
> Hi All
>
> I am also facing performance issue like this.
>
> Any suggestion/help will be appreciated.
>
> Thanks in adv.
> Subhash
>
> On Aug 28, 11:10 am, Ganesh <[email protected]> wrote:
>
> > Hi All
>
> > I am facing performance issues in my GWT application. My scenario is
> > as explained below:
>
> > My GWT application is deployed on a JBoss server which is running on a
> > machine with static IP say 56.56.56.56 with port 8080. Now when I
> > access my application using this IP & port, speed of my application is
> > very good and all is running very well. Now I want to setup a named
> > proxy server sayhttp://myserver.comforaccessing my application. For
> > this, I made an account on zoneedit.com and created a mapping of my
> > named server to my static IP with port 80. On port 80 on my static
> > server, I setup an Apache server. In Apache server's config file, I
> > forward my all requests to JBoss server running on same machine. Now
> > using this setup, I am able to access my application using 
> > linkhttp://myserver.com.
>
> > But now the performance issues started. Request which is sent to
> > server from my application, starts taking too much time. A blank (no
> > data is being sent b/w server & client and no processing is being done
> > on server) request which takes 450 ms if access application through
> > static IP, takes 1400 ms when application is accessed 
> > usinghttp://myserver.com.
>
> > Below is the code which I use to send request to my server:
>
> >     _MyServiceAsync myServiceAsync = (_MyServiceAsync) GWT.create
> > (_MyService.class);
> >     ServiceDefTarget endpoint = (ServiceDefTarget) myServiceAsync;
> >     String moduleRelativeURL = GWT.getModuleBaseURL() + "MyService";
> >     endpoint.setServiceEntryPoint(moduleRelativeURL);
> >     myServiceAsync.callMethod();
>
> > The problem which seems to be is because all my requests are going to
> > zoneedit.com and than to my server and that's why they are taking a
> > lot of time. A solution which I thought was replacing
> > GWT.getModuleBaseURL() with my static IP in moduleRelativeURL for
> > sending direct request, but that didn't work because of cross domain
> > AJAX call restriction.
>
> > I request if someone can help me how can I achieve performance without
> > telling exact IP (it is also difficult to remember an IP) to my
> > clients on which my application is running. Any suggestion/help will
> > be highly appreciated.
>
> > Thanks in advance
>
> > Ganesh Bansal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to