Mostrando postagens com marcador application. Mostrar todas as postagens
Mostrando postagens com marcador application. Mostrar todas as postagens

terça-feira, 27 de outubro de 2009

Someone stoled my session, "And now who can defend me?"

I know that it is not nice to keep talking about Sessions, there so nice subjects out there (modularity, agile, full stack systems, etc), but they seems so far away from me that I cannot really avoid talking about Sessions.

Yesterday I recorded the problem with memory leak, which somehow is related to the HttpSessions. I believe that using a tool like a Session (which is for sure important) make us lazy.

When the system is slow, just put things on the session and everybody will be happy, but is it true? Absolutely not! Some day someone will come to your desk with a nice chart saying saying that your wonderfull application is consuming so much memory that they need to restart the server every two days.

And then what are you going to do? Once everything is binded to the session, your live will get difficult doesn't it? Well, before getting into a new project or storing your nice new object into the session take a look at subjects like REST or some frameworks like Play that avoid the use of session.
For example the framework Restlet do not supply you with any access to the session, and the Play "session" is a simple Cookie, which for sure is small enough to avoid any massive storage there.

Today I am little bit lazy, so here is a list of sites discussing it across the web (there are no state of the art, but you are all grown and can extract the best from it!):
I hope it could make we all think a little bit about it.

segunda-feira, 4 de agosto de 2008

Console application

Well, this post is absolutely not for Linux users. I know that the users of all the systems based on the Unix had good options for console applications, but and the poor Windows users? Are they dammed forever?
In fact not, it is always an option to install Cygwin and be happy, but a option not that heavy (and for sure not complete) is the Console:
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles.
It doesn't have a set of applications or something like that, but it provide a console with some nice functions like always on top or different configuration files.
Take a look, it could be usefull for you.