<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Lag when searching alfresco share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lag-when-searching-alfresco-share/m-p/280410#M233540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A little late but if I am right it might be useful to people having the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The lag as indicated by alfresco.lag is NOT the maximum lag of solr, but the minimum one…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solr will look for new stuff according to the schedule defined in alfresco.cron which is usually every 15th second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will ask for new stuff in an interval starting (alfresco.hole.retention) ms before its LAST INDEXED data, up to current time LESS alfresco.lag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All times in millisecond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default alfresco.hole.retention is one hour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus with default setting, solr will index every 15th second from 1 hour before last known data up to current time less 1 second. This gives the average lag of 10 seconds when something new happens. &amp;lt;strong&amp;gt;If you want to reduce it, you must change the alfresco.cron property&amp;lt;/strong&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I absolutely do not understand why the 1 second lag is for. Nor why it would repeatedly and blindly ask for all new stuff 1 hour before that last indexed data even if nothing was added for days. The result is that 4 times a minute the system runs by itself, produces huge access logs in tomcat, and is still significantly lagging whatever the load of the indexer. It looks to me like if the goal was to generate as much workload and logs as possible and still carefully avoid being up-to-date at any time ? A kind of demonstration ab absurdo of why a pull design is flawed ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 21:37:27 GMT</pubDate>
    <dc:creator>mike38</dc:creator>
    <dc:date>2016-07-08T21:37:27Z</dc:date>
    <item>
      <title>Lag when searching alfresco share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lag-when-searching-alfresco-share/m-p/280409#M233539</link>
      <description>Hi,We are developing a team calendar using alfresco share as the backend. There is a significant lag (up to 10 seconds) when creating/updating/deleting events. What the application does is post events to the share, then submits a query to get the updated list of events and updates the front end comp</description>
      <pubDate>Tue, 26 May 2015 11:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lag-when-searching-alfresco-share/m-p/280409#M233539</guid>
      <dc:creator>simonsimonson</dc:creator>
      <dc:date>2015-05-26T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lag when searching alfresco share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lag-when-searching-alfresco-share/m-p/280410#M233540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A little late but if I am right it might be useful to people having the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The lag as indicated by alfresco.lag is NOT the maximum lag of solr, but the minimum one…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solr will look for new stuff according to the schedule defined in alfresco.cron which is usually every 15th second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will ask for new stuff in an interval starting (alfresco.hole.retention) ms before its LAST INDEXED data, up to current time LESS alfresco.lag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All times in millisecond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default alfresco.hole.retention is one hour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus with default setting, solr will index every 15th second from 1 hour before last known data up to current time less 1 second. This gives the average lag of 10 seconds when something new happens. &amp;lt;strong&amp;gt;If you want to reduce it, you must change the alfresco.cron property&amp;lt;/strong&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I absolutely do not understand why the 1 second lag is for. Nor why it would repeatedly and blindly ask for all new stuff 1 hour before that last indexed data even if nothing was added for days. The result is that 4 times a minute the system runs by itself, produces huge access logs in tomcat, and is still significantly lagging whatever the load of the indexer. It looks to me like if the goal was to generate as much workload and logs as possible and still carefully avoid being up-to-date at any time ? A kind of demonstration ab absurdo of why a pull design is flawed ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 21:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lag-when-searching-alfresco-share/m-p/280410#M233540</guid>
      <dc:creator>mike38</dc:creator>
      <dc:date>2016-07-08T21:37:27Z</dc:date>
    </item>
  </channel>
</rss>

