Simultaneous AJAX calls during HTTP streaming

I have an Apache server running a web application. In this webapplication I show a video using JWPlayer. JWPlayer uses http pseudostreaming to fetch the video from a PHP script which serves up this video. All this works well and the video is streamed well.

The problem I am having is while the video is streaming I also use AJAX calls to fetch some XML files which are used by Adobe Flash files on the same page. While streaming these XML file fetches are kept 'pending' until the entire video is loaded. Using Chrome I can see that the video gets loaded byte by byte. When the video is entirely loaded, then the XML files are fetched. Also if I open another tab in my browser while a video is streaming and try to load the web application again, it will also not show until the video is entirely loaded.

This seems te be an Apache setting of some sort. The MPM settings for apache are:

ThreadsPerChild 150 MaxRequestsPerChild 0

This seems to be correct. Any ideas what could be wrong?

Answers


If you are using PHP sessions then this is probably what is causing the IO blocking.

php blocking when calling the same file concurrently


Need Your Help

I copid the bluetooth code in my android project but it is showng error that cannot be resolved to a field

android types bluetooth field

I copied the bluetooth code in my android project but it is showing error that cannot be resolved to a field:

How to organize code to build applet and application easily?

java design applet refactoring

I have being implementing a client in Java as application with Swing. But now I want to build also Applet from it. What is the best way to redesign/refactor in order to be able to build both of them

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.