.NET sockets vs C++ sockets at high performance

would anybody know a good article/reference explaining how .NET sockets use I/O completion ports under the hood? I suspect the only reference would be the implementation (ie. Reflector or other assembly de-compiler). With that you will find that all asynchronous IO goes through an IO Completion Port with call backs being processed in the IO-thread … Read more

What’s the difference between epoll, poll, threadpool?

Threadpool does not really fit into the same category as poll and epoll, so I will assume you are referring to threadpool as in “threadpool to handle many connections with one thread per connection”. Pros and cons threadpool Reasonably efficient for small and medium concurrency, can even outperform other techniques. Makes use of multiple cores. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)