A data processing method, device, medium and electronic equipment

A data processing and database technology, applied in the database field, can solve problems such as system performance degradation and the explosion of the number of long database connections, and achieve the effects of improving resource reuse rate, flexible expansion, and reducing the number

Active Publication Date: 2022-04-22
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the large number of functions in the FaaS architecture, in the case of big data, functions are required to obtain data, and different databases may be connected to different databases at the bottom layer. As a result, the number of long-term database connections will explode, resulting in system performance degradation

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 data processing method, device, medium and electronic equipment
  • A data processing method, device, medium and electronic equipment
  • A data processing method, device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0033] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 present disclosure provides a data processing method, device, medium and electronic equipment. The method includes: receiving a request message through a port of the first short connection; parsing the request message to obtain a database instruction; judging whether the resource pool includes a database long connection associated with the database instruction; if so, then according to the The database instruction and the database long connection obtain the first data result; if not, then establish a database long connection associated with the database instruction, and obtain the first data result according to the database instruction and the database long connection ; Wherein, the database persistent connection is a channel for exchanging data with multiple databases. The present disclosure realizes idempotent processing, and is suitable for short connection requirements under the FaaS architecture. It reduces the number of long database connections and improves the resource reuse rate. Flexible scalability enables users to realize the expansion and contraction of underlying resources without awareness.

Description

technical field [0001] The present disclosure relates to the field of databases, in particular, to a data processing method, device, medium and electronic equipment. Background technique [0002] Traditionally, if you want to process the database, you must establish a long-term connection to the database from the client (a function under the Function as a Service (Function as a Service, FaaS for short) framework) and the database server, and use the long-term database connection Connections send database processing instructions. [0003] Since there are many functions in the FaaS architecture, in the case of big data, functions are required to obtain data, and different databases may be connected to different databases at the bottom layer. As a result, the number of long-term database connections will explode, resulting in system performance degradation. Contents of the invention [0004] This Summary is provided to introduce a simplified form of concepts that are describ...

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 Patents(China)
IPC IPC(8): G06F16/25G06F9/54
CPCG06F16/25G06F9/547
Inventor 雷磊梁俊仁丁之卓
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products