On Fri, Feb 19, 2010 at 10:06 AM, Sumedha Rubasinghe <[email protected]>wrote:

>
>
> On Fri, Feb 19, 2010 at 7:25 AM, Dimuthu Gamage <[email protected]> wrote:
>
>> On Fri, Feb 19, 2010 at 6:35 AM, Sanjiva Weerawarana <[email protected]>
>> wrote:
>> > On Thu, Feb 18, 2010 at 10:17 PM, Senaka Fernando <[email protected]>
>> wrote:
>> >>
>> >> Will have a look into this. Need to have a look into how logs are
>> written
>> >> in registry.
>> >
>> > Logs shouldn't be written in the registry! Why are we doing that?
>>
>> This is the registry activity log, which is tracking the registry
>> operation use.  I think the reason this was written to registry is to
>> track the registry activities across nodes when BAM was not there.
>> Since now we have BAM, we can probably outsource this task to BAM?.
>>
>
Yes, part of this can be done by BAM, by subscribing to the events
generated.

>
> Dimuthu,
> I am not sure if this is the correct approach. AFAIK writing to the log was
> considered part of the atomic operation.
> eg:
> In Registry.put(...), we write to RESOURCE table & then to LOG table.
>

+1. The registry should inherently support persisting of activity logs. And,
it needs to be atomic so that the update and log are both in sync, and
reliable.

Thanks,
Senaka.

>
> /sumedha
>
>
>
>
>>
>> Thanks
>> Dimuthu
>> >
>> > Sanjiva.
>> > --
>> > Sanjiva Weerawarana, Ph.D.
>> > Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> > email: [email protected]; phone: +1 408 754 7388 x51726; cell: +94 77
>> 787
>> > 6880
>> > blog: http://sanjiva.weerawarana.org/
>> >
>> > Lean . Enterprise . Middleware
>> >
>> > _______________________________________________
>> > Carbon-dev mailing list
>> > [email protected]
>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to