G
Grant Merwitz
Hi
I am currently weighing up two options.
I have a data i need available for my website.
However, this data is only available via a web service and too slow to
retrieve on a user request basis.
So i plan once a day load to download this data. Either into the Cache, or a
local database i'll set up.
I would like to know what the better method would be,
We're talking about 1000 records, 20 fields (none to large). So really, not
a large amount of data.
Now i think Cache would be quicker. But this data needs to be searched and
filtered.
So would it be wiser to have the database setup as this may be quicker to
filter
Or is it just as efficient to loop through say a DataTable in memory?
What's the best method here?
Also, if the Cache is the way to go, whats the best way to store it -
dataset, datatable, hash table, arraylist etc.
And are there better ways of searching these than looping through them?
TIA - this would be a great help
I am currently weighing up two options.
I have a data i need available for my website.
However, this data is only available via a web service and too slow to
retrieve on a user request basis.
So i plan once a day load to download this data. Either into the Cache, or a
local database i'll set up.
I would like to know what the better method would be,
We're talking about 1000 records, 20 fields (none to large). So really, not
a large amount of data.
Now i think Cache would be quicker. But this data needs to be searched and
filtered.
So would it be wiser to have the database setup as this may be quicker to
filter
Or is it just as efficient to loop through say a DataTable in memory?
What's the best method here?
Also, if the Cache is the way to go, whats the best way to store it -
dataset, datatable, hash table, arraylist etc.
And are there better ways of searching these than looping through them?
TIA - this would be a great help