Improving Latency in Http Proxy scenario

Stream to stream copying is a scenario that is not straightforward to implement. It is especially important in a Proxy scenario. Proxy Let’s start from the beginning. What is a proxy? A server that acts as an intermediary for requests from clients seeking resources from other servers (Wikipedia)   There are many reasons why you…

0

Optimizing memory footprint: Compression in .Net 4.5

Performance is about tradeoffs. If you need to do something faster you can probably do it if you use more memory. If you need to reduce the space that your data is using you can use CPU to compress it. But you will be paying the CPU cost. When I was working on Azure Service…

0

Best practices for using HttpClient on Services

Since HttpClient was released back in 2012 it’s become the recommended way of talking to the web from C#. It follows the HTTP standard very closely and has very good support for the async programming model. During my years working in Services I’ve seen it used a lot. Sometimes people hit the same problems. Here…

0