Oauth2 Server Bundle Speed

6 views
Skip to first unread message

jorge...@gmail.com

unread,
Sep 30, 2016, 6:09:33 PM9/30/16
to FriendsOfSymfony Developer
Hi everyone,

I've got an implementation for a travel agency that sell lots of tickets mainly in Colombia.

I've implemented the site using Symfony2.8 and of course I'm using your bundles to indentify users: fos-user

Then there was a requirement of implementing fos-rest, using fos-oauth to grant acces for a mobile application.

The point here is that in my main site, the Oauth server is taking up to 10 seconds to retrieve the token.

How can I improve the response speed using your bundle, as my site is using doctrine and i see that your bundle uses propel, and i've wasted all my tricks with no result. I just cannot speed it up, and the problem is that the mobile app, as needs 2 Auth tokens is getting the response in more than 15 secs.

Thank you for your reply, see you soon.

Lukas Kahwe Smith

unread,
Oct 3, 2016, 3:08:58 AM10/3/16
to friendsofs...@googlegroups.com
I would recommend you use a tool like xdebug, tideways.io or blackfire.io to better understand where the time is lost. even the standard symfony profiler might give you some indication, at least about how long DB queries are taking vs. page rendering.

regards,
Lukas Kahwe Smith
sm...@pooteeweet.org



signature.asc
Reply all
Reply to author
Forward
0 new messages