Eddie Epstein (JIRA) wrote:
> [
> https://issues.apache.org/jira/browse/UIMA-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625727#action_12625727
> ]
>
> Eddie Epstein commented on UIMA-1129:
> -------------------------------------
>
> {quote}
>> bq.* I thought this option would be enabled by a performance tuning option.
>> I don't see that in the patch, maybe I missed it.
>>
>> The primary use for this is to enable a serivce to return a delta CAS. The
>> service may reply with a complete CAS or with delta CAS depending on what
>> format the client will accept. So enabling delta CAS is per request and not
>> a global setting.
>
> -1. We can't have arbitrary clients turn on Delta CAS mode for everybody
> else. This must be a global setting.
> {quote}
>
> No client turns on delta CAS for any other; each client request must specify
> desire for a delta CAS response. A global setting for the service would not
> work.
Not sure we're talking about the same thing. I mean that the delta CAS mode
must
be enabled by the app, and can't be enabled by an annotator.
>
> {quote}
>> bq.* There should be a boolean member variable "deltaCasEnabled" or
>> something like that. This should be used in the code for checking this
>> condition, so it's clear what's going on (and easier to change in case the
>> implementation changes).
>>
>> The idea here was that the same design initially used to support delta CAS
>> would be used to support journalling as well. When journalling, there will
>> be multiple markers created to track activity per component.
>
> So? I don't get your point.
> {quote}
>
> I think Bhavani's point is that both CAS and journaling use the marker
> mechanism to track CAS activity. Delta CAS is a designed to optimize
> client-service overhead. Journaling can be used anywhere, and from a user's
> point of view has nothing to do with delta CAS. Instead of
> {{monospaced}} "if (this.svd.currentMark != null)" {{monospaced}}
> how about using
> {{monospaced}} "if (this.svd.casTrackingMark != null)" {{monospaced}}
I still don't understand, but I get the feeling that it's not important.
>
>
>
>> XMI serialization support for delta CAS
>> -----------------------------------------
>>
>> Key: UIMA-1129
>> URL: https://issues.apache.org/jira/browse/UIMA-1129
>> Project: UIMA
>> Issue Type: New Feature
>> Components: Core Java Framework
>> Reporter: Bhavani Iyer
>> Assignee: Bhavani Iyer
>> Attachments: UIMA-1129.patch
>>
>>
>> Extend XMI serialization to enable serializing only the changes to the CAS.
>> The requirement for delta CAS support in order to to reduce serialization
>> overhead associated with remote services is described in the wiki page found
>> here:
>> http://cwiki.apache.org/UIMA/reducing-overhead-for-remote-service-calls.html.
>