Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
CS - What's faster, reading EA's or reading a file
Johnny
TS 6.5 Solaris.
I'm looking to store a number of system oriented metadata for each file with the use of a custom app. Because this info is not directly tied to the content of the file at the user level, I do not want to set EA's on the file directly as that would modify their file.
For that reason I'm looking to have a corresponding file to store this metadata, separating it from the content - versioning wise.
Using Content Services, if I have a high number of key/pairs, would it be more efficient to read and write EA's or would slurping this from the file itself be faster. Considering I have to process the contents of the file (EG XML, resource bundle) I'm assuming that EA's would be faster. I'd also assume that the efficiency of reading/writing EA's depends on the number of keys being processed.
I'm not sure who could answer this - perhaps someone from IWOV can jump in.
Thoughts?
John Cuiuli
Find more posts tagged with
Comments
Johnny
Does anyone have any comments on this?
Perhaps Heather can pass this onto someone ... ?
John Cuiuli
IwovHeather
Hi,
Sorry for the delay. I'll try to get an answer for you shortly.
Thanks,
Heather
IwovHeather
Hi,
Sorry to back-track. I think that the best way to get an in-depth answer to this is to open a support case. They should be able to give you a better recommendation about your setup.
Hope that helps,
Heather
Johnny
Thanks for following up Heather. I guess I'll open a support case for this (didn't know I could for questions).
Thanks again
John
John Cuiuli
Migrateduser
Hi,
It would be better to store the properties as Extended Attributes of a file, which makes it much more efficient to process as a random access thing, as opposed to storing it in the file, reading in the whole contents of the file, and parsing the values. Again, it also depends on the way you intend to use it. If there are going to be a few properties, or if you are going to need all the properties all the time, you might be better off storing the values in a file, and parsing it at one shot and storing it in memory.
Hope I answered your question without completely confusing you.
Best Regards,
Narendra