graphql-live-query
laravel-echo-server
graphql-live-query | laravel-echo-server | |
---|---|---|
7 | 7 | |
434 | 2,635 | |
- | - | |
2.0 | 0.0 | |
6 days ago | 9 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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-live-query
-
GraphQL Live Queries with live directive
There are even more implementations of live queries available by now. e.g. https://github.com/samsarahq/thunder (go) or https://github.com/n1ru4l/graphql-live-query (JavaScript).
- Websocket with socket.io or GraphQL subscriptions
-
The fastest object diff library in JavaScript
Please compare with modern competitor: json-patch-plus https://github.com/n1ru4l/graphql-live-query/blob/main/packa...
-
The Stack #3
Also note that subscriptions are not the only way to do real time communications in GraphQL. There are also things like Live Queries with great libraries like this from Laurin which you can use
-
Need guidance on apollo subscription fallback
Last but not least, I also created a GraphQL over Socket.io (https://github.com/n1ru4l/graphql-live-query/tree/main/packages/socket-io-graphql-server) transport. I am using this in two smaller apps with a maximum of 10 concurrent users and did not encounter any issues with stale data yet. Maybe this might be somethign you are looking for.
-
How to maintain subsription websockets with authentication, while retaining the stateless nature that an API should have?
So after having tried to answer you questions (instead of just telling you to not use WebSockets, although that wasn't your question 🙃). I also wanted to point you to a "new" way of handling real-time data with GraphQL that I am experimenting one. https://github.com/n1ru4l/graphql-live-query
-
What is the performance loss with GraphQL mutations vs sending data over websockets in real-time apps?
There will always be an overhead for sending the mutations via a Post http request vs sending them over the already established WebSocket connection. graphql-ws is not only a subscription transport but can be used for any GraphQL operation including queries and mutations. In real-time applications I tend to use my own GraphQL over Socket.io transport (https://github.com/n1ru4l/graphql-live-query/tree/main/packages/socket-io-graphql-server)
laravel-echo-server
-
Laravel Websockets vs Soketi vs Laravel Echo Server
Which of these do you use for your realtime Laravel applications? Soketi seems good but documentation doesn't seem that good. Laravel Websockets is mentioned in the official Laravel docs as a Pusher alternative,and Laravel Echo Server looks good but hasn't been updated for a year.
- Large scale Internet SSH brute force attacks seem to have stopped here
-
A Central Clock for Laravel Web Applications with ReactPHP
Events are broadcast using Laravel Echo Server, Laravel Websockets, or Soketi. Say on a channel time.
-
soketi reached 1.2k stars: your simple, fast, and resilient open-source WebSockets server.
Yeah, we've used https://github.com/tlaverdure/laravel-echo-server in production for years. But our version is modified, restarts in sync with the clients on a schedule, and needs...TLC.
- Need help with laravel websocket over https
-
Laravel Messenger Suite
As for the connection error, that is shown because no websocket server is setup and running for your app (also adding to my docs). By default, my messenger-ui NotifyManager.js uses laravel echo and the socketio library, along with laravel-echo-server for the socketio instance.
-
Laravel Octane with Swoole — Beyond the Basics
not websockets, but this looks like a great alternative option https://github.com/tlaverdure/laravel-echo-server
What are some alternatives?
graphiql - GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
laravel-websockets - Websockets for Laravel. Done right.
federation - 🌐 Build and scale a single data graph across multiple services with Apollo's federation gateway.
soketi - Next-gen, Pusher-compatible, open-source WebSockets server. Simple, fast, and resilient. 📣
apollo-server - 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
pws - Just another simple, fast, and resilient open-source WebSockets server. 📣 [Moved to: https://github.com/soketi/soketi]
mercurius - Implement GraphQL servers and gateways with Fastify
Socket.io - Realtime application framework (Node.JS server)
microdiff - A fast, zero dependency object and array comparison library. Significantly faster than most other deep comparison libraries and has full TypeScript support.
React-Discord-Clone - Discord Clone using React, Node, Express, Socket-IO and Mysql
graphql-multipart-request-spec - A spec for GraphQL multipart form requests (file uploads).
messenger-demo - Laravel messenger demo app using rtippin/messenger. Private and group threads with real-time messaging, reactions, attachments, calling, chat bots, and more!