Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users
Re: optimizing publishing
 

Index | Next | Previous | View Flat


bret at pectopah

Jan 30, 2012, 6:39 AM


Views: 1466
Permalink
Re: optimizing publishing [In reply to]

Hi Zdravko,

If your templates call publish_another() in every story, that's probably
causing a good portion of the slowness you're experiencing.

What happens if you temporarily disable that?

All the best,

Bret

On Mon, 2012-01-30 at 08:15 +0100, Zdravko Balorda wrote:
> Hi, Matthew!
> I remeber, yes. here, I am chasing speed of a whole republish. When you
> have 25000 stories, and if it takes 2-3seconds on a story it takes a while. :)
> But not much can be done, except perhaps in templates. I use publish another
> in every story, unfortunately. Fanny thing though, perl takes 70% of CPU time.
> What is it doing? :)
> Zdravko
>
> Matthew Rolf wrote:
> > I started a thread on this topic a while ago relating specifically to the API:
> >
> > http://www.gossamer-threads.com/lists/bricolage/users/38869
> >
> > -Matt
> >
> > On Jan 26, 2012, at 12:03 PM, David E. Wheeler wrote:
> >
> >> On Jan 26, 2012, at 6:40 AM, Zdravko Balorda wrote:
> >>
> >>> I'm trying to otpimize publishing for speed, now. Using
> >>> bric_queued leaves apache for UI, which is good. There are
> >>> left two main processes working on publish: perl (bric_queued) and
> >>> postgres. Interestingly, the two grabs all 100% of one CPU, while
> >>> leaving the other lose. There are two in my box.
> >>> System time is very low: 3.3%.
> >>> Seems quite optimal. Are there any better practices?
> >> Not really. The best way to minimize publish time is to keep your templates simple, and don’t over-call pubish_another().
> >>
> >> Best,
> >>
> >> David
> >>
> >
> >
>
>

--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret [at] pectopah
www.pectopah.com

Subject User Time
optimizing publishing zdravko.balorda at siix Jan 26, 2012, 6:40 AM
    Re: optimizing publishing david at justatheory Jan 26, 2012, 9:03 AM
    Re: optimizing publishing david at justatheory Jan 26, 2012, 9:03 AM
    Re: optimizing publishing rolfm at denison Jan 27, 2012, 3:16 PM
        Re: optimizing publishing zdravko.balorda at siix Jan 29, 2012, 11:15 PM
            Re: optimizing publishing bret at pectopah Jan 30, 2012, 6:39 AM
                Re: optimizing publishing zdravko.balorda at siix Jan 31, 2012, 11:44 PM
                    Re: optimizing publishing zdravko.balorda at siix Feb 14, 2012, 12:03 AM
                        Re: optimizing publishing jaroskim at who Feb 14, 2012, 12:12 AM
                            Re: optimizing publishing zdravko.balorda at siix Feb 14, 2012, 12:39 AM
                                Re: optimizing publishing david at kineticode Feb 14, 2012, 11:23 PM
                                Re: optimizing publishing jaroskim at who Feb 15, 2012, 12:48 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 15, 2012, 12:42 AM
    Re: optimizing publishing michael.fletcher at cbs Feb 15, 2012, 7:20 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 16, 2012, 2:38 AM
        RE: optimizing publishing michael.fletcher at cbs Feb 16, 2012, 6:43 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 17, 2012, 5:04 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 21, 2012, 5:52 AM
        Re: optimizing publishing david at justatheory Feb 21, 2012, 11:01 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 21, 2012, 10:30 PM
        Re: optimizing publishing david at justatheory Feb 22, 2012, 9:03 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 23, 2012, 10:07 PM
    Re: optimizing publishing zdravko.balorda at siix Feb 28, 2012, 4:59 AM
        Re: optimizing publishing david at justatheory Feb 28, 2012, 11:36 AM
    Re: optimizing publishing zdravko.balorda at siix Feb 29, 2012, 1:09 AM
        Re: optimizing publishing leggn at denison Feb 29, 2012, 4:55 AM
        Re: optimizing publishing david at justatheory Feb 29, 2012, 10:50 AM
    Re: optimizing publishing zdravko.balorda at siix Mar 1, 2012, 1:22 AM
        Re: optimizing publishing david at justatheory Mar 1, 2012, 10:26 AM
    Re: optimizing publishing zdravko.balorda at siix Mar 1, 2012, 10:21 PM
        Re: optimizing publishing david at justatheory Mar 2, 2012, 9:11 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.