graphql-sse VS fastify-sse-v2

Compare graphql-sse vs fastify-sse-v2 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)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
graphql-sse fastify-sse-v2
4 1
370 89
- -
8.1 5.3
10 days ago about 1 month ago
TypeScript TypeScript
MIT License MIT License
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-sse-v2

Posts with mentions or reviews of fastify-sse-v2. We have used some of these posts to build our list of alternatives and similar projects.
  • Testing Async Generators
    1 project | dev.to | 3 Apr 2023
    On the server side, I used the Fastify SSE Plugin which supports using an event emitter to handle the firing of events.

What are some alternatives?

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

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

peko - Featherweight apps on the edge, built with Web Standards 🐣⚡

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

better-sse - ⬆ Dead simple, dependency-less, spec-compliant server-side events implementation for Node, written in TypeScript.

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

fastify-passport - Use passport strategies for authentication within a fastify application

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

fastify-autoroutes - fastest way to map directories to URLs in fastify

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

fastify-type-provider-typebox - A Type Provider for Typebox

fastify - Fast and low overhead web framework, for Node.js

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.