> Amazon
Has rankings, plus a reasonably good discovery engine. More sales on the platform will influence the former and could influence the latter, leading to even more sales.
Buying direct puts more money into the author's pocket per sale but has zero ability to influence other sales.
There is no easy answer.