Parse the query so it can load balance the SELECT queries and always send the write ones (CREATE, UPDATE,..) to the master.