Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(routing): New router architecture and faster default router #395

Closed
wants to merge 1 commit into from
Closed

Conversation

richardolsson
Copy link
Contributor

This replaces the routing logic with a new, faster strategy based on on-the-fly
generation of Python code. As part of replacing the logic, the architecture has
been refactored to decouple routing from falcon.API, thereby making it possible
for users to easily replace the default router with their own.

Closes #114

This replaces the routing logic with a new, faster strategy based on on-the-fly
generation of Python code. As part of replacing the logic, the architecture has
been refactored to decouple routing from falcon.API, thereby making it possible
for users to easily replace the default router with their own.

Closes #114
@richardolsson
Copy link
Contributor Author

Unfortunately the distributed benchmarks don't show any performance gain for this code compared to previous versions, because the test application only uses a single route. However, my experiments and benchmarks in a separate repository shows (pure-routing) speed gains of anything between 2x and 100x in real-life conditions.

@richardolsson
Copy link
Contributor Author

Replacing this with a new pull request which will pass refined PEP8 requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Routing tree
1 participant