I started out using DataTables - POCO objects via Linq2Sql yielded a 6x increase Use DataContract Serializer instead of XMLSerializer.This helps both throughput and the time it takes to open and close connections Each item represents, a significant increase in latency or scalability from the prior - and although I have internal measurement numbers, I'm not comfortable publishing them as the size of the data increased, and the testing approach changed. Some are fairly obvious, others took some time to discover. These are listed in the order they were implemented. Initially performance was abysmal and there was talk of ditching WCF entirely ( and as the one pushing WCF technology on the project this didn't seem like a career enhancing change ) The out of the box WCF service had no ability to support this scenario, but with some effort I was able to squeeze orders of magnitude performance increases out of the service and hit the performance goal. I had a WCF service where I wanted to be able to support over a hundred concurrent users, and while most of the service methods had small payloads which returned quickly, the startup sequence needed to pull down 200,000 records.
0 Comments
Leave a Reply. |