I am trying to optimize the code for an application we are currently developping. The current implementation invovles creating a thread to continously poll a server for new data. If new data is found the thread then spawns multiple threads (created every time) to retrieve the data.
I was reading regarding thread pooling and was curious wether changing the code to utilize the threadpooling would result in noticeable difference.