Sorry, accidentally hit send.
I have a working version of a UDP Echo Server that listens to multiple ports and echos responses back. This implementation uses threads (one per port) and uses boost::asio and async reads and writes.
This implementation works fine with machines with multiple virtual cores, but I also need to run this on a machine that has one virtual core available. I will listen to about 10 ports at this time, but the number of ports could grow.
My questions are:
1) Should I re-write this to run on one core? We see performance issues on one core.
2) Is this a good candidate for boost::fibers? If so, what approach should I take? Still use boost::asio and async reads and writes?
I am a bit confused on which way to go with this. I would appreciate some helpful hints or guidance.