Yan Cui's blog articles

0
comment
on 11/23/2012 1:29 PM
NOTE: if you’re unfamiliar with how PostSharp works under the hood, I highly recommend that you check out Dustin Davis’ excellent PostSharp Principles series of blog posts here. The Problem The new async/await keywords in C# are pretty awesome, and makes life an awful lot easier when writing asynchronous and non-blocking IO code. However, for [...]
>> Read the full article
.
0
comment
on 11/19/2012 5:15 PM
Just a quick note to say that I have made some minor changes to DynamoDb.SQL to: Add support for specifying the ScanIndexForward option(see DynamoDB API doc here for detail) in a Query operation using an optional “ORDER” clause Fixed a bug where when querying using the extension methods on the DynamoDBContext class, the LIMIT clause [...]
>> Read the full article
.
0
comment
on 11/19/2012 3:37 PM
Just a quick note to say that I have updated the JSON serializers benchmark to use the latest Nuget versions of ServiceStack.Text, Json.Net and JsonFX. I have also included the JSON and BSON serializers from the MongoDB C# Driver in the test, and since BSON is a binary format I have included protobuf-net as a [...]
>> Read the full article
.
0
comment
on 11/13/2012 4:24 PM
Amazon’s DynamoDB is a wonderful product – scalable, durable, fast, with predictable latency numbers unlike SimpleDB. However, the only gripe I have with DynamoDB is that there is no built-in support for a query language, which makes life rather difficult when you want to perform a query or a scan against the data you have [...]
>> Read the full article
.
0
comment
on 10/25/2012 3:29 PM
In general, when you see async void in your code it’s bad news, because: you can’t wait for its completion (as mentioned in this post already) any unhandled exceptions will terminate your process (ouch!)   Suppose you have a timer event that fires every once in a while and you want to do some asynchronous [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper