About performance for track mobile app

I have install the server and run the iOS demo app, that is great code I think.

just one question, I see the server part code ‘piwik.php’ which is the entry API file of the mobile sdk, seem the code do much jobs which probably effect the performance of the track action, as we know, app just need collect data and post to server, server duty to store the data and Analytics later, the process can be a asychronous actions, maybe the entry api just need store the data somewhere then back to client immediately, this way will got good performance for mobile app, right ?

just confuse with current solution for mobile app, probably the piwik original idea is focus on web site but mobile app…

any idea on this topic ? thanks …

I plan use Swoole write a small middle ware process the request of the mobile