Professional opinions please - cfquery vs. Stored Procedures
I am rebuilding a Flex application from the ground up to make it better and more featured. One of the main complaints I get is how slow some of the data takes to get back to the view from the ColdFusion CFC (RemoteObject). I spent a lot of time optimizing the queries to make them lighter and make sure not to grab information if it is not going to be used.
One thing I am playing with is the idea of turning all the simple queries into Stored Procedures on my MySQL database. Now, I KNOW that it is faster for a database to process its own language before translating the query from ColdFusion into it's language, execute it, and return the results. On my local development laptop I don't see any real performance improvements since everything is lightning fast on a local laptop set up as a web server..lol.. but obviously I am looking more for the actual web.
How many people use SP vs cfqueries in their components, Flex/Flash app or HTML? Is there a good amount of performace improvement using cfstoredproc? Is it worth taking the more simple queries out of the component's via cfquery and just put them into stored procs?
I want my Flex app to return data faster and I am looking at all ways to gain performance.
