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

Jialin Qiao commented on IOTDB-882:
-----------------------------------

Hi, the idea is to cache the metadata on the server-side. For each client, the 
server will create a client-thread to serve this session. Cache the metadata in 
the client-thread may avoid access MManager in PlanExecutor.

> 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