I'd heard that the main flaw of using json for storing messages is that it's easily corrupted when someone tries to modify message and the other writes and pushes into that message stock at same time.
But I'm not considering to give permission of modifying or deleting message to users. Neither to myself.
And since the message system which I'm about to develop will be fit to send or receive short, many messages in brief moment, I don't want my db table get locked down.
In this case, can I use static json file to store messages instead of db? Please recommend other good methods, if you think this is clumsy idea.