Hi folks,

So what is the verdict? In API-M when adding an API, we noticed that there
were so many INSERTs when adding RXT attributes as properties, by stopping
this, the number of INSERT statements has been reduced significantly and we
see a great improvement while saving API's etc in the Cloud. So it we would
be best if we could stop adding attributes as resources. Is it a major
change to incorporate?



On Thu, Sep 11, 2014 at 1:55 PM, Subash Chaturanga <[email protected]> wrote:

> Hi Senaka,
> In JCR handler it writes artifact properties to the resource and vice
> versa. As you know JCR repository does not understand any RXT related
> resorce content. Can you explain WDYM by "JCR-based repository-browsers
> only reads what's listed as properties" ? You mean viewing jcr resources
> in registry browser ? For JCR it stores its nodes as registry Collections
> and Properties as registry resources + properties.
>
> Pulasthi found [1] as a related JIRA.
>
> [1] -  https://wso2.org/jira/browse/REGISTRY-1928
>
> On Thu, Sep 11, 2014 at 2:50 AM, Senaka Fernando <[email protected]> wrote:
>
>> Hi all,
>>
>> This has nothing to do with API-M actually.
>>
>> Subash, this was added for JCR support (IINM, by you, :)..). And, I'm
>> most certain that the JCR-based repository-browsers only reads what's
>> listed as properties. Can you'll have a look into that? Or we'll endup
>> breaking that without knowing its broken.
>>
>> Thanks,
>> Senaka.
>>
>> On Wed, Sep 10, 2014 at 10:02 AM, Nuwan Dias <[email protected]> wrote:
>>
>>> +1 for removing these. APIM doesn't deal with properties in RXTs but
>>> with the RXT attributes directly. So APIM won't have any effects by this
>>> change.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Wed, Sep 10, 2014 at 1:52 PM, Pulasthi Supun <[email protected]>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Currently with RXT's all the attributes of the RXT are being added as
>>>> properties in the resource. The process of adding them as properties
>>>> executes a significant amount of DB calls which is big performance hit.
>>>> AFAIK there is no use of these properties hence we should be able to stop
>>>> this and reduce a large amount of DB calls in the process.
>>>>
>>>> @Nuwan
>>>> As for the the offline discussion we had a while back regarding this i
>>>> assume that these properties are not been used in the APIM side ( Not
>>>> properties in general just the properties that are created for RXT
>>>> attributes ).
>>>>
>>>> Since we do not have any real use for this properties shall we remove
>>>> these, WDYT?
>>>>
>>>>
>>>> Regards,
>>>> Pulasthi
>>>>
>>>>
>>>> --
>>>> --
>>>> Pulasthi Supun
>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>> Email: [email protected]
>>>> Mobile: +94 (71) 9258281
>>>> Blog : http://pulasthisupun.blogspot.com/
>>>> Git hub profile: https://github.com/pulasthi
>>>>
>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>> email : [email protected]
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>>
>>
>> *[image: http://wso2.com] <http://wso2.com>Senaka Fernando*
>> Software Architect; WSO2 Inc.; http://wso2.com
>>
>>
>>
>> *Member; Apache Software Foundation; http://apache.org
>> <http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +1
>> 408 754 7388 <%2B1%20408%20754%207388>; ext: 51736*;
>>
>>
>> *M: +44 782 741 1966 <%2B44%20782%20741%201966>Linked-In:
>> http://linkedin.com/in/senakafernando
>> <http://linkedin.com/in/senakafernando>*Lean . Enterprise . Middleware
>>
>
>
>
> --
> Thanks
> /subash
>
> *Subash Chaturanga*
> Senior Software Engineer & Lead WSO2 Governance Registry
> Platform TG; WSO2 Inc. http://wso2.com
> Contact:
> email: [email protected]
> blog:  http://subashsdm.blogspot.com/
> twitter: @subash89
> phone: +9477 2225922
> Lean . Enterprise . Middleware
>



-- 
Thanks,
Shariq
Senior Software Engineer
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to