Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

HBase-based highly ordered queue operation method and device

A queue and operation request technology, applied in the computer field, can solve problems such as data loss, master node downtime, and data inconsistency, and achieve the effects of improving read and write performance, strong horizontal scalability, and high reliability

Active Publication Date: 2017-11-21
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, Redis and Kafka can meet small-scale requirements to a certain extent, but cannot meet larger-scale and higher-reliability scenarios
First of all, from the perspective of Redis, it is a memory-based database. For mass storage, the cost will be quite high. Its cluster mode is master-slave, and there is a risk of data loss. For example, the master node is down during master-slave replication. , or both master and slave nodes are down, data will be inconsistent and lost
Secondly, from the perspective of Kafka, there is a performance bottleneck problem. Because Kafka stores topic and other information in zookeeper, when the number of topics reaches a certain scale, that is, the number of znodes is large, the limitation of zookeeper will cause Kafka performance to drop sharply
It can be seen that the current public cloud IoT service providers cannot support massive access scale, nor can they achieve high availability and high reliability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • HBase-based highly ordered queue operation method and device
  • HBase-based highly ordered queue operation method and device
  • HBase-based highly ordered queue operation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

[0075] The term "computer equipment" in this context, also referred to as "computer", refers to an intelligent electronic device that can perform predetermined processing procedures such as numerical calculations and / or logic calculations by running predetermined programs or instructions, which may include a processor and The memory is realized by the processor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an HBase-based highly ordered queue operation method and device. The method includes acquiring queue operation requests sent by a plurality of client terminals, wherein queues targeted by the queue operation request are disposed in an HBase distributive database; performing competition queue lock on the queue operation requests if the plurality of the queue operation requests target at one queue at the same time; performing queue operation corresponding to the queue operation requests with lock success on the queue; after the queue operation is implemented, removing the queue lock and performing the above steps again until the execution of the queue operation requests are implemented so as to realize HBase-based highly ordered queue operation. Compared with the prior art, the invention has advantages of high performance, high orderliness, high practicability, and being capable of supporting mass equipment and insusceptible of data loss and the like, and can be applied to cloud IoT access service, and is good in performance, high in reliability, high in horizontal expandability and meets requirements for access of mass users and equipment.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a technology of HBase-based strong ordered queue operation. Background technique [0002] On the public cloud, IoT services are often multi-tenant, each user has a different device, and each subscribing device has its own message queue. As the number of users and devices increases, the number of queues and the size of queue data will also increase dramatically, often becoming a performance bottleneck. [0003] Most of the existing distributed queue solutions are implemented with Redis or Kafka. First of all, from a distributed perspective, both support cluster mode and can form a distributed system. Secondly, from the perspective of queues, Redis supports queue structures, and Kafka's topics can be used as queues to meet the orderly writing of messages. Finally, from the perspective of multi-tenancy, logical division can be made. For example, user+client can be used t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/24H04L12/863G06F17/30G06F9/54
CPCH04L41/069H04L47/50H04L67/10H04L67/12G06F9/546G06F16/25G06F2209/548H04L67/568
Inventor 李雨明
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products