directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Engelbert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRECTMEMORY-95) Remove serializer from text/plain server exchange type
Date Thu, 01 Nov 2012 09:59:12 GMT

    [ https://issues.apache.org/jira/browse/DIRECTMEMORY-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488584#comment-13488584
] 

Christoph Engelbert commented on DIRECTMEMORY-95:
-------------------------------------------------

You want to prevent serialization costs for Strings, is this correct?
                
> Remove serializer from text/plain server exchange type
> ------------------------------------------------------
>
>                 Key: DIRECTMEMORY-95
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-95
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>          Components: REST Server
>    Affects Versions: 0.1-incubating
>            Reporter: Jeff MAURY
>            Priority: Minor
>              Labels: rest, serialization, server
>             Fix For: 0.2
>
>
> the string is stored in the cache as a byte array,
> and the serialization is performed using the Directmemory serializer
> framework which can be controlled by the client: it causes a coupling
> between the client and the server which is not desirable: why don't we
> store the content as a string or if we want to keep byte array, use the
> standard JDK String serialization (I would propose UTF-8 as the charset).
> In that case, we could get rid of the Serializer framework for this
> exchange type

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message