[ 
https://issues.apache.org/jira/browse/IOTDB-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197664#comment-17197664
 ] 

Houliang Qi commented on IOTDB-882:
-----------------------------------

If we cache the metadata on the server-side,  we still need to allocate one 
global memory buffer to cache the metadata, as the server uses thrift server 
pools, so I do not really know the meaning of the work.

If we cache the metadata on the client-side, I think it's better to cache the 
metadata on the session side, like 
https://issues.apache.org/jira/browse/IOTDB-814.

 

> Cache metadata in each session to avoid checking in each insert
> ---------------------------------------------------------------
>
>                 Key: IOTDB-882
>                 URL: https://issues.apache.org/jira/browse/IOTDB-882
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: Jialin Qiao
>            Assignee: Haimei Guo
>            Priority: Minor
>
> In each insertion, we will check the MManager to see if the data type is 
> right. 
> Normally a client write the same device or timeseries, we could cache 
> metadata in the client-thread in server to accelerate the insertion.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to