Conclusion After this experience, when writing APIs, first write async, so as to avoid the dilemma that the api’s reaction is blocked when high concurrency is blocked. Then the asynchronous’ writing method must be written with aync and await, avoiding the writing of Task.Result, so as to avoid the occurrence of blocking.