Single process contents server device and method based on IO event notification mechanism

A content server and event notification technology, which is applied in the field of single-process high-performance content server IO devices, can solve problems such as server inability to process other requests, server performance degradation, server blocking, etc., to meet content distribution services, eliminate overhead, and reduce overhead Effect

Inactive Publication Date: 2008-09-03
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF0 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to overcome the defect that a single-threaded server will be blocked due to disk IO, and the server cannot pr

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
  • Single process contents server device and method based on IO event notification mechanism
  • Single process contents server device and method based on IO event notification mechanism
  • Single process contents server device and method based on IO event notification mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:

[0029] Such as image 3 As shown, the input and output part of the single-process high-performance content server of the present invention comprises: foreground thread 302, request queue 303, background thread pool 304 and IO event notification mechanism 305; Wherein, foreground thread 302 and request queue 303, IO event notification The mechanism 305 is connected, and the request queue 303 and the IO event notification mechanism 305 are also connected to the background thread pool 304 .

[0030] The foreground thread 302 is a single thread, which is mainly used for processing network IO. In actual implementation, the foreground thread is not only responsible for accepting new network connections, but also responsible for sending and receiving network protocol data. Compared with the multi-thread server mentioned in the background technology, t...

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 discloses a single process high performance content server IO device based on IO event notification mechanism, comprising a request queue, a foreground process, a background process pool and an IO event notification mechanism; the foreground process is connected with the request queue and the IO event notification mechanism, the request queue and the IO event notification mechanism are also connected with the background process pool, the foreground process is connected with an external client. The invention also discloses a method for implementing IO request process. The invention not only reduces cost of context switch, interprocess communication and share resource, but also removes the cost of creating process, and makes the process number unrelated to the connection number, thus to realize high concurrence and high expansion, as well as meet the content distribution service of large scale users.

Description

technical field [0001] The invention relates to the input and output of a single-process high-performance content server, in particular to an IO device and method for a single-process high-performance content server based on an IO event notification mechanism. Background technique [0002] The content distribution server mainly stores multimedia documents, such as graphic images, media files, etc. When a server is working, it usually faces tens of thousands of concurrent requests on the Internet, so the performance requirements for the server's network IO (input and output) and disk IO are very high. [0003] Common content server IO generally uses a multi-process or multi-thread architecture. The main reason for this is that network IO and disk IO are generally blocked and synchronized. When a process or thread performs an IO operation on a connection, the entire process or thread is blocked and cannot handle other connections at the same time. If multiple Processes or 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
IPC IPC(8): G06F9/46H04L29/06
Inventor 唐晖赵志军谭红艳周旭唐鼎林涛
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI
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