AMI Interface or Consolle?

Hi I’m relatively new to Asterisk and I’m using an old version (1.2.24).
I’ve an application running on the same machine of Asterisk;This application communicate with Asterisk by AMI interface;I’m modifying the application to use command line (asterisk -rx “…”) instead of connection to manager (too many simultaneous connect/disconnect to AMI interface produces Asterisk crash).
I don’t know all issue that this approach can bring,nor i found something about the difference between AMI and Consolle.
Does someone know the difference or have experience of massive open-close of calls by command line ?