{"id":16377330,"url":"https://github.com/electroid/serverless-compare","last_synced_at":"2025-03-23T03:32:50.877Z","repository":{"id":85986689,"uuid":"282328326","full_name":"Electroid/serverless-compare","owner":"Electroid","description":"An example comparison of various serverless providers using a simple GraphQL server","archived":false,"fork":false,"pushed_at":"2020-07-24T23:02:54.000Z","size":531,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:14:27.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Electroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-24T22:38:15.000Z","updated_at":"2022-08-20T09:57:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"760472e3-b726-4e45-9c96-9acfa62358b6","html_url":"https://github.com/Electroid/serverless-compare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electroid%2Fserverless-compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electroid%2Fserverless-compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electroid%2Fserverless-compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electroid%2Fserverless-compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Electroid","download_url":"https://codeload.github.com/Electroid/serverless-compare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052638,"owners_count":20553162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T03:42:55.761Z","updated_at":"2025-03-23T03:32:50.857Z","avatar_url":"https://github.com/Electroid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Workers vs. the competitiors\n====================\nA hello-world GraphQL function deployed on Cloudflare Workers, AWS Lambda, Azure Functions, and Google Cloud Functions.\n\n```js\nconst { gql, ApolloServer } = require('apollo-server-${platform}')\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`\n\nconst resolvers = {\n  Query: {\n    hello: () =\u003e 'Hello world!',\n  },\n}\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n  introspection: true,\n})\n\n// Platform-specific handler\n// e.g. module.exports.graphql = server.createHandler()\n```\n\nResults\n=======\n\nResults are collected from each provider's logs, execution times are based on what the platform reports.\n\nReproduce\n=========\n\n1. Run `serverless deploy` (or `wrangler publish` for Cloudflare Workers)\n2. Run `artillery run benchmark.yml` to run various benchmarking tests\n3. Go to the provider's logging system and export the execution times (this will be different for every platform)\n4. Compare the results!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectroid%2Fserverless-compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectroid%2Fserverless-compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectroid%2Fserverless-compare/lists"}