3 ms·
Problems that nobody talks about never get fixed. If you give up the there is no feedback and no news is good news. And one of the worst technical failures I w
by hinkley 10y ago
Problems that nobody talks about never get fixed. If you give up the there is no feedback and no news is good news.
And one of the worst technical failures I worked on was a project where they insisted on reports from live data, and put little bits of report data in every response from the server.
They couldn't grasp why the performance was so underwhelming. Every index in your tables adds time to every insert and update operation, and often slightly stale data is close enough for most users and can be pre-calculated on an interval.
If you get the bright idea that measuring how many people are online or exactly how many dollars you made this month, then you will have fewer users and make less money because of it.
Use reporting tables. Most people shouldn't be writing into your data anyway and if they are, run away. Make the reporting tables your external API, and then you can add or modify columns, split or combine tables whenever you want.