Skip to content

Conversation

abarker-launchdarkly
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

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.

@abarker-launchdarkly abarker-launchdarkly requested a review from a team as a code owner August 27, 2025 19:24
Copy link
Contributor

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 169118 bytes
Compressed size limit: 200000
Uncompressed size: 789399 bytes

Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 24988 bytes
Compressed size limit: 26000
Uncompressed size: 122411 bytes

Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 21721 bytes
Compressed size limit: 25000
Uncompressed size: 74698 bytes

Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 17636 bytes
Compressed size limit: 20000
Uncompressed size: 90259 bytes

@abarker-launchdarkly abarker-launchdarkly merged commit 76d614f into main Aug 29, 2025
27 checks passed
@abarker-launchdarkly abarker-launchdarkly deleted the abarker/sdk-1438/improve-serialization-overhead branch August 29, 2025 16:59
@github-actions github-actions bot mentioned this pull request Aug 29, 2025
abarker-launchdarkly pushed a commit that referenced this pull request Aug 29, 2025
🤖 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants