简体   繁体   中英

Is there an in-memory SQS?

我正在寻找模仿SQS的REST API的东西,可用于强大/非片状,小型,逻辑/单元测试。

您还可以尝试使用ElasticMQ, https://github.com/adamw/elasticmq ,它实现了SQS接口,并具有内存和数据库支持的存储。

JMS and MSMQ both provide similar queueing infrastructure. Depending on your platform, you could use either of those technologies. Both are robust. MSMQ can provide an in-memory (non-transactional) queue in addition to a disk-backed, transactional queue.

RabbitMQ is another popular choice that should provide a superset of the SQS functionality. I don't have direct experience with it, however.

It should be fairly straightforward to create a wrapper that mimics the SQS interface.

UPDATE

ActiveMQ provides a REST API. However, the API is different than that of SQS.

You can either use that and wrap the API differences, or you can create a REST API of your own that exactly mirrors the SQS API and wraps any MQ system you wish.

http://activemq.apache.org/restful-queue.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM