Simple Message Queuing service HTTPSQS

Source: Internet
Author: User
Tags message queue

Httpsqs (HTTP? Simple? Queue? Service) is a lightweight, open source simple Message Queuing service based on the HTTP Get/post protocol that uses the B+tree Key/value database of the Tokyo Cabinet to make persistent storage of data.

The queue is also called the FIFO table (first-in-out), which is the element that enters the queue first, and is first removed from the queue. The part of the element is called "Team Head" and the end of the element is called "Team Tail". Message Queuing is a good way to handle data transfer and storage asynchronously, and when you frequently insert data into a database and submit data to a search engine frequently, you can take Message Queuing to insert asynchronously. In addition, the slow processing logic, the processing logic with concurrent quantity limit, can be processed in the background through message queue, such as FLV video conversion, sending SMS, sending e-mail, etc.

1, HTTPSQS has the following characteristics:

Very simple, based on the HTTP Get/post protocol. PHP, Java, Perl, Shell, Python, Ruby and other programming languages that support the HTTP protocol can be called.
Very fast, in-queue, out-of-queue faster than 10,000 times/second.
High concurrency, support tens of thousands of concurrent connections,c10k is not a problem.
Multi-queue support.
The maximum number of queues supported by a single queue is up to 1 billion.
Low memory consumption, massive data storage, storage of dozens of GB of data in less than 100MB of physical memory buffers.
You can easily modify the maximum number of queues for a single queue without stopping the service.
You can view the status of the queue in real time (into queue location, out queue location, number of unread queues, maximum number of queues).
You can view the contents of the specified queue ID (queue point), including the contents of the queue that are not out and out.
Multiple character set encoding is supported when viewing the contents of a queue.
The source code is not more than 700 lines, suitable for two times development.

Simple Message Queuing service HTTPSQS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.