The difference between high concurrency and multithreading

1. High concurrency

    High concurrency is a state if a large number of requests are accessing the gateway interface. In this case, a large number of execution operations, such as database operations, resource requests, hardware occupancy, etc., occur. This requires optimization of the interface, and multithreading is a means of dealing with high concurrency.

2. Multithreading

    It is a way of asynchronous processing, which maximizes the use of computer resources at the same time.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325023063&siteId=291194637