Need advice about which tool to choose?Ask the StackShare community!

Amazon MQ

43
260
+ 1
11
Dramatiq

0
25
+ 1
0
Add tool
Advice on Amazon MQ and Dramatiq
MITHIRIDI PRASANTH
Software Engineer at LightMetrics · | 4 upvotes · 113.3K views
Needs advice
on
Amazon SQSAmazon SQS
and
Amazon MQAmazon MQ
in

I want to schedule a message. Amazon SQS provides a delay of 15 minutes, but I want it in some hours.

Example: Let's say a Message1 is consumed by a consumer A but somehow it failed inside the consumer. I would want to put it in a queue and retry after 4hrs. Can I do this in Amazon MQ? I have seen in some Amazon MQ videos saying scheduling messages can be done. But, I'm not sure how.

See more
Replies (1)
Andres Paredes
Lead Senior Software Engineer at InTouch Technology · | 1 upvotes · 87.3K views
Recommends
Amazon SQSAmazon SQS

Mithiridi, I believe you are talking about two different things. 1. If you need to process messages with delays of more 15m or at specific times, it's not a good idea to use queues, independently of tool SQM, Rabbit or Amazon MQ. you should considerer another approach using a scheduled job. 2. For dead queues and policy retries RabbitMQ, for example, doesn't support your use case. https://medium.com/@kiennguyen88/rabbitmq-delay-retry-schedule-with-dead-letter-exchange-31fb25a440fc I'm not sure if that is possible SNS/SQS support, they have a maximum delay for delivery (maxDelayTarget) in seconds but it's not clear the number. You can check this out: https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Amazon MQ
Pros of Dramatiq
  • 7
    Supports low IQ developers
  • 2
    Supports existing protocols (JMS, NMS, AMQP, STOMP, …)
  • 2
    Easy to migrate existing messaging service
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Amazon MQ
    Cons of Dramatiq
    • 3
      Slow AF
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      No Stats

      What is Amazon MQ?

      Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud.

      What is Dramatiq?

      A distributed task queueing library that is simple and has sane defaults for most SaaS workloads. It draws inspiration from GAE Push Queues and Sidekiq.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Amazon MQ?
      What companies use Dramatiq?
      See which teams inside your own company are using Amazon MQ or Dramatiq.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Amazon MQ?
      What tools integrate with Dramatiq?
        No integrations found
        What are some alternatives to Amazon MQ and Dramatiq?
        Amazon SQS
        Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.
        RabbitMQ
        RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
        IBM MQ
        It is a messaging middleware that simplifies and accelerates the integration of diverse applications and business data across multiple platforms. It offers proven, enterprise-grade messaging capabilities that skillfully and safely move information.
        ActiveMQ
        Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.
        Kafka
        Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
        See all alternatives