It all depends on the application. Surely there are some rules that apply to most cases but not all are suitable for all applications. If you can explain your app a bit and the input and output data, their frequency, numbers, sizes etc we can advise better. Also the number of developers who collaborate, hosting, and operating system.