Reputation: 273
What cloud service combination would allow for the storage of logs with N parts such that it is cheap and easy to:
i -> j
from the log, or at least parts i -> N
N + 1
always results in entry N + 1
being available)[log and user data | picture content]
. While I can happily store the log and user data
separately from the picture content
, when I retrieve the log I need to efficiently be able to get both sections.Some research and thoughts I already have:
compose
function which might be useful.Answers suggesting that what I have come up with so far being close to optimal are fine, but I am wondering whether I have missed a strategy regarding these storage providers or another provider that I've entirely missed. Additionally, if I'm stuck using a DB for some data storage anyway it'd be interesting if minor tweaking could allow it to work efficiently across multiple cloud providers for cost and redundancy purposes, although that may just be a pipe dream.
Upvotes: 0
Views: 229
Reputation: 3802
You can consider storing every log entry as a separate blob in Azure Storage. With this solution;
i->j
50K*4MB
, so you can store the entire log entry in one blob.Moreover, each blob has its own partition in Azure Storage. Blobs can therefore be distributed across many servers in order to scale out access to them.
Upvotes: 1