Skip to content

Performance of modifying scan/query request in search for beacons in table where beacons are not used. #1908

Open
@zbytt

Description

@zbytt

I'm using Java & DynamoDbClient with configured DynamoDbEncryptionInterceptor (created using software.amazon.cryptography.dbencryptionsdk.dynamodb.enhancedclient.CreateDynamoDbEncryptionInterceptorInput)
Based on the profiling result, roughly 15% of the processing time of scan request is spent on modyfingRequest,
specifically:

Image

In my case, call to DynamoDBFilterExpr_Compile.__default.TestBeaconize(DafnyMap, Option, Option, Option) does not make sense, as I did not configure/use any beacons at all.

This also applies to all queries - 15% overhead for every call is very expensive overall - especially when this specific feature is not even in use anywhere in our codebase.

Is there any way to opt-out of 'beaconization' of those requests for tables that do not support it?

(I did not check whether other calls are affected by this)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions