> We have identified a potential root cause for error rates for the DynamoDB APIs in the US-EAST-1 Region. Based on our investigation, the issue appears to be related to DNS resolution of the DynamoDB API endpoint in US-EAST-1
> We have identified a potential root cause for error rates for the DynamoDB APIs in the US-EAST-1 Region. Based on our investigation, the issue appears to be related to DNS resolution of the DynamoDB API endpoint in US-EAST-1
>>> from pympler.asizeof import asizeof
>>> asizeof(Case(When(pk=1, then=1)))
3408
>>> from pympler.asizeof import asizeof
>>> asizeof(Case(When(pk=1, then=1)))
3408
>>> sys.getsizeof(Case(
... When(pk=1, then=1),
... output_field=IntegerField()
... ))
48
>>> sys.getsizeof("""CASE WHEN "your_table"."pk" = 1 THEN 1 ELSE 0 END""")
90
>>> sys.getsizeof(Case(
... When(pk=1, then=1),
... output_field=IntegerField()
... ))
48
>>> sys.getsizeof("""CASE WHEN "your_table"."pk" = 1 THEN 1 ELSE 0 END""")
90