subscriptions-transport-ws
async-graphql
Our great sponsors
subscriptions-transport-ws | async-graphql | |
---|---|---|
11 | 19 | |
1,515 | 3,213 | |
- | 1.5% | |
6.2 | 9.2 | |
about 2 years ago | 3 days ago | |
TypeScript | Rust | |
MIT License | Apache License 2.0 |
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.
subscriptions-transport-ws
-
Fixing a 3 second lockup in our app by switching from Apollo Client to URQL
Additionally, we created a bit more work for ourselves by upgrading the library we use for GraphQL subscriptions over web sockets, moving from the seemingly unmaintained subscriptions-transport-ws to the active graphql-ws project (which is URLQ’s library of choice for subscriptions).
- Is this a graphql thing or JSON thing?
-
GraphQL Subscriptions and Mikro-Orm in 2021
Okay but seriously, if you've fallen down the rabbit hole of Apollo docs pointing you towards one library (subscription-transport-ws) which then points you to another (graphql-ws) , and so on and so forth, then hopefully this helps pull you out.
-
Looking for GraphQL server with ws-transport ability
I'm looking for graphql server that can do queries and mutations over websocket, like subscriptions-transport-ws. Juniper and async-graphql both looks promising and async-graphql at least uses wording Subscriptions (WebSocket transport) in features but i couldn't find much more or any examples about that from the docs or repo.
-
three ways to deploy a serverless graphQL API
graphql-yoga is built on other packages that provide functionality required for building a GraphQL server such as web server frameworks like express and apollo-server, GraphQL subscriptions with graphql-subscriptions and subscriptions-transport-ws, GraphQL engine & schema helpers including graphql.js and graphql-tools, and an interactive GraphQL IDE with graphql-playground.
-
How does a client know if the server managing its subscription goes offline? (Multiple instances)
The javascript implementation is at subscriptions-transport-ws
-
GraphQL over WebSockets
Okay, so, how do I use WebSockets to add support for the GraphQL subscription operation? Doing a basic Google search, you’d be faced with a single solution, namely subscriptions-transport-ws. Looking through the repository, checking recent comments, reading through the issues and open PRs - might have you notice the abundance of bugs and their security implications. A summary can be found here.
-
The Stack #3
While subscription-transport-ws from Apollo initially started off this journey, it is not actively maintained and GraphQL WS by Denis definitely is a great replacement to that having no external dependencies and having the ability to work across many frameworks.
-
I need a little help implementing user online status tracking with Apollo/GraphQL.
apollo-server plans to remove WebSocket support, which is currenlty done over the deprecated graphql-ws protocol (as implemented by the unmaintained subscription-transport-ws module by apollo), in the next major version.
-
GraphQL Query and Mutation over Websockets
https://github.com/apollographql/subscriptions-transport-ws, which is used by Apollo Server does support executing queries and mutations actually but you are better off moving away it anyway (check the text in their README!)
async-graphql
-
Dynarust - no excuse for not using rust in AWS now - a DynamoDB ODM library that uses serde_json for mapping native rust structs to Dynamo items.
I have found that the combination of [cargo lambda](https://github.com/cargo-lambda/cargo-lambda), [async graphql](https://github.com/async-graphql/async-graphql) and DynamoDB is an amazing combination for a backend stack, really cheap as lambdas are pretty minimal and insanely fast with the Rust runtime.
-
New Rustacean Looking For Guidance
async-graphql
-
Real World Rust Backend For Web APIs (GraphQL / REST)
https://github.com/async-graphql/async-graphql maybe you need look this.
-
How much overhead does nodejs graphql have?...
If you need more performance, don't use Node.js. async-graphql (Rust) or graphql-crystal (Crystal) will run circles around any Node.js server.
- Async-graphql already fully supports dynamic schema
-
Anyone use Rust to build SaaS web apps professionally?
Who's using Async-graphql in production? · Issue #408 · async-graphql/async-graphql
- GraphQL is quickly moving to one of my least favorite technologies
-
Create a GraphQL-powered project management endpoint in Rust and MongoDB - Rocket version
Async-GraphQL Rocket integration
-
Create a GraphQL-powered project management endpoint in Rust and MongoDB - Actix web version
This post will discuss building a project management application with Rust using the Async-graphql library and MongoDB. At the end of this tutorial, we will learn how to create a GraphQL endpoint that supports reading and manipulating project management data and persisting our data using MongoDB. GitHub repository can be found here.
- Building a type-safe Fullstack Application with GraphQL codegen
What are some alternatives?
graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
juniper - GraphQL server library for Rust
uWebSockets.js - μWebSockets for Node.js back-ends :metal:
rust-graphql-actix-juniper-diesel-example - Rust, Actix, Juniper and Diesel example project
mercurius - Implement GraphQL servers and gateways with Fastify
poem - A full-featured and easy-to-use web framework with the Rust programming language.
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
graphql-laravel - Laravel wrapper for Facebook's GraphQL
fastify-websocket - basic websocket support for fastify
Tide - Fast and friendly HTTP server framework for async Rust
altair - ✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
fast_image_resize - Rust library for fast image resizing with using of SIMD instructions.