user23271: I am developing a Wifi based Led light (Got Inspired from Philips hue, Lifx). I have little knowledge about web server, clients, Web protocols. I will be using ESP8266 as Controller cum WiFi module.
There are two ways to control Led light over WiFi.

Locally
Remotely

Android/iOS app will be handling all the control part.
Which protocols can I use to control Led light, locally? HTTP or Websockets? 

Note :- The speed is critical, android/iOS app can send around 50-60 values per second.

Also, which protocol should I go with if Led light is controlled Remotely.? So far, MQTT seems reliable. Any suggestion?
Kindly help!

user23645: UDP :D
Seriously though, ESP8266 is limited in resources, AND you want to send 50-60 updates a second, just UDP will be the most lightweight, and you won't run out of connections (5 I think on ESP), because UDP has no connection state.
This is what was used here to control a RGB strip: https://github.com/cnlohr/esp8266ws2812i2s , it just listens for UDP packets on port 7777, and each packet contains rgb values, one byte for R,G,B, etc.
MQTT is nice, but it doesn't work well for 60hz updates, I Tried :D
It resulted in un-smooth animation, and frames out of order.

23271: <p>I am developing a Wifi based Led light (Got Inspired from Philips hue, Lifx). I have little knowledge about web server, clients, Web protocols. I will be using ESP8266 as Controller cum WiFi module.</p>

<p>There are two ways to control Led light over WiFi.</p>

<ol>
<li>Locally</li>
<li>Remotely</li>
</ol>

<p>Android/iOS app will be handling all the control part.</p>

<p>Which protocols can I use to control Led light, locally? HTTP or Websockets? </p>

<blockquote>
  <p>Note :- The speed is critical, android/iOS app can send around 50-60 values per second.</p>
</blockquote>

<p>Also, which protocol should I go with if Led light is controlled Remotely.? So far, MQTT seems reliable. Any suggestion?</p>

<p>Kindly help!</p>
 23645: <p>UDP :D</p>

<p>Seriously though, ESP8266 is limited in resources, AND you want to send 50-60 updates a second, just UDP will be the most lightweight, and you won't run out of connections (5 I think on ESP), because UDP has no connection state.</p>

<p>This is what was used here to control a RGB strip: <a href="https://github.com/cnlohr/esp8266ws2812i2s" rel="nofollow">https://github.com/cnlohr/esp8266ws2812i2s</a> , it just listens for UDP packets on port 7777, and each packet contains rgb values, one byte for R,G,B, etc.</p>

<p>MQTT is nice, but it doesn't work well for 60hz updates, <em>I Tried</em> :D
It resulted in un-smooth animation, and frames out of order.</p>
