[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Browse pages

On 10/06/14 14:08, Yuri wrote:
> Il 10/06/2014 14:57, Ian Stuart ha scritto:
>> On 10/06/14 12:39, John Salter wrote:
>>> If you set up a cron job to regenerate the page twice a day (so it's
>>> never older that a day), does that help things?
>> Unfortunately not..... because the generate_views takes several days to
>> complete (160,000+ records, all multiple-authors - "several" is a BIG
>> number) then the view is out of date before its even finished!
>> :)
> can't you just delete them every day, early in the morning? In this way,
> they're regenerated upon request, thus always updated at the current day.

Surely that's no different to either letting them auto-generate, or 
doing a "generate_views"?

(the problem is not the regeneration.... but the fact that EPrints seems 
to spend 4 minutes in a tight loop, having spent 9 seconds slurping 
every single author out the database...


Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
The University of Edinburgh.


This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.