For example, can vote for one post from the same ip address, the base of the shell, of an innoDB table.
We need to organize the storage of votes in the database with the least overhead and maximum speed rating calculation for the article.
I think the table structure is the following:
article_id (int 11)
ip (varchar 15)
mark (enum ("-1","1"))
The PrimaryKey for the first two fields. Most likely, it can be easier, share your experiences, please.