Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
|
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2007, 03:29 AM
Registered User
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default serverside ajax language

I'm researching the language/technology I want to use serverside for my ajax queries. I am currently using cgi perl but the overhead is killing me. For a simple query I am hitting 300ms and for a more complex one (loading CGI and DBI) I am hitting 700ms average.

I am considering going to mod_perl or php or jsp or something else. I was wondering what people are using for there serverside technology in time critical ajax features (like an update every 1-2 seconds).

Thanks,
david_kw


 
Old March 19th, 2007, 09:26 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

If it is speed you need serverside JSP and PHP are a bit slow. ASP and ASP.net are faster don't know any faster way.

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
 
Old March 19th, 2007, 10:00 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> If it is speed you need serverside JSP and PHP are a bit slow.

Some evidence to backup your statement?

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old March 19th, 2007, 10:06 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Your speed issues could be any number of things. Do you have properly configured DNS on the server? Is that figure the amount of time for script execution, or a ping/traceroute time? If it's a ping time, it's a network issue and changing languages won't make any difference. If it's script execution time, I'd do a bit more research before chucking the language out the window. You probably have something misconfigured, or another issue that you're overlooking. Keep in mind that millions of sites use Perl scripting everyday; that you are having issues with it is more than likely something in your configuration and use of the language, rather than in the language itself.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old March 19th, 2007, 10:48 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by richard.york
 > If it is speed you need serverside JSP and PHP are a bit slow.

Some evidence to backup your statement?

Regards,
Rich
I might have a bit to quick with that. All I have seen so far is that when I try php compared to asp on my localhost asp pages seem to load slightly faster.

For the JSP comment i have to take that back.

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
 
Old May 28th, 2007, 11:41 AM
Authorized User
 
Join Date: May 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to firebirdjohn61
Default

If you wanna be free on server side, you can choose php. Free on ennvironment and money.

Best regards John






Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulling ServerSide Variables Into ClientSide Code kwilliams ASP.NET 2.0 Professional 3 February 6th, 2008 04:57 PM
Recommend an AJAX IDE - JoyiStar AJAX WebShop. kingstar Ajax 4 December 15th, 2006 05:12 AM
New Ajax article: Creating an Ajax Search W jminatel BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 May 11th, 2006 03:45 PM
new Ajax article: Creating an Ajax Search Widget jminatel Ajax 0 May 11th, 2006 02:50 PM
SERVERSIDE & CLIENTSIDE APPLICATION [email protected] Forum and Wrox.com Feedback 1 October 9th, 2005 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.