[Question] Streams with Graphql Subscriptions / PubSub

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • juniper

    GraphQL server library for Rust

  • (example from the docs async-graphql https://async-graphql.github.io/async-graphql/en/subscription.html, juniper: https://github.com/graphql-rust/juniper/blob/master/docs/book/content/advanced/subscriptions.md)

  • vector

    A high-performance observability data pipeline.

  • Here’s a really simple example we use in Vector for streaming a ‘health’ check that returns the current server uptime: https://github.com/timberio/vector/blob/45da52c2c658893ba28044a807ecbaee1884d918/src/api/schema/health.rs#L31

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • async-stream

    Asynchronous streams for Rust using async & await notation

  • I might even start smaller than that, and try creating a basic function using async-stream's stream! macro that just yields an incrementing i64 and return that from within a subscription, to get an idea for how it works.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts