cohen990 / VoxPop

The voice of the people in pictures!
0 stars 0 forks source link

Migrate from Table Storage to Non-relational Storage #76

Open cohen990 opened 9 years ago

cohen990 commented 9 years ago

I'm nervous about the fact that so much relies on the row key and the partition key for both the article and the vote.

The problem is that the fields are arbitrary - I keep thinking it's a serious code smell

If we use document storage, we can say that this thing is an article (or a vote or whatever) and it has these properties. It will be given an ID and then we can move on with our lives. No fucking about with this weird partition key crap.

In terms of alternatives, we have:

cohen990 commented 9 years ago

Another advantage is that real databases (as opposed to table storage) will have built in functionality to increment votes and other things like that.

AJizzleBizzle commented 9 years ago

Okay well I suppose it was good to get a crash course in Tables anyway - what sort of priority are we putting on this though?

DBs do seem to be better documented - but I thought TS was the new cutting edge new freshness?