Red Hat Bugzilla – Bug 78938
RFE: need to cache short and long package XML/parse-info
Last modified: 2007-07-31 15:10:21 EDT
downloading/parsing the short and long package info during the satellite-sync
process is slow and torturous... let's think about caching this shit.
What's involved (off the top of my head):
not needed immediately:
o a way to query the version (datastamp) of the short/long xml on server-side
o caching the actual xml (maybe)... maybe just note the version.
o parsing is where most of the time is spent (metrics needed)... need to
pre-parse and shelve the short/long parsed results.
- when channel info is downloaded, we know what package info is required...
just check the shelve first.
This would info retrieve WAY fast.
added to titan tracking bug and accepted.
in CVS... needs QA, etc.
Now have a SyncCache class that syncs all parsed XML objects. This should speed
up the sync process tremendously when duplicate data is encountered throughout
Can also speed the process a whole lot more if you set --cache-refresh-level 0
Moving to RHN 3.0.0
Ready for QA.
Works in -38. Prod Ready.
Looks good in -47.
Works in -62 and production, closing.