Sharepoint long workflows block w3wp process

We have a WSS 3.0 installation with Search Server, which is used to search for documents and save the search definition for repeated searches later. Users want the option to be able to download all the files in their search results as a one-time Zip file.

I have a very simple solution in which zipping files is performed in the web part when the user clicks on the button, but if the zip file takes some time to create the user, it remains to wait (and I suspect that any other users accessing the site will wait, because I think that document compression is performed by the w3wp process).

I thought that maybe I could start creating a zip file as a workflow and the user will be allowed to download the file after the workflow is complete, but now I realized that the workflows are also running in the w3wp process.

If a workflow task takes a lot of time (for example, if a user selects a large number of documents to upload), will this affect other users of the sharepoint site and stop their access to any pages until the workflow is complete?

Obviously, we are going to set a limit on the maximum size of documents that a user can secure for downloading, so that we do not kill the machine, but I'm still worried that no matter what size we put, the workflow process may still block other users . This is true? Are there any better suggestions for creating a task that doesn't affect other users?

thanks

+3
source share
3 answers

Put a delay activity in the workflow before the activity that creates the ZIP. This will force the workflow from the W3WP interactive process to the WSSTimerV3 service, as it should start in the future.

,

http://blogs.msdn.com/pandrew

+3

zip -, . w3wp, , , zip, .

, , zip-: . ASP.NET.

, , , .

, w3wp. , , w3wp. , SharePoint , , .

, , . -, ZIP, , . , , , . , - . , , , .

0
  • 5 , . , , ( ASP.NET). , .

  • , First In First Out Windows, . , , zip . O (1), . - AJAX, : " 4 45 ...".

  • If you have a large selection of file sizes, you can implement the two best solutions as strategies and implement the third adaptive strategy, which is distracted from one of the above strategies by considering things like unpacked file size and server resource availability. A good compromise between user experience and resource availability, but the most difficult (expensive).

Groete, hans

0
source

Source: https://habr.com/ru/post/1710908/


All Articles