Skip to content

Query about SSE Refresh Behavior #74

@HiJohnnyLee

Description

@HiJohnnyLee

I registered an account and used the online website, and the experience was excellent overall.

I have a question:

When the web page is refreshed, how is a new SSE (Server-Sent Events) request initiated, and how are historical records delivered to the client after the refresh?

Beyond the above execution logic, I would also like to ask for architecture design suggestions for the underlying event bus in this scenario. For example:

  • What are the best practices for decoupling the SSE request lifecycle from the event bus?
  • How to design the event bus to ensure the consistency and completeness of historical records during page refresh?
  • Are there any common architecture patterns (e.g., event sourcing, CQRS) that are suitable for this scenario to optimize the delivery of historical data?

Looking forward to your professional insights and recommendations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions