-
Notifications
You must be signed in to change notification settings - Fork 30
fix: Improve serialization/deserialization overhead with EdgeFeatureStore #914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Improve serialization/deserialization overhead with EdgeFeatureStore #914
Conversation
@launchdarkly/browser size report |
@launchdarkly/js-sdk-common size report |
@launchdarkly/js-client-sdk size report |
@launchdarkly/js-client-sdk-common size report |
🤖 I have created a release *beep* *boop* --- <details><summary>akamai-edgeworker-sdk-common: 2.0.10</summary> ## [2.0.10](akamai-edgeworker-sdk-common-v2.0.9...akamai-edgeworker-sdk-common-v2.0.10) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from ^2.16.1 to ^2.16.2 </details> <details><summary>akamai-server-base-sdk: 3.0.10</summary> ## [3.0.10](akamai-server-base-sdk-v3.0.9...akamai-server-base-sdk-v3.0.10) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.9 to ^2.0.10 * @launchdarkly/js-server-sdk-common bumped from ^2.16.1 to ^2.16.2 </details> <details><summary>akamai-server-edgekv-sdk: 1.4.12</summary> ## [1.4.12](akamai-server-edgekv-sdk-v1.4.11...akamai-server-edgekv-sdk-v1.4.12) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.9 to ^2.0.10 * @launchdarkly/js-server-sdk-common bumped from ^2.16.1 to ^2.16.2 </details> <details><summary>cloudflare-server-sdk: 2.7.10</summary> ## [2.7.10](cloudflare-server-sdk-v2.7.9...cloudflare-server-sdk-v2.7.10) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.8 to 2.6.9 </details> <details><summary>fastly-server-sdk: 0.2.1</summary> ## [0.2.1](fastly-server-sdk-v0.2.0...fastly-server-sdk-v0.2.1) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.16.1 to 2.16.2 </details> <details><summary>js-server-sdk-common: 2.16.2</summary> ## [2.16.2](js-server-sdk-common-v2.16.1...js-server-sdk-common-v2.16.2) (2025-08-29) ### Bug Fixes * Improve serialization/deserialization overhead with EdgeFeatureStore ([#914](#914)) ([76d614f](76d614f)) </details> <details><summary>js-server-sdk-common-edge: 2.6.9</summary> ## [2.6.9](js-server-sdk-common-edge-v2.6.8...js-server-sdk-common-edge-v2.6.9) (2025-08-29) ### Bug Fixes * Improve serialization/deserialization overhead with EdgeFeatureStore ([#914](#914)) ([76d614f](76d614f)) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.16.1 to 2.16.2 </details> <details><summary>node-server-sdk: 9.10.2</summary> ## [9.10.2](node-server-sdk-v9.10.1...node-server-sdk-v9.10.2) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.16.1 to 2.16.2 </details> <details><summary>node-server-sdk-dynamodb: 6.2.14</summary> ## [6.2.14](node-server-sdk-dynamodb-v6.2.13...node-server-sdk-dynamodb-v6.2.14) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.1 to 9.10.2 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.2 </details> <details><summary>node-server-sdk-otel: 1.3.2</summary> ## [1.3.2](node-server-sdk-otel-v1.3.1...node-server-sdk-otel-v1.3.2) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.1 to 9.10.2 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.2 </details> <details><summary>node-server-sdk-redis: 4.2.14</summary> ## [4.2.14](node-server-sdk-redis-v4.2.13...node-server-sdk-redis-v4.2.14) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.1 to 9.10.2 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.2 </details> <details><summary>server-sdk-ai: 0.11.3</summary> ## [0.11.3](server-sdk-ai-v0.11.2...server-sdk-ai-v0.11.3) (2025-08-29) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/js-server-sdk-common bumped from 2.16.1 to 2.16.2 * peerDependencies * @launchdarkly/js-server-sdk-common bumped from 2.x to 2.16.2 </details> <details><summary>vercel-server-sdk: 1.3.33</summary> ## [1.3.33](vercel-server-sdk-v1.3.32...vercel-server-sdk-v1.3.33) (2025-08-29) ### Bug Fixes * Improve serialization/deserialization overhead with EdgeFeatureStore ([#914](#914)) ([76d614f](76d614f)) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.8 to 2.6.9 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Requirements
Related issues
#907
Describe the solution you've provided
Vercel's edge config already returns the JSON.parsed payload but it was being JSON.stringified and JSON.parsed an additional time which was adding overhead. EdgeFeatureStore has been improved to be able to handle either stringified or parsed data so that this extra serialization/deserialization step doesn't need to occur.