Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2007, 03:29 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
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


Reply With Quote
  #2 (permalink)  
Old March 19th, 2007, 09:26 AM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
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.
Reply With Quote
  #3 (permalink)  
Old March 19th, 2007, 10:00 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
Reply With Quote
  #4 (permalink)  
Old March 19th, 2007, 10:06 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
Reply With Quote
  #5 (permalink)  
Old March 19th, 2007, 10:48 AM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
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.
Reply With Quote
  #6 (permalink)  
Old May 28th, 2007, 11:41 AM
Authorized User
 
Join Date: May 2007
Location: Oslo, , Norway.
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 u_roc100@rediffmail.com Forum and Wrox.com Feedback 1 October 9th, 2005 10:29 AM



All times are GMT -4. The time now is 04:54 AM.


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