You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Yueyu Lin (JIRA)" <ji...@apache.org> on 2007/07/16 17:12:05 UTC

[jira] Commented: (DIRMINA-393) Allow users to choose a Map implementation for storing session attributes.

    [ https://issues.apache.org/jira/browse/DIRMINA-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512960 ] 

Yueyu Lin commented on DIRMINA-393:
-----------------------------------

It's extremely useful for many applications!
For an example, if you want to implement a GoogleFileSystem like system, you need to synchronize huge data packets within several chunk servers.
Suppose, if every request attribute size is larger than 2 mega bytes and you have to handle 1k clients(of course, this is not the chunk server scenario), the sessions attributes will consume 2000 mega memory!
If the Map can be implemented by users, users may adopt other memory/disk swap technology to handle these cases. I have experience to do this kind of jobs.  I use the BerkerlyDB java edition to do this.  It will be excited to add this feature into Mina. If it does happen, Mina is really for multi-purpose.
If there is no one else to pick up this job, I guess I can participate to do this and implement the JE map edition for Mina.

> Allow users to choose a Map implementation for storing session attributes.
> --------------------------------------------------------------------------
>
>                 Key: DIRMINA-393
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-393
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> Currently, users don't have any control over how session attributes are stored and managed.  Adding SessionAttributesMapFactory property to IoService will give more control to the users, although we will have to provide the best generic implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.