graphql-sse VS fastify

Compare graphql-sse vs fastify and see what are their differences.

graphql-sse

Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client. (by enisdenjo)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
graphql-sse fastify
4 124
369 30,574
- 1.6%
8.1 9.4
4 days ago 4 days ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

graphql-sse

Posts with mentions or reviews of graphql-sse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-24.
  • Graph-ql subscriptions without Apollo
    3 projects | /r/graphql | 24 Jun 2022
    The GraphQL over SSE in its simplest form IMHO does not require an additional client library. Setting up a subscription in the browser is as simple as doing the following:
  • GraphQL Subscriptions: Why we use SSE/Fetch over Websockets
    2 projects | /r/graphql | 27 Apr 2022
    There is already a JavaScript implementation for server + client with support for multiplexing from the same maintainer of graphql-ws: graphql-sse
  • how it subscription work on the apollo server?
    3 projects | /r/graphql | 26 Apr 2022
    Actually WebSocket is not the only protocol for executing GraphQL subscriptions. There is also a graphql-over-sse protocol, which is much more lightweight, and uses Server Sent Events. A popular implementation of it is the graphql-sse library, which is maintained by the same person as graphql-ws. The setup and API of both libraries is pretty similar.
  • GraphQL over SSE (Server-Sent Events)
    5 projects | dev.to | 31 Aug 2021
    graphql-sse is a reference implementation of the GraphQL over Server-Sent Events Protocol aiming to become a part of the GraphQL over HTTP standard.

fastify

Posts with mentions or reviews of fastify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-27.

What are some alternatives?

When comparing graphql-sse and fastify you can also consider the following projects:

graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.

Next.js - The React Framework

aws-lambda-graphql - Use AWS Lambda + AWS API Gateway v2 for GraphQL subscriptions over WebSocket and AWS API Gateway v1 for HTTP

Express - Fast, unopinionated, minimalist web framework for node.

graphql-over-http - Working draft of "GraphQL over HTTP" specification

Koa - Expressive middleware for node.js using ES2017 async functions

fetch-event-source - A better API for making Event Source requests, with all the features of fetch()

Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

Hapi - The Simple, Secure Framework Developers Trust

graphql-yoga - 🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.

AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.