cancel
Showing results for 
Search instead for 
Did you mean: 

What is the fastest means to move content from a user's SB

kmartino
Champ in-the-making
Champ in-the-making
Hello,

We need to be able to deploy content, in some scenarios, from a user's sandbox, to staging for shared search purposes, to FSR deployment targets in as close to real-time as possible (breaking news, etc).  We need to do this from a RESTful API - a Websript. 

There has been a direct-deploy workflow developed for us that attempts to achieve this.  However, what we've found is that the time that content sits in workflow can be variable, and time time it sits in staging can be variable.

Anyone have any thoughts and ideas?

Thank you,

Karl
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
The workflow works by polling.   One easy change is to decrease the poll delay to a few seconds.   That's what the latest versions of Alfresco do.

It should also be possible to modify the workflow to trigger immediately if there's nothing else queued.   If you get that working then please contribute your changes. :wink:

tommorris
Champ in-the-making
Champ in-the-making
In this jar (alfresco enterprise 3.2):
"tomcat\webapps\alfresco\WEB-INF\lib\alfresco-repository.jar"

you'll find this resource:
org\alfresco\repo\workflow\jbpm\jbpm.cfg.xml

Find the bean definition:
  <bean name="jbpm.job.executor" class="org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutor">
    …..
    <field name="idleInterval"><int value="90000" /></field> <!– 15 minutes –>
The idleInterval value looks like it's configured in milliseconds - so it'll trigger every 1.5 minutes (a typo in the comment?).
Is that correct?

mrogers
Star Contributor
Star Contributor
Yes.   Its 5000 (5 seconds) on the latest versions of Alfresco.