Signifigant delay when using Max Bitrate option IIS/Tomcat

Need help? Post your questions here.

Moderator: moderators

Signifigant delay when using Max Bitrate option IIS/Tomcat

Postby paradym3 » Tue Dec 14, 2010 2:33 am

I have searched and searched the forum and found no mention of this problem.
What is happening is the stream of a song does not start until the system completes the down sample of an MP3 when using the Max Bitrate option. There is a significant delay of 30-35 seconds per song. If I am not using the Max Bitrate option there is no delay. I understand that Lame has to kick in and do the conversion, however using the Jetty version of Subsonic I see that Lame kicks in and the stream starts in a few seconds. Lame continues to convert while the stream continues.
I am using IIS/Jakarta/Tomcat with SSL enabled. Here is what I have tried or observed.
1. Jetty version starts stream quickly even with lower spec hardware.
2. Hitting Tomcat directly and bypassing IIS the stream begins faster then with the Jetty version. (Have to stay with IIS as other sites are served)
3. SSL or non-SSL has no effect.
4. IIS compression (Dynamic or Static) has no effect as expected.
5. After the above I would be incline to say its the IIS/Jakarta combo causing the problem.
6. I am using the 64bit version of Lame but changing version to 64 did shave about 5 seconds off the conversion time.
7. I can see Lame start the conversion in Task mgr and when it finishes the stream begins.

Is anyone else experiencing this? Specifically the IIS/Jakarta/Tomcat users? Anybody have any idea what could be done to speed this up? Its not a server resource question its just that I need to have this working for bandwidth reasons especially for the iPhone and Android users who suffer when a 320+ CBR MP3 is playing.

Please see server specs in my sig, its not a server resource issue though the faster Lame converts the faster the stream will start.

Thanks so much any help you can offer.! :lol:

Craig
Dell 1850 PowerEdge
Dual Xeon 3.2Ghz procs with Hyper Threading
4G RAM
Redundant 73Gig 10K RPM Hard Drives
iSCSI storage
Redundant power supplies
Windows Server 2008 R2 64bit OS
IIS/Jakarta/Tomcat web services with SSL enabled
A whole lotta love!
paradym3
 
Posts: 19
Joined: Thu Jun 17, 2010 11:07 pm
Location: San Francisco

Postby stozher » Tue Dec 14, 2010 10:41 am

User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby paradym3 » Tue Dec 28, 2010 9:42 pm

Stozher,
Gave the FFmpeg a try and it has no effect. I don't think the problem is with the transcode itself. All transode settings worked correctly with the standalone version, stream started while the machine was still transcoding. This problem is unique to IIS/Jakarta use. Skipping IIS and Jakarta redirect and hitting Tomcat directly allows use of the Limit Max Bitrate option, and the correct streaming while the machine transcodes.

Any other thoughts? Anyone else have this issue?

Thanks,
Craig
paradym3
 
Posts: 19
Joined: Thu Jun 17, 2010 11:07 pm
Location: San Francisco


Return to Help

Who is online

Users browsing this forum: No registered users and 28 guests