Skip to content
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

test: cloudflare key value store for persisted documents in Hive Cloud #5002

Closed
wants to merge 11 commits into from

Conversation

n1ru4l
Copy link
Collaborator

@n1ru4l n1ru4l commented Jun 20, 2024

Background

R2 is too slow for the initial (uncached) request.

Description

Let's see if Cloudflare KV is a good alternative for cloud users.

Checklist

  • Input validation
  • Output encoding
  • Authentication management
  • Session management
  • Access control
  • Cryptographic practices
  • Error handling and logging
  • Data protection
  • Communication security
  • System configuration
  • Database security
  • File management
  • Memory management
  • Testing

Copy link

changeset-bot bot commented Jun 20, 2024

⚠️ No Changeset found

Latest commit: 7c0d60c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Jun 20, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-hive/cli 0.39.0-alpha-20240620133726-7c0d60c6b5830aafc40927aa15a1b1f01cbe3137 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jun 20, 2024

🐋 This PR was built and pushed to the following Docker images (tag: 7c0d60c6b5830aafc40927aa15a1b1f01cbe3137):

Docker Bake metadata
{
"app": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/8lpi69ianerbg8eyxl1slou9e",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:fa4245efd2c8ff5511194124db83b3e702382fbf552997a67777717f4e3e40ae",
    "size": 685
  },
  "containerimage.digest": "sha256:fa4245efd2c8ff5511194124db83b3e702382fbf552997a67777717f4e3e40ae",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/app:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/app:test_pd_key_value"
},
"composition-federation-2": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/phw2ckbktq4b4n8pjshak2va8",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:aeec5526e20193746892ffae7dd6a16e7e92a9c4b272216e2dbf304cefabcc3d",
    "size": 685
  },
  "containerimage.digest": "sha256:aeec5526e20193746892ffae7dd6a16e7e92a9c4b272216e2dbf304cefabcc3d",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:test_pd_key_value"
},
"emails": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/qpqc1andajzm82opo7v8sez5o",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:aacc06fb7a709d9936a75480c44a8d6778195ff661a868935162082b0b11339c",
    "size": 685
  },
  "containerimage.digest": "sha256:aacc06fb7a709d9936a75480c44a8d6778195ff661a868935162082b0b11339c",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/emails:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/emails:test_pd_key_value"
},
"policy": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/15eeumqrpevztxzs9poh9h5s9",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:5d2941bbc2e122f149608d91c2d90f94d04f9b33f80d95e75991a373de62d6aa",
    "size": 685
  },
  "containerimage.digest": "sha256:5d2941bbc2e122f149608d91c2d90f94d04f9b33f80d95e75991a373de62d6aa",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/policy:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/policy:test_pd_key_value"
},
"rate-limit": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/kvsx12fkv1ehvxk9gp4demuc4",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:66d9d5fe59f2039e7d384c5809e915c0495baff4a6aecbf5f54e48bc5748f764",
    "size": 685
  },
  "containerimage.digest": "sha256:66d9d5fe59f2039e7d384c5809e915c0495baff4a6aecbf5f54e48bc5748f764",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/rate-limit:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/rate-limit:test_pd_key_value"
},
"schema": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/4pfgjhtsshe4f0rdi1f4qve80",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:eb54f4e945dba3c10eb7301bcfd7dd07a58e8770cf2f5129a7644f8242346b17",
    "size": 685
  },
  "containerimage.digest": "sha256:eb54f4e945dba3c10eb7301bcfd7dd07a58e8770cf2f5129a7644f8242346b17",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/schema:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/schema:test_pd_key_value"
},
"server": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/40z23pbhhm2ctcc7cnwow0sbh",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:0884a083b87d6b3fe311de6bcd654ad0828e07448f7c6e498231c713bb34725d",
    "size": 685
  },
  "containerimage.digest": "sha256:0884a083b87d6b3fe311de6bcd654ad0828e07448f7c6e498231c713bb34725d",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/server:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/server:test_pd_key_value"
},
"storage": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/nyizw1v0eztjo1xencsleyf5c",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:5c931922c07ed497fb293547b8fdcfe3ddc7449d3f20119768c840cff03a6582",
    "size": 685
  },
  "containerimage.digest": "sha256:5c931922c07ed497fb293547b8fdcfe3ddc7449d3f20119768c840cff03a6582",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/storage:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/storage:test_pd_key_value"
},
"stripe-billing": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/mc7fiw87fg7grb1bhy96nd3uj",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:71c1dcf885a77f6509c7425ce7095443eb294d2c630d0fad34e62666009a3265",
    "size": 685
  },
  "containerimage.digest": "sha256:71c1dcf885a77f6509c7425ce7095443eb294d2c630d0fad34e62666009a3265",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/stripe-billing:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/stripe-billing:test_pd_key_value"
},
"tokens": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/n7i36iasqd8aja28fajebh25a",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:3360d54c0f7bc9d2827e2769a02ad2caffee9dc7d838004ab7cfcb3117cc31a4",
    "size": 685
  },
  "containerimage.digest": "sha256:3360d54c0f7bc9d2827e2769a02ad2caffee9dc7d838004ab7cfcb3117cc31a4",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/tokens:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/tokens:test_pd_key_value"
},
"usage": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/ouwn3g6xkcuawk4zjcogtb4ch",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:c69ed3ab65f8bd90d35cd58122196d95496e105b6e07c4b969d5e14271b89527",
    "size": 685
  },
  "containerimage.digest": "sha256:c69ed3ab65f8bd90d35cd58122196d95496e105b6e07c4b969d5e14271b89527",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/usage:test_pd_key_value"
},
"usage-estimator": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/ipb5zsv87p5hmr1yu3etocxjl",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:2337da84a72af35915c7a93ef248f71bc7bb7a0802249a074c0fd49a76de1e94",
    "size": 685
  },
  "containerimage.digest": "sha256:2337da84a72af35915c7a93ef248f71bc7bb7a0802249a074c0fd49a76de1e94",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-estimator:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/usage-estimator:test_pd_key_value"
},
"usage-ingestor": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/6rgv6vv7uxsq87433ep0aace7",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:5842451fbe74fdef630c4a85c888b588a6b5790349bc11b7066190b3ca7ee393",
    "size": 685
  },
  "containerimage.digest": "sha256:5842451fbe74fdef630c4a85c888b588a6b5790349bc11b7066190b3ca7ee393",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:test_pd_key_value"
},
"webhooks": {
  "buildx.build.ref": "builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa/builder-637ea7b3-9347-4ffb-a6a5-993c6cffebaa0/qqjg1h4mw8qaz8jqouo8j0u1k",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:3dc3bd54d3d4a70b7efe4f29dac54b8d03ead1fc06d1203f5e18695d5605d49b",
    "size": 685
  },
  "containerimage.digest": "sha256:3dc3bd54d3d4a70b7efe4f29dac54b8d03ead1fc06d1203f5e18695d5605d49b",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/webhooks:7c0d60c6b5830aafc40927aa15a1b1f01cbe3137,ghcr.io/kamilkisiela/graphql-hive/webhooks:test_pd_key_value"
}
}

@n1ru4l n1ru4l force-pushed the test-pd-key-value branch 2 times, most recently from 8a69f91 to 7e76bb3 Compare June 20, 2024 09:16
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 09:21 Failure
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 09:31 Failure
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 09:43 Failure
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 09:58 Failure
@theguild-bot theguild-bot temporarily deployed to development June 20, 2024 10:35 Inactive
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 10:52 Failure
@theguild-bot theguild-bot temporarily deployed to development June 20, 2024 10:56 Inactive
@theguild-bot theguild-bot had a problem deploying to development June 20, 2024 12:32 Failure
@theguild-bot theguild-bot temporarily deployed to development June 20, 2024 12:41 Inactive
@n1ru4l n1ru4l force-pushed the feat-app-deployments branch 4 times, most recently from 762fd6a to ddc5580 Compare June 27, 2024 13:13
@n1ru4l n1ru4l force-pushed the feat-app-deployments branch 4 times, most recently from c963946 to 2f87dda Compare July 10, 2024 14:08
@n1ru4l
Copy link
Collaborator Author

n1ru4l commented Jul 11, 2024

closing as r2 is good enough

@n1ru4l n1ru4l closed this Jul 11, 2024
@n1ru4l n1ru4l deleted the test-pd-key-value branch July 11, 2024 07:48
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.

None yet

2 participants