Hi, i was wondering what the main things were to avoid when creating an webapplication that relies on heavy reads and writes every second.
Think of online gaming where money is involved.
For example you have an javascript that constantly updates the browser(1), There is a cronjob running that updates the db(2), There is user input submitted via ajax or POST(3), and you have multiple users performing all these actions every second(4).
There is also money involved so all the data has to be read and written the correct way(5). And in case of crashes this the data has to be restored the right way so backups(6) are important.
So many things to keep in mind when creating such a complex application, what are the things you should definitely keep in mind.
I would like to know what your opinion on this is, Thank you!