The choice of nginx vs Apache over MySQL vs PostgreSQL is not an equal comparison at all. Until the application hits very high hit rates, the web server choice is mostly inconsequential. RDBMS choice will have real impact on the developers from the outset.