You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/08/26 20:04:00 UTC

[jira] [Closed] (TINKERPOP-2397) Don't create the default Gyro serializer if the caller specifies a different one

     [ https://issues.apache.org/jira/browse/TINKERPOP-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Mallette closed TINKERPOP-2397.
---------------------------------------
    Fix Version/s: 3.4.9
                   3.5.0
         Assignee: Stephen Mallette
       Resolution: Done

Changed with CTR on https://github.com/apache/tinkerpop/commit/b042fc822b000555bff9cb8134ed00150e0b2b83

> Don't create the default Gyro serializer if the caller specifies a different one
> --------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2397
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2397
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver
>    Affects Versions: 3.4.7
>         Environment: Gremlin Java client at the 3.4.7 level running on Linux using AWS Lambda and also measured using a generic Linux machine.
>            Reporter: Kelvin R. Lawrence
>            Assignee: Stephen Mallette
>            Priority: Minor
>             Fix For: 3.5.0, 3.4.9
>
>
> In serverless environments such as AWS Lambda, the startup time of the Gremlin client becomes important. This is especially so when the serverless container is "cold".  I have been getting fairly regular end user feedback on this so we started doing some analysis. There are many contributing factors but one thing that we could (and I think should) fix is the fact that the Gremlin Java client always creates a Gyro (default) serializer even if a different one such as GraphBinary is specified. To create the unused Gyro serializer adds almost a full second to the cold start time for the Gremlin client on a typical serverless container host.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)