Code Monkey home page Code Monkey logo

addb's People

Contributors

addb-swstarlab avatar arbc139 avatar canpc815 avatar dkdl012 avatar hanseungsung avatar hshs1103 avatar hwani3142 avatar juyeon28 avatar kimkyeonghun avatar melonpeach avatar parkju536 avatar wonkichoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addb's Issues

[fpWriteCommand]Suggest processing of empty string is possible

Hello. I am majoring in computer science at YUST and am interested in ADDB.

During code review of how data is stored, there are parts that need to be supplemented and left behind.

The addb_table.c file in the v1.1.0 branch shows only processing for null value.

Considering the frequency of the empty string in addition to the null value, we suggest adding processing parts for empty string.

[ISSUE] Memory Optimization Utilizing ZipList is Required

A default data structure, Hash type, is not appropriate in case that the structure has small amounts of entries.

We need to optimize the data structure to reduce the memory usage of Redis.

Using Ziplist under a predefined threshold can be a possible solution.

Reduce relational model conversion memory overhead

Currently, memory overhead is significant due to relational conversions when loading data. We need to make improvements. Improvements are needed to improve performance by reducing memory overhead.

Because partitionInfo already has information about the columns and values, I suggest ways to take advantage of them.

Avoid vector iteration in Scan operation

In fpScan, transferring the batches of column values will improve the scan performance.

In the current version, data is transferred to SparkSQL in form of row format.

Lots of iterations generate unnecessary computing overhead.

SparkRedisConnector is also required to support this modification

[ISSUE] Increases serialization performance by using google/protobuf

Naive vector serialization, stringify, is extremely slow and has big data size.
ex) Vector = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
--> Serialization result = "V:{T:int:N:10}:D:[1:2:3:4:5:6:7:8:9:10]"
and, it can't recognize '[', ':', ']' characters because of using tokens in string. (This is a big problem)

We need to use other awesome serialization algorithms to optimize serialization performance. I find a nice serialization library "protocol buffer" developed by Google.
google/protobuf
github
protobuf C Implementation

protobuf performance link
According to above analysis, protocol bufffer has the best serialization performance and small data size.
image
image
image
image

So, using "protocol buffer" can be a possible solution.

RocksDB configuration modification error

To modify RocksDB configuration, we should add knobs at addb/deps/rocksdb/examples/simple_example.cc and then compile that code.

However, when compiling the file, errors occurred which are related to libraries such as zlip and bzip2.
It can be solved by modifying addb/deps/rocksdb/Makefile, such as changing ZLIB_VER to 1.2.12 or redefining BZIP2_DOWNLOAD_BASE path.

The revised Makefile version will be updated soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.