problem description it takes 3, 000 threads to request under the same ip, but the real scenario is 3, 000 different ip,. In the former case, socket, can be reused. It seems that the real scenario is slower. Is there any way to simulate it? related c...
1. In the background, http, uses eggjs, to test ordinary get,post. There is no problem 2. There is a problem with test file upload it( file upload , async () => { let data:any = await new Promise(resolve => { app.httpRe...
The framework uses tp5.1,workman using the composer package officially provided by tp. Would like to ask if the integration of hprose? the attempts made are as follows: Controller (acts as client) access to index did not get any return value, ...
there are some troublesome data. The date is a mixture of mm.dd, mm.d, m.dd and m.d. I want to match it with a regular. I write a data like this: ^ ([1-9] | 0 [1-9] | 1 [0-2]) ( .) ([1-9] | 0 [1-9] | 1-2 | 3 [0-1]) $ g. I found that this data can mat...
I now have a project that needs webmagic to crawl the title, but the title of this site has two styles xpath xpath( " div[@class= "title "] text() "), 3css( "div.title ") this is not what I need I don t know if there is a way to set up a xpath or us...
the backend uses C-sharp. The data returned to the front end is shown in the figure below. How to convert it to JSON? Should this situation be handled at the back end or at the front end? ...