ESP8266 slow tcp performance

I never really use the esp8266 for communications other than serial but i dont think it was this slow. I'm trying to run an asynchronous tcp server. I'm just trying to make a solid communication protocol for my project. i am using the default examples from HERE.. the only thing i changed is the reply time in the client sketch. i changed it to 500ms and the whole system starts to break. its works for a few times then freezes for a long timer and repeats. I'm worried because i will have 8 nodes sending 32 byte data structures to the master every second and i dont think it will handle it. Do i have any other options? Does anyone feel like testing out the simple example sketches and tell me what you think the problem is.

Just to clarify i have been through every issues open and closed and the commits on thier github and i didn't find anything helpful. Google yielded very little results. I'm cornered here i need someone with more knowledge than me to please help me debug this issue.

I read all the comments in ESPAsyncTCP.cpp. I'm still not convinced that i know why i experiencing the extreme sluggishness. it seems like the longer it runs the worse its becomes.

You could always try UDP. UDP is simpler than TCP and HTTP.

https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/udp-examples.html

gbafamily:
You could always try UDP. UDP is simpler than TCP and HTTP.

UDP — ESP8266 Arduino Core 3.1.2-21-ga348833 documentation

It looks promising thanks