Improve performance by bringing back the ghetto

Bug #612730 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Unassigned

Bug Description

Per Tres's suggestion, help the main app server's cache stay warm, and the catalog's cache stay warm, by putting searches back into the ghetto.

Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Medium
milestone: none → m46
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Everybody or just OSI?

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 612730] Re: Improve performance by bringing back the ghetto

Whatever you think best. Fine by me either way. Just OSI, for all I care.

While I'm at it, I notice we're only running one appserver daemon with 4 threads. Perhaps OSI should have more? I realize that number of processes, threads, and cache size are all voodoo. But just one, sounds somewhat wrong.

--Paul

On Aug 2, 2010, at 5:07 PM, Chris Rossi wrote:

> Everybody or just OSI?
>
> --
> Improve performance by bringing back the ghetto
> https://bugs.launchpad.net/bugs/612730
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: New
>
> Bug description:
> Per Tres's suggestion, help the main app server's cache stay warm, and the catalog's cache stay warm, by putting searches back into the ghetto.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/612730/+subscribe

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

If possible, I would like to defer this until after the two performance enhancements we've already done hit at least staging, if not production. This way we can better sort out the impact of this versus the other enhancements.

Changed in karl3:
status: New → In Progress
status: In Progress → Confirmed
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Oops, sorry, I missed that you already have this for the next milestone.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

I think Chris would prefer seeing if other changes (community tags, marshalling cached queries, adding a second appserver) ameliorate the need for this.

Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → nobody
milestone: m46 → m999
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

This is a prescription without a diagnosis. We should concentrate on finding specific slow things in Karl and then figuring out why their slow. This will probably mean collaboration with OSI as they report slowness with LiveSearch (for example) that we don't see. It will be tricky but we will need to figure out how and why their experience is differing from ours.

Changed in karl3:
status: Confirmed → Triaged
Revision history for this message
Christian Theune (ctheune) wrote :

Just as I stumbled over this: we pretty much always do it this way:

1 vm = 1 core = 1 process = 1 thread

Then

- have a load balancer limit 1 request to that one machine.
- have a handful (we use up to 20) of those setups and categorize them by looking at headers and URLs in the load balancer

this is our best setup we have for predictable performance in complex applications right now.

Revision history for this message
Tres Seaver (tseaver) wrote :

The ghetto configuration got rolled to staging 2012-04-30, and has been in production since shortly thereafter.

Changed in karl3:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.