Web application (java servlets) best practices and performance

153 views
Skip to first unread message

Marcel Overdijk

unread,
Apr 12, 2013, 2:38:49 AM4/12/13
to Closure Templates Discuss
I'm currently evaluating Closure Templates as view layer in a java
servlet web application.

I'm wondering what the best practices is for compiling the templates.
I don't think the templates can be pre-compiled and provided to my
webapp in compiled format.
This would mean I have to compile them on application startup and
cache them.

But what I wonder about is the performance aspect. E.g. what would it
take to compile 1000+ templates?
I'm wondering this especially as I'm using Google App Engine and
startup times are really important as it spawns and kills instances
frequently.

Hope someone can shed the light on this.
Reply all
Reply to author
Forward
0 new messages