Hi.
Alexa rank is counted as number of visitors having Alexa tool, have visited your site. Its better to prefer for Google because most of the traffic comes from Google.