Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2012 at 04:18 UTC
Updated:
30 May 2014 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
deciphered commentedComment #2
anarcat commentedI like this too, good job.
Comment #3
steven jones commentedThis patch adds a call to
node_load, the performance implications of this should be investigated.Comment #4
steven jones commentedThanks very much for the patch, I've applied the sorting part to 6.x-2.x, but I've not included the part that adds the short name to the list. Please open a separate issue for that, and we can discuss there, I think there's a small performance issue with doing the node load on each profile, and the site form is already super slow.
Comment #5
thedavidmeister commentedheh, can't you get the short_name from hosting_package_instances_load?
That way the performance issue can be handled within hostmaster rather than relying on the core of d6 to do something.
For example, I haven't profiled it but _hosting_package_instances_load() looks like it's screaming to be at least statically cached, if not persistently.
If it was persistently cached you could add all sorts of hostmaster-specific bits and pieces (like the short_name) to the UI without invoking a bunch of node_load()s - which are much slower than they should be in d6 without native, or even contrib, persistent caching of node objects :/
Would anyone be interesting in me opening a ticket for that in parallel to the issue for displaying the short_name, as it seems like in light of this discussion it may (perhaps after a little profiling) help get that nice UI improvement over the line?
Comment #6
steven jones commented@thedavidmeister please open such a ticket!
Comment #7
thedavidmeister commenteddone - #1875440: static and persistent caching for _hosting_package_instances_load()