Sometimes I just go around in circles wondering whether adding a thread queue
with a single thread querying and updating a database server at the cost of a worker thread
processing user requests would be efficient resources usage or not, and how would it impact overall performance of the application in terms of number of replies/sec
?
However, since I am merely a hobbyist with no real business projects, I usually end up giving up because of too much thinking about it. I research but I find no relevant answers.
SO what might be other factors that one shall take into account when programming high performance I/O (networking specifically) applications in both managed and un-managed environments?