Home > Back-end >  Delphi multithreaded collection and web content instance
Delphi multithreaded collection and web content instance

Time:10-04

I want to write a from the http://www.qyxyw.com/CompanyQueryResult2.aspx? DJJG=& amp; QYMC=& amp; ZCH=& amp; FDDBR=& amp; ZS=& amp; JYFW=enterprise information to access data in stock, when single thread collecting too slow, want to make it a multithreaded, 50 multithreaded collection points for a page instance,

CodePudding user response:

No one? Idhttp multithreaded collection page who have the source code for the sample? Can send my E-mail 727016057 @qq.com, thank you

CodePudding user response:

 
//cycle began, until at the end of the page,
With idhttp. Request do
The begin
//request header file
end;
Idhttp. Get (' http://www.qyxyw.com/CompanyQueryResult2.aspx? DJJG=& amp; QYMC=& amp; ZCH=& amp; FDDBR=& amp; ZS=& amp; JYFW=');
//the string with regular or pick out,
//end of the cycle,


Hand, try yourself,

CodePudding user response:

Single thread, to later, too slow (40000 pages, each page has 15 enterprise information to collect), so I want to make it multithreading

CodePudding user response:

There will be, but RMB for the source code

CodePudding user response:

Simple: will be collected all addresses to the list, circulation list, remove N address, create a N threads collection

CodePudding user response:

Make others server crashed, you will die,

CodePudding user response:

I also need to this aspect, top up,

CodePudding user response:

Clumsily, segmentation, and then run multiple instances of different period of the inside address

CodePudding user response:

Use thread class Tthread create multiple tasks
The write ACCDESS can also be collected in the thread class written

CodePudding user response:

RMB? 86391891
  • Related