# Websockets in ApolloGateway... how to

**URL:** <https://community.apollographql.com/t/websockets-in-apollogateway-how-to/3242>\
**Category:** General\
**Tags:** server, federation\
**Created:** [April 7, 2022, 5:36pm UTC](https://community.apollographql.com/t/websockets-in-apollogateway-how-to/3242 "2022-04-07T17:36:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![redux](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/redux/32/2157_2.png) [@redux](https://community.apollographql.com/u/redux)\
**Post date:** [April 7, 2022, 5:36pm UTC](https://community.apollographql.com/t/websockets-in-apollogateway-how-to/3242/1 "2022-04-07T17:36:32Z")

</div>

I noticed that websocket support is not realized in federation support, why not? The idea of centralizing a websocket connection makes a lot of sense… if we are to imagine a fully realized real-time API with a gateway pointed to subgraphs, each service could implement their own redis pubsub for instance and we could have a centralized socket connection to the client. I noticed upon this library, apollo-federation-tools, but while the project has had updates the npm module is completely out of date…  
Will there be websocket support in apollo-gateway and apollo-router at some point? How popular is this feature? I would imagine it’s a very popular one. In case you are struggling with federation tools, see if this helps: [apollo-gateway-subscription - npm](https://www.npmjs.com/package/apollo-gateway-subscription)

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/system/32/5529_2.png) [@system](https://community.apollographql.com/u/system)\
**Post date:** [February 7, 2025, 12:09am UTC](https://community.apollographql.com/t/websockets-in-apollogateway-how-to/3242/2 "2025-02-07T00:09:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/system/32/5529_2.png) [@system](https://community.apollographql.com/u/system)\
**Post date:** [February 10, 2025, 8:42pm UTC](https://community.apollographql.com/t/websockets-in-apollogateway-how-to/3242/3 "2025-02-10T20:42:59Z")

</div>


