On 16/09/2019 15:38, Matthieu Baechler wrote:
> Hi,
> 
> On Mon, 2019-09-16 at 10:19 +0700, Tellier Benoit wrote:
>> Hello all,
>>
>> [...]
>>
>> What would you think of such an approach?
>>
> 
> There's a small detail that bothers me: in the past, relying for too
> long on in-memory only made the implementation of a persistent backend
> harder because most of the time, problems were hidden by the fact we keep 
> instances of object in memory instead of having different instances.
> 
> I would suggest, if we go that way, to use persistent datastructure
> (such as the ones found in vavr) and always deep-copy objects at the
> managers/mappers boundary.
> 
> WDYT? 

Could you provide an example for this for data-jmap memory?

It would help making the proposal clearer, in my opinion.

Regards,

Benoit

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to