Jump to content


Photo

Is Using To Much Ajax Bad?


  • Please log in to reply
2 replies to this topic

#1 jbwebdesign

jbwebdesign

    Advanced Member

  • Member
  • PipPipPipPip
  • 169 posts
  • LocationNew York

Posted 18 December 2012 - 09:07 AM

Hello everyone, I am working on a website and i am using AJAX.

I am sending requests to the server constantly to have a "LIVE" FEED.


I am sending an ajax request to the server to reload a table constantly and another one to reload a different piece of data constantly etc.

is there anything bad with doing this?

will this run slow if i start to have more traffic?
  • 0

#2 Eddie

Eddie

    Advanced Member

  • Advanced Member
  • PipPipPipPip
  • 3,640 posts
  • LocationTexas

Posted 19 December 2012 - 12:46 PM

I believe that using too much ajax can slow things down. If you are trying to populate a lot of data then expect it to be a bit slow.

The question you have to ask yourself is 'How will this benefit (or hurt) my clients/customers?'
  • 0

#3 jbwebdesign

jbwebdesign

    Advanced Member

  • Member
  • PipPipPipPip
  • 169 posts
  • LocationNew York

Posted 07 July 2013 - 09:56 AM

I've just looked into some realtime stuff and it looks like Websockets can be good for what i am looking to do.

does anyone know weather websockets is the best way for me to go?
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

★★★★★ 5 Star Rated Web Developer Course - check it out now!