title: Does PHP script need to wait for MySql trigger to complete?
body: <p>Database is MySQL. I am looking to implement a trigger that updates an aggregate rating table whenever a new rating is placed. Then there are some other similar use cases where I'm looking to implement triggers. </p>
  
  <p>These triggers may be updating <em>federated tables</em>. So my question is:
   <em>whether a php script that inserts a new rating will need to wait for the trigger to complete before the php script completes?</em></p>
  
  <p>PS: I understand triggers is not a good idea to put logic, and may be I would be better off with some messaging such as <a href="http://www.rabbitmq.com/" rel="noreferrer">RabbitMQ</a>. </p>