I know next to nothing about databases and have a new project that would involve needing to write tiny amounts of data very frequently at blazing speed.
Say I have a banner coded in HTML and set up so there are 3 sections that have 3 variations, when the banner is loaded each section randomly chooses a variation. So there would be a total of 3*3*3 = 27 variations. I would have a database with 54 different entries. After the banner is loaded each time it would ++1 to one of the entries 1-27 to denote it was loaded then if that banner was clicked ++1 to one entry 28-54 that corresponds with the lower ones.
My main concern before under taking this project is basic database write speed. If I'm serving 1,000,000 impressions in an hour I'm going to be writing to the database ~ 300 times a second with bursts much higher then that I imagine. Will I have to be doing something special here to accommodate?
Say I have a banner coded in HTML and set up so there are 3 sections that have 3 variations, when the banner is loaded each section randomly chooses a variation. So there would be a total of 3*3*3 = 27 variations. I would have a database with 54 different entries. After the banner is loaded each time it would ++1 to one of the entries 1-27 to denote it was loaded then if that banner was clicked ++1 to one entry 28-54 that corresponds with the lower ones.
My main concern before under taking this project is basic database write speed. If I'm serving 1,000,000 impressions in an hour I'm going to be writing to the database ~ 300 times a second with bursts much higher then that I imagine. Will I have to be doing something special here to accommodate?