• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

AJAX performance

 
Matt Holloway
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm wondering if there are any client side performance issues with AJAX due to the client side scripting.

What I'm getting at here is the use of AJAX in a terminal services environment, if all of the client side scripting is taking place on a terminal server, would that not eventually bog down the terminal server?
 
Hemant Agarwal
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to know if AJAX would take more time to implement the same thing in other ways?
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this link,

https://coderanch.com/t/117483/HTML-JavaScript/Ajax-Technology

also browse Ajax discussions on this forum, U'll get Ur answer.
 
Christian Gross
Author
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Performance issues? Ah yes...

I had to double check your question because initially in my response I ran on about this how if performance were an issue we would not be talking about Java. But then I reread your question and saw what you were really asking.

Since JavaScript is slower, and you are thinking about terminals, what happens? I would say, you should test it. In fact I am thinking, I SHOULD TEST it as its a valid question.

Here is what I do know:
1) JavaScript does not have a jitter. So that means every script is executed as if it were seen for the first time.
2) Browsers like IE tend to keep several pages stored in the background without releasing the resources. Firefox does not do this, but have not tried all combinations
3) Browsers when executing multiple HTML pages tend to be resource hogs. It gets worse if your machine has more memory because the browser seem to think it belongs to them!
4) Mozilla, and Firefox have a very nasty bug that every now and then will cause the browser to grab 100% CPU. Mozilla knows about this and they are trying to figure out what the problem is. The only way to stop it is to exit the browser.
5) If you use a browser and allow individuals to surf to other sites advertisements these days think that the CPU belongs to them. I have often seen Flash advertisements grab 25% of my CPU because the advertisment thinks it is cool to have snowflakes falling!

If you plan on deploying Ajax applications on a terminal server I would do it under very controlled circumstances! Things could get very quickly out of control, especially if you let the operators "surf".
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic