回覆: Merge TsDigest into Statistics

2019-11-07 Thread Jack Tsai
Hi, First of all, thanks for your explanation. I found that there are some method names in TsDigest are repeated in Statistics. I wonder that could I name the ByteBuffer format of Statistics also as the name such as digest or tsDigest in Statistics class? Do you think it is suitable? Best

Re: Javas ByteBuffer[vs Nettys ByteBuf

2019-11-07 Thread Julian Feinauer
Hi, I did not find any concrete figures or numbers. But as the objects are reused and recycled the initial offset is lost quickly and no java objects are created for new buffers. Thus, in sitatutions with many small io operations you take a lot of pressure from the GC. Julian Am 07.11.19,

Re: [jira] [Created] (IOTDB-295) Refactor db.exception

2019-11-07 Thread 孙泽嵩
Hi, I’m currently working on refactoring db.exception by adding different error codes to all exceptions. When an exception is caught and a higher-level exception is thrown, the error code will keep and pass, so that users will know the detailed error reason. Besides, I also create a base

Re: Javas ByteBuffer[vs Nettys ByteBuf

2019-11-07 Thread Xiangdong Huang
Hi, I did not. But I have tried calling Snappy.compress() and decompress() with on-heap and off-heap bytes about 6 months ago. off-heap compress is very fast. But in that experiment, creating off-heap bytes is time-consuming (because in that version, creating new byte array or bytebuffer is very