Nginx slow proxy

I recently setup an Nginx box to proxy http request to a Wowza http module. When going through nginx the request and response took a long time. I was thinking I just had a slow server but when going directly to Wowza the calls were quick.

So after a bit of thrashing around the internet.. I read some nginx docs.. the secret?

proxy_buffering off;

That slowed down my whole request/response stuff. They did mention that when using Comet that this option should be turned off.. well for other http requests that are asynchronous it's a good idea to turn it off as well.

HAProxy init script Ubuntu

I've been learning haproxy as of late and I must say.. so far it's awesome. I use it to front my nginx servers and now I've gotten it to work in front of my Wowza boxes as well. Yes it handles RTMP and RTMPT nicely thus far.

I looked around for some time for a good script to manage my haproxy service but wasn't able to find one that just "worked". I did find one that I modified to suit my needs.. so here you are. I included a link back to the location where I found the initial script as well.

#!/bin/bash
# haproxyd
# Script to start|stop|restart haproxy from /etc/init.d/

Problems abound with OSX Lion and Adobe Products

This made me chuckle a little. http://kb2.adobe.com/cps/905/cpsid_90508.html

Seems Mac users, like myself, will be experiencing issues with Lion for a while. That list of affected products seems fairly long and the problems many.

I think my biggest issue lies with the flash player settings popup window.. very frustrating to have to tab into it and normal users will just think it's because the flash player is junk.

Here's to hoping they resolve things soon.

Adobe AIR on Linux dumped

http://news.cnet.com/8301-30685_3-20071500-264/adobe-scraps-air-for-linux-focuses-on-mobile/?tag=mncol

I can't say I'm super surprised by this move. Linux on the desktop has really struggled to make headway and seeing as Adobe is tightening their belt it's a logical move.

I have to say I'm a little saddened by this news because it again pushes AIR a little further away as a truely cross platform application runtime. I guess JAVA still holds that title.

A cool poem about making the path easier for those who follow

“The Bridge Builder.”

An old man, going a lone highway,
Came at the evening, cold and gray,
To a chasm, vast and deep and wide,
Through which was flowing a sullen tide.
The old man crossed in the twilight dim;
The sullen stream had no fears for him;
But he turned when safe on the other side
And built a bridge to span the tide.

“Old man,” said a fellow pilgrim near,
“You are wasting strength with building here;
Your journey will end with the ending day;
You never again must pass this way;
You have crossed the chasm, deep and wide—

Adobe AIR Auto Update

Adding an auto update to your AIR program isn't really as hard as some how-to's online make it seem. Let me put a few code blocks here that will help you go understand how this can be accomplished.

First off.. create a function to create the auto-update object and add listeners.. then call the update.. like so:


import air.update.ApplicationUpdaterUI;
import air.update.events.UpdateEvent;

import flash.events.ErrorEvent;
import flash.filesystem.File;

import mx.controls.Alert;

New NetConnection class to resolve via rtmpt or rtmp faster via a port scan (rtmpt failback)

#############
NOTICE:
I have created a github code repo for official notifications and modifications of the code. Feel free to check it out here: https://github.com/jakehilton/netconnectionsmart
#############

It seems as though something is broken.. in the flash player it's supposed to attempt a connection via rtmp and then if all else fails it should fail back to rtmpt. Well.. I had a few clients where this simply wasn't happening.

Flash receiveVideo(false) crashes Windows 7 64 bit IE8 (32 bit) browser

I just spent 3 days tracking this little gem down.. loads of fun.

Don't you love when you submit a bug with Adobe they don't let you see your own bug if they consider it a security issue?.. Well here is the report for those who want/need a workaround.

Happy flashing!

Steps to reproduce:
1.create a typical netconnection with a netstream connected to an FMS server (we saw this bug using edgecast cdn)
2.play a video flv file with audio and right when the file is played or just before, ns.play(name), call ns.receiveVideo(false)

Political Thinking in a Picture..

So I'm not saying every politician thinks this way.. but it is how a good number of us feel when it comes to politics. We elect representatives into office.. and support them and what do they do to us? :)

And God Said No

Passed onto me and I quite like this so I thought I'd share it.

######################

I asked God to take away my pride. And God said No.
He said it was not for Him to take away, but for me to give up.

I asked God to make my handicapped child whole. And God said No.
He said her spirit was whole, her body was only temporary.

I asked God to grant me patience. And God said No.
He said patience is a by-product of tribulations. It isn't granted, it is earned.

I asked God to give me happiness. And God said No.
He said He gives me blessings, happiness is up to me.

Syndicate content