Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

Please help me in below problem.

Problem Statement: I have a controller that takes input as message and produce output.The controller can only receive 10 messages per second. I have an application on top of controller that would create message and send to controller. My application can create and send to controller 100 messages per second.

As controller can receive only 10 message per second, how will I solve this problem in c++.

I think queue can be used but sombody told me it's very costly.

Please let me know your thought on this.


Regards,
Joy
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900