oDDsKooL

France

oddskool.net

Age: 32

part-time statistician, software engineer

May
16
awarded Supporter
May
16
awarded Autobiographer
May
16
reviewed No Action Needed Color Converter DSP ProcessOutput always returns MF_E_TRANSFORM_NEED_MORE_INPUT
May
2
awarded Autobiographer
Apr
14
awarded Yearling
Apr
14
awarded Yearling
Apr
5
comment Range Key Querying on composed keys
Nice, I've edited my answer to reflect this. However could you check my interpretation and elaborate if needed :)
Apr
5
revised Range Key Querying on composed keys
complete rewrite based on clearer explanations of the OP
Apr
4
awarded Critic
Mar
29
comment Range Key Querying on composed keys
Re-reading your question carefully, I don't get the meaning of the relationship between userId and otherUserId ? Is it recording sthg like userA interacted with userB at some point in time ? Could you describe in details the different kind of queries you want to do (e.g. retrieve all interaction in a given period, etc) ? That would help definitely :)
Mar
29
comment Range Key Querying on composed keys
Yep. Imagine your range keys ressemble "2013-03-27T00:00:00.511413+00:00::39782966765019163484612439806639178296". This way you can query with a BETWEEN("2013-01", "2013-02") condition to retrieve records matching a hash key and inserted between Jan and Feb 2013 (actually it's just a lexicographical sort condition).
Mar
29
comment boto dynamodb: is there a way to optimize batch writing?
How much Write Capacity did you provision ? you mean 400 QPS throughput I guess, so if your dynamodb capacity is < 400 you'll probably get throttled requests. Did you have any before ? There is a nice graph for this in the AWS console.
Mar
27
answered Range Key Querying on composed keys
Mar
27
answered Why using a common hash key with AWS DynamoDB is a bad thing?
Mar
27
comment boto dynamodb: is there a way to optimize batch writing?
try to call boto.utils.get_instance_metadata()['instance-id'] and compare with your boto.dynamodb.Layer2.layer1.region
Mar
27
answered boto dynamodb: is there a way to optimize batch writing?
Mar
15
answered Equality operator override problem
Mar
13
answered Why does AWS Dynamo SDK do not provide means to store objects larger than 64kb?
Feb
28
awarded Custodian
Feb
28
reviewed Reviewed PHP Linefeeds (\n) Not Working
1 2 3 4 5