Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
tildes
tildes
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 194
    • Issues 194
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • Registry
    • Registry
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Tildes
  • tildestildes
  • Issues
  • #303

Closed
Open
Opened Oct 18, 2018 by Deimos@Deimorz
  • Report abuse
  • New issue
Report abuse New issue

Investigate replacing rabbitmq with Redis streams

With Redis 5.0, the stream data type is now available: https://redis.io/topics/streams-intro

I think it should be feasible to replace rabbitmq with streams, which would let me simplify the site infrastructure a bit more. This will take some investigation and work though - some of the pieces will include:

  • Write a new "bridge" service to replace pg-amqp-bridge that listens for postgresql NOTIFY and adds them to redis streams
  • Replace the PgsqlQueueConsumer class with one that reads from streams instead for the consumers to inherit from.

This article includes some postgresql/streams pieces that might be useful to reference: https://brandur.org/redis-streams

Related issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
2
Labels
code investigate
Assign labels
  • View project labels
Reference: tildes/tildes#303