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

Global flow control method and device in cluster environment

An environment and cluster technology, applied in the field of big data, can solve problems such as high database pressure, loss of sales, and large increase in visits, and achieve the effect of reducing transformation costs and workload

Active Publication Date: 2019-07-23
SUNING COM CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, operators of e-commerce platforms mostly adopt a single jvm (Java Virtual Machine, virtual machine) flow control solution, and the granularity and flexibility of flow control are difficult to further improve. Improvement, when there are many promotional activities, there will be a large increase in the number of visits to some popular products, which will take up more resources and cause other products to be unable to be purchased normally, or the sudden increase in the size of the cluster machine will not match the carrying capacity of the database. Leading to problems such as excessive pressure on the database
[0004] These problems were not prominent a few years ago, but the scale of current promotional activities is getting bigger and bigger, and the business form is becoming more and more complicated. Once these problems appear, It often causes a huge loss of sales every second, so how to further optimize the global flow control scheme has become a research direction in the field of e-commerce

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
  • Global flow control method and device in cluster environment
  • Global flow control method and device in cluster environment
  • Global flow control method and device in cluster environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Hereinafter, embodiments of the present invention will be described in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refe...

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 embodiment of the invention discloses a global flow control method and device in a cluster environment, relates to the technical field of big data, and can realize a flow control scheme without invading original service codes. The method comprises: after a service request is received, determmning a service method pointed by the service request; detecting whether an annotation associated with the business method exists or not; if the associated annotation exists, detecting whether the value of a counter exceeds a threshold value or not; and if the value of the counter does not exceed the threshold value, executing the service method and adding 1 to the value of the counter, wherein the value of the counter is stored in redis, the redis belongs to a service cluster, the service cluster is used for executing at least two service methods, and when the execution of the service methods is finished, the value of the counter is subtracted by 1. The method and device are suitable for globalflow control of the distributed system.

Description

technical field [0001] The present invention relates to the technical field of big data, in particular to a global flow control method and device in a cluster environment. Background technique [0002] With the rapid development of the e-commerce industry, the business volume of many online usage scenarios has gradually increased, which has promoted the progress of big data technology in disguise. [0003] At present, operators of e-commerce platforms mostly use a single jvm (Java Virtual Machine, virtual machine) flow control solution. It is difficult to further improve the granularity and flexibility of flow control. When encountering many promotional activities, some The large increase in the number of visits to popular products takes up more resources and other products cannot be purchased normally, or there are problems such as excessive pressure on the database due to the sudden increase in the size of the cluster machine and the mismatch with the database carrying cap...

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): H04L12/26H04L12/801H04L29/08
CPCH04L43/16H04L43/08H04L47/10H04L67/568
Inventor 刘发亮叶国华司孝波姜甲东
Owner SUNING COM 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