karait 0.0.6

Оценок пока нет — будьте первым

Описание

karait is a ridiculously simple queuing system, with clients in various languages, built on top of MongoDB. The Problem? The company I work for (http://attachments.me) faced a conundrum. SQS was not quite cutting it for some of our messaging queue needs, but I wanted to avoid immediately pulling a new technology, .e.g., Redis or RabitMQ. Why? we don't make heavy use of a messaging queue, it's mainly for system-wide messaging, e.g., a global shutdown message before deploying new code. The solution? We already had MongoDB in the stack, and it was globally accessible. I'd heard of other people building queues on top of capped collections (http://www.captaincodeman.com/2011/05/28/simple-service-bus-message-queue-mongodb/) and thought I'd give this a shot. Enter Karait Karait is a simple queuing library built on top of capped collections in MongoDB. Currently it supports two types of messages: - Routed messages which you read and write with a specific routing key. - Broadcast messages which have no routing key. Like Memcached, an expire can be set on a message which will cause it to be removed from the queue after a set number of seconds. Built in Multiple Languages We're a multi-language shop (currently, Python and Ruby). Messaging queues are a great way to allow code written in multiple languages to interoperate. Keeping this in mind, I'm writing the Karait API in multiple languages (Ruby and Python so far) Requirements:

Информация о программе

  • Категория: Другое
  • ОС: Linux
  • Скачиваний: 0
Скачать