You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/12/06 10:43:39 UTC

[GitHub] [skywalking] lujiajing1126 commented on pull request #8247: OAP-stream integration with Banyandb

lujiajing1126 commented on pull request #8247:
URL: https://github.com/apache/skywalking/pull/8247#issuecomment-986654210


   > Could you share what is the pattern of `AbstractBanyanDBDeserializer` about? I am sure this pattern is not being used in other storage implementation.
   
   The reason to introduce the `AbstractBanyanDBDeserializer` is that the storage build for BanyanDB is asymmetric, i.e. what we write is several lists of `SerializableTag`s while we read `TagAndValue` from database. Both of these lists are strictly ordered which should comply with the order of schema definition and the order of projection declaration.
   
   Another motivation is that default implementation of `storageBuilder` within the DAO is less performant since binary data is always encoded to the base64 format which is not necessary in the case of BanyanDB. We natively support binary data format.
   
   Besides, I suppose it is not necessary to fetch the full storage entity as an intermediate representation while querying. We could do the projection to reduce bandwidth usage.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org