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

Haimei Guo commented on IOTDB-882:
----------------------------------

As one thread pool manages all insert requests from the client, the insert 
requests may not come from a single thread. If we cache metadata in a client 
thread, we may not maintain the same map for all insert requests. We need to 
maintain a global metadata map.  

> 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