Hello,
I have been working on an original concept with goal to speed up symfony
routing management : write a mod_rewrite file from the routing.yml file

Please read :
http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/README

The current implementation is very alpha,

   - sf_method requirement is not handled.
   - the plugin save 9Mb of memory on a 60Mb memory usage per request (I
   have php5.3 64bits)
   - the routing.yml.php is now 240Kb instead of 1Mb (400 routes)
   - routes are loaded on demand, so there is only 10-30 sfRoute instance
   per request
   - direct access to the route (so no php route matching)

The only problem (and not the less...) is the server handle less request
than the current implementation (sf1.2) ! It is not an issue with the
mod_rewrite file, but with the current php implementation.

For now, I have no time to profile the implementation, but if anyone has an
idea, please share it ;)

-- 
Thomas Rabaix
http://rabaix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to