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

Micro-service and big data scheduling method

A scheduling method and micro-service technology, applied in the direction of electronic digital data processing, digital data information retrieval, special data processing applications, etc., can solve the problems of high error rate, low execution efficiency, unfavorable unified management, etc., to improve data extraction Unified speed, execution method and method, and the effect of improving writing efficiency

Pending Publication Date: 2020-03-31
湖北九州云仓科技发展有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this method are: 1. Using manual writing commands to export data, the error rate of command writing is relatively high; 2. The calculation program is also manually executing commands, and the error rate is relatively high; 3. Since it is all done manually, it is disadvantageous due to the need to perform calculations regularly Task; 4. SparkSQL is a special program, and each task needs to be written once, which is not conducive to the situation of changing task requirements, and the program flexibility is not high; 5. All work is done manually, and there are many ways to execute commands , unfavorable by unified management; 6. All commands are operated by the command line interface, and the execution efficiency is not high; 7. The predicate is downloaded, which can speed up data extraction; 8. The program can only be saved with the database and HDFS; 9. There is no unified Service management; 10. Integrate source and destination

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
  • Micro-service and big data scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0019] A micro-service and big data scheduling method, including a micro-service scheduling method and a big data scheduling method, the micro-service scheduling adopts all micro-services of executors and controllers, and the controller obtains information of all micro-services from a registration center, and provides When configuring the scheduling service, the front end can dynamically select the service that needs to be scheduled; after the executor is injected into the registration center, it executes the scheduling task issued by the control center, and accesses the corresponding service API through the ID of the executing service.

[0020] In the microservice scheduling method, the state of the microservice sch...

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 relates to a micro-service and big data scheduling method, which comprises a micro-service scheduling method and a big data scheduling method, and is characterized in that the big data scheduling method comprises the following steps of: 1, extracting data from a database to hadoop by adopting an sqoop program; 2, reading the extracted data by utilizing SparkSQL (Structured Query Language) for calculation; and 3, after the data calculation is completed, storing the data into a database or directly calling a resful service. The big data scheduling method disclosed by the inventionhas the advantages that 1, a data exporting command is generated by a program, so that errors are avoided; 2, a calculation program is executed by a management program, and errors are avoided; 3, allwork is controlled by a program, and the execution modes and methods are relatively unified; 4, a scheduling platform is utilized, and extraction and calculation programs can be executed regularly; and 5, the SparkSQL can be configured, only corresponding SQL statements need to be written for different tasks, and a complete program does not need to be written.

Description

technical field [0001] The invention relates to the field of scheduling methods, in particular to a microservice and big data scheduling method. Background technique [0002] Microservice scheduling. Generally, microservice scheduling is handled by using the service ID to be scheduled to obtain the corresponding service IP through the registration center, and then scheduling, which will result in multiple requests and delays. The request cost is high, the failure rate is high, and the stability is poor. [0003] For big data scheduling, before the present invention, people generally used manually written commands when performing data extraction, used Sqoop to extract data into HDFS, and then wrote a special SparkSQL program to read the extracted data, and based on the SQL already written in the program The statement calculates the data, and finally saves the calculation result to HDFS or the database. Different tasks require writing a complete set of SparkSQL programs. Th...

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): G06F9/48G06F9/50G06F16/182G06F16/242
CPCG06F9/4881G06F9/5027G06F16/2433G06F16/182
Inventor 汪凯张青松刘定文李强
Owner 湖北九州云仓科技发展有限公司
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