I want to have random primary keys in many of my tables (users table, posts table, etc...) just like the design of medium.com
(have a look at the article id in the url or in the apis, it's a 12 random hex chars string that most probably corresponds to a 64-bit integer), with this design, I gain a much bigger space and it is also a bit more secure design than using serial primary keys to resist automated requests, gaining information about the website like total posts or total users or scraping
Since the storage difference isn't that much of important these days, will there be major performance difference especially for fetching queries, or is it very insignificant in 2018 especially if Postgres is hosted on something like RDS?