Hi! Seems 2011 will be the least productive year of my blogging. There have been many factors affecting this: moving out from a flat, staying at a friends for a month, moving into another flat in another city, half dead notebook.
I participated in a public photo exhibition, anybody could present their work. Mine got not much attention but I expected it. The most admired photos by public were sunsets, HDR and nudes; or the best, all in one! Cliches, what to say. And the most admired photos by the organizators were artistic photoshopped multiexposures. I have to admit they were interesting and enjoyable, ...
In this era of economical collapse, we decided to take a loan and by a flat :S Hope everything will go right. I have a new PC so soon will start posting new pictures.
Have a nice day.
Friday, August 5, 2011
Tuesday, July 12, 2011
c# .NET HttpWebRequest slow - Expect 100 continue!
Another tech stuff, at least as I am not posting lately. So, we were sending HTTP requestso the server and against a previous (3rd party) version it was extremely slow. Any browsing would suggest to change buffering, async mode or turning off proxy, but none helped.
When we changed POST to GET, this problem dismissed!
When we rewrote using sockets, the problem dismissed, but could not take the risk of an own implementation on a production system.
Profiling showed the bottleneck is this line:
the poll method. Finally the solution was
or
Good luck.
When we changed POST to GET, this problem dismissed!
When we rewrote using sockets, the problem dismissed, but could not take the risk of an own implementation on a production system.
Profiling showed the bottleneck is this line:
HttpWebResponse r = (HttpWebResponse)request.GetResponse();
the poll method. Finally the solution was
Expect 100 ContinueNever heard of? :) What a surprise, turn itt off and give it a try. For further explanation search the web for it.
System.Net.ServicePointManager.Expect100Continue = false;or
request.ServicePoint.Expect100Continue = false;Good luck.
Labels:
.net,
100,
100continue,
C#,
continue,
delat,
dotnet,
expect,
getresponse,
httwebrequest,
kung-foo,
poll,
slow,
speedup,
webresponse
Wednesday, April 6, 2011
Lonely red piano story
Pics from ph-art
Sorry, pics are not displayed, need to figure out how to embed. but if you click, you will be redirected.
Update: Pics should be visible by now, i got it :)

Sorry, pics are not displayed, need to figure out how to embed. but if you click, you will be redirected.
Update: Pics should be visible by now, i got it :)
Subscribe to:
Posts (Atom)