There''s no looping, but there is XML parsing. I wonder if there is an
easy way to reduce the overhead of that. Does anyone remember what
happened to the change to use libxml? we could alternatively use
nokogiri if it is available.
Mike
On Dec 29, 2008, at 6:02 PM, Robert Matei wrote:
> I have some high-traffic apps whose CPU use is pretty consistently
> high. I think I''m seeing a connection between Facebooker API calls
> and that CPU use.
>
> My API calls send notifications and publish a feed; those calls make
> up the overwhelming majority of my wall clock time. But that
> shouldn''t translate into high CPU use, right? Well, in a
thoroughly
> unscientific test, I''m seeing about 33% lower CPU use without
those
> calls.
>
> Is Facebooker going into a tight loop while waiting for a response
> or something to that effect?
> Any other tips to reduce CPU use in general?
>
> Robert
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com