google / google/guice

Guice Servlet should allow for on-demand instantiation of servlets

Open
#505 3 comments 0 reactions 0 assignees View on GitHub
Extension-Servlet imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [mmastrac](https://code.google.com/u/115459243651688775505/) on June 24, 2010 18:10:11_

When using guice-servlet on AppEngine, you can incur a startup penalty on the first request as Guice attempts to instantiate all bound servlets and dependencies, potentially forcing a large number of class loads.

It would be useful if guice-servlet allowed a configuration mode where servlets were loaded on-demand. This would let us amortize the startup costs of the application over the first few requests, rather than paying it all upfront on the first request.

_Original issue: http://code.google.com/p/google-guice/issues/detail?id=505_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.