---
title: "Discussion on \"Why your Go SSE streams break on reconnect (and how to fix it with Redis)\" | Hashnode"
description: "Discussion on \"Why your Go SSE streams break on reconnect (and how to fix it with Redis)\". I spent a while debugging a problem that turned out to be embarrassingly common.\nWe had a Go service streaming LLM responses over SSE. Worked great — until it didn't. A user refreshes the page mid-generation, and the stream is gone. The backend is st..."
url: "https://hashnode.com/posts/why-your-go-sse-streams-break-on-reconnect-and-how-to-fix-it-with-redis/69de775a26826c8eb08ec2bf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why your Go SSE streams break on reconnect (and how to fix it with Redis)](https://gtoxlili.hashnode.dev/why-your-go-sse-streams-break-on-reconnect-and-how-to-fix-it-with-redis?utm_source=hashnode&utm_medium=feed)

I spent a while debugging a problem that turned out to be embarrassingly common. We had a Go service streaming LLM responses over SSE. Worked great — until it didn't. A user refreshes the page mid-generation, and the stream is gone. The backend is st...

Apr 14 · 3 min read · gtoxlili.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#go](https://hashnode.com/tag/go)
-   [#redis](https://hashnode.com/tag/redis)
-   [#server-sent-events](https://hashnode.com/tag/server-sent-events)

## Written by

[Gtio](https://hashnode.com/@gtoxlili)

@gtoxlili

  
[View profile](https://hashnode.com/@gtoxlili)

Life feeds on negative entropy

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
