Resource allocation method and device, computer device and storage medium

A resource allocation and computer program technology, applied in the field of web services, can solve problems such as access failure, inaccessibility, impact on the maximum access load capacity and access success rate, and achieve the effect of increasing the load capacity

Pending Publication Date: 2021-04-20
SUNING CLOUD COMPUTING CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the traditional web service access process, for excessive access requests per unit time, even if the computing resources of the cluster allow, access failures and inaccessibility will occur
This is becaus

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036]In order to make the purpose, technical solutions and advantages of the present application, the present application will be described in further detail below with reference to the accompanying drawings and examples. It will be appreciated that the specific embodiments described herein are intended to explain the present application and is not intended to limit the present application.

[0037]The resource allocation method provided herein can be applied tofigure 1 The application environment is shown. The terminal 102 and the server 104 communicate via the network, server 104 is any one or more servers in the web server cluster, can be implemented with a stand-alone server or a server cluster consisting of multiple servers, and the terminal 102 can but not Limited to a variety of personal computers, laptops, smartphones, tablets, and portable wearable devices. The server 104 receives the current access request transmitted by the terminal 102, obtains the access parameters of the cu

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 resource allocation method and device, a computer device and a storage medium. The method comprises: receiving a current access request, obtaining access parameters of the current access request, and the current access request being an access request for accessing a web server cluster; calculating a resource consumption estimated value of the current access request according to the access parameter, and determining the priority of the current access request according to the access parameter; selecting a target node according to the resource consumption estimated value, wherein the target node is a node at the tail end of the web server cluster; and selecting a target thread pool under the target node according to the priority, and performing resource allocation on the current access request through the target thread pool. By adopting the method, the access bearing capacity can be improved in a concurrent access scene.

Description

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

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
Owner SUNING CLOUD COMPUTING 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