Giter Site home page Giter Site logo

marvin-j97 / corinth Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1014 KB

๐Ÿ“ฌ Portable message queue written in Rust

Home Page: https://marvin-j97.github.io/corinth/api

Rust 71.18% Dockerfile 0.59% HTML 1.28% JavaScript 0.57% Vue 26.25% SCSS 0.13%
message queue producer-consumer nickel ava

corinth's Issues

Queue persistence (optional)

  • Store items
  • Load items
  • Store queue metadata
  • Apply stored queue metadata
  • Auto detect existing queues on startup
  • Unit tests

POST /queue/<id>/enqueue

Enqueue a new item to a queue

?deduplication_id (optional)

message gets internal ID no matter what

DELETE /queue/<id>/dequeue

Removes and returns the queue head.

?ack=true (optional): Automatically confirm reception, increments done counter
otherwise: add message to ack map, if reception is not confirmed, it will be added back to the queue

DELETE /queue/<id>/purge

Removes all items from a queue
Clear deduplication set & ack map
Rewrite files

?reset_stats=true

Management console

  • Create app folder with a Vue 3 Vite app.
  • Serve index.html, js & css files over server.
  • Create button component
  • Create input component
  • Queue details page
  • -> Link to DLQ if it exists
  • optionally poll for data changes
  • Purge queue button
  • Delete queue button
  • Edit queue (description, deduplication time & requeue time)
  • Create queue with DLQ
  • Create queue with description
  • Create queue with custom requeue, deduplication time, max size
  • In queue listing, optionally poll for data changes or refresh button
  • Show queue's disk & memory size in listing
  • Server info page (index page)
  • Enqueue message(s)
  • Dequeue message(s)
  • Peek queue head
  • Finishing touches/refactor

Auto-compact interval

  • Start interval for new queues
  • Start interval for queues loaded from disk
  • CORINTH_COMPACT_INTERVAL environment variable
  • Unit tests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.