ESP8266 or Arduino Ethernet shield w5100 ??

Yes, I know the difference in terms of type communication

I have a problem with getting data in real time

I tried the ethernet shield but the http response is too slow