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

A Spark data processing method and system based on Redis

A data processing system and data processing technology, applied in database management systems, electronic digital data processing, special data processing applications, etc., can solve the problem that the analysis speed of the Spark data processing framework cannot meet the requirements, so as to reduce complexity and overhead, The effect of improving performance and speeding up operation

Pending Publication Date: 2019-06-21
武汉烽火众智智慧之星科技有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a Redis-based Spark data processing method and system, which is intended to solve the problem that the analysis speed of the existing Spark data processing framework cannot meet the requirements

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
  • A Spark data processing method and system based on Redis
  • A Spark data processing method and system based on Redis
  • A Spark data processing method and system based on Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] Such as figure 1 As shown, the embodiment of the present invention provides a kind of Spark data processing method based on Redis, is used for business analysis, and this method comprises the following steps:

[0029] S1, the Spark data processing framework obtains data from the distributed data source kafka, and converts the data into an elastic distributed data set RDD;

[0030] S2, the Spark data processing framework performs preliminary processing ...

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 a Spark data processing method and system based on Redis, and the method comprises the following steps: S1, a Spark data processing framework obtains data from a distributed data source kafka, and converts the data into an elastic distributed data set RDD; S2, the Spark data processing framework performs preliminary processing on data in the elastic distributed data set RDDto generate a new distributed data set RDD, and stores the new distributed data set RDD into a Redis storage device; S3, the Redis storage device performs deeper processing on the distributed data setRDD generated after the preliminary processing to generate a new result data set, and provides an external fast access interface; And S4, the Spark data processing framework obtains a result data setgenerated after deeper processing through the access interface, performs complex logic processing according to business requirements, and writes a final result into the distributed data source kafka.The Spark data processing framework and the Redis storage device are combined, so that the performance of processing and analyzing tasks is greatly improved.

Description

technical field [0001] The invention relates to the field of computer data processing, in particular to a Redis-based Spark data processing method and system. Background technique [0002] Many companies increasingly need to analyze transactions as fast as the business transactions themselves, more and more decisions are being automated, and the analytics required to drive those decisions should be done in real time. Spark is an excellent general-purpose data processing framework that can achieve quasi-real-time data processing; Spark draws on open source algorithms and distributes processing tasks to computing node clusters, regardless of the type of data analysis that can be performed on a single platform In terms of performance, or in terms of the speed at which these tasks are performed, Spark's generation framework easily outperforms traditional frameworks. However, the current Spark data processing framework still cannot meet the requirements of business analysis spee...

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
IPC IPC(8): G06F16/25G06F16/2458
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