How to adjust parameters for large and heavy traffic site?

Yes, I tried to modify max_connections and shared_buffers in Postgres and it seems to work.