It is handling session storage on database or files, and has typical session api (although simpler than beaker). It is all what I needed.
If you are using bzr already you can get web.py with sessions directly from repository:
bzr branch http://bazaar.launchpad.net/~karol.tarcak/webpy/webpy.sessions.branch webpy
Another issue is slowly page generation. I think it's matter of using uncached templates, but this is unevitable during development process. Maybe database connection also adds its workload, I have to check it. Now every page loads in about 10 seconds- it's slower than compiling jsp page on the same machine. I'm going to investigate the subject and return to process of happy-snappy coding.
Maybe you found anything what can speed up page generation- please share your experiences. I'm waiting for comments.
2 comments:
are you sure its the page generation time?
i had a similar issue but it actually turned out to be a bug in the wsgi mini webserver when serving gif/png files (triggering an unnecessary timeout)
Thanks for feedback.
It was issue with db pooling, that caused slow page generation. I described it in webpy update 3. But at first glance problem could be caused by many unclear reasons.
Post a Comment