IceFireDB is a database built for web3 and web2. The core mission of the project is to help applications quickly achieve decentralization and data immutability. At present, the storage layer supports various storage methods such as disk, OSS, and IPFS. The protocol layer currently supports SQL and RESP protocols, and will support GraphQL protocols in the future.A blockchain fusion layer based on immutable transparent logs and Ethereum is under construction to support integration with higher-level decentralized computing platforms and applications as well as identity, financial assets, intellectual property and sidechain protocols. IceFireDB strives to fill the gap of the decentralized stack, making the data ecology of web3 applications more complete, and making it easier for web2 applications to achieve decentralization and data immutability.
- High performance
- Distributed consistency
- Reliable LSM disk storage
- Support OSS storage engine
- Based on IPFS decentralized storage, build a persistent data distributed storage layer.(beta version)
- Support P2P automatic networking and build decentralized NoSQL data synchronization.(Supported by IceFireDB-Proxy)
- Build an immutable transparent log witness layer between web2 and web3, build a data hot and cold hybrid structure and an immutable data bridge layer. (inspired by google trillian-witness)(in progress)
- Build a blockchain mechanism based on Ethereum and quorum.(In progress)
- Support kv metadata layer and mixed storage structure of hot and cold. (web2 area support)
- More advanced cache implementation, faster LSM persistent storage(Source of ideas: https://dl.acm.org/doi/10.1145/3448016.3452819 )(Support the performance improvement of blockchain full-node)
IceFireDB-SQLite database is a decentralized SQLite database. Provide a convenient mechanism to build a global distributed database system. Support users to write data to IceFireDB-SQLite using MySQL protocol. IceFireDB-SQLite stores the data in the SQLite database and synchronizes the data among the nodes in the P2P automatic network.
IceFireDB-SQLProxy is a decentralized SQL database networking system that helps web2 traditional SQL database data decentralization. Provide a convenient mechanism to build a globally distributed storage system with automatic networking. Commands are automatically synchronized between IceFireDB-SQLProxy in the network, and each IceFireDB-SQLProxy writes data to MySQL storage.
Decentralized networking through IceFireDB-SQLProxy provides web2 program read and write support for SQL, enabling decentralized data synchronization for MySQL database read and write scenarios commonly used in web2 applications.
IceFireDB-Redis-proxy database proxy adds decentralization wings to traditional redis databases. Provide a convenient mechanism to build a globally distributed storage system with automatic networking. The instructions are automatically synchronized between the networked redis agents, and the redis agent writes data to the cluster or single-point redis storage. Through the decentralized middleware network proxy, decentralized data synchronization can be enabled for the Redis database commonly used in web2 applications.
IceFireDB-PubSub is a high performance, high availability and decentralized subscription system.It can seamlessly migrate web2 applications using redis publish and subscribe into a decentralized p2p subscription network.
It supports distributed raft disk Redis database mode in web2 mode, and also supports decentralized IPFS storage mode.
- APPEND
- BITCOUNT
- BITOP
- BITPOS
- DECR
- DECRBY
- DEL
- EXISTS
- GET
- GETBIT
- SETBIT
- GETRANGE
- GETSET
- INCR
- INCRBY
- MGET
- MSET
- SET
- SETEX
- SETEXAT
- SETRANGE
- EXPIRE
- EXPIREAT
- TTL
- HSET
- HGET
- HDEL
- HEXISTS
- HGETALL
- HINCRBY
- HKEYS
- HLEN
- HMGET
- HMSET
- HSETEX
- HSTRLEN
- HVALS
- HCLEAR
- HMCLEAR
- HEXPIRE
- HEXPIREAT
- HKEYEXIST
- HTTL
- RPUSH
- LPOP
- LINDEX
- LPUSH
- RPOP
- LRANGE
- LSET
- LLEN
- RPOPLPUSH
- LCLEAR
- LMCLEAR
- LEXPIRE
- LEXPIREAT
- LKEYEXISTS
- LTRIM
- LTTL
- ZADD
- ZCARD
- ZCOUNT
- ZREM
- ZCLEAR
- ZRANK
- ZRANGE
- ZREVRANGE
- ZSCORE
- ZINCRBY
- ZREVRANK
- ZRANGEBYSCORE
- ZREVRANGEBYSCORE
- ZREMRANGEBYSCORE
- ZREMRANGEBYRANK
- SADD
- SCARD
- SDIFF
- SDIFFSTORE
- SINTER
- SINTERSTORE
- SISMEMBER
- SMEMBERS
- SREM
- SUNION
- SUNIONSTORE
- SCLEAR
- SMCLEAR
- SEXPIRE
- SEXPIREAT
- STTL
- SPERSIST
- SKEYEXISTS
- INFO
- FLUSHALL
- HSCAN
- SSCAN
- ZSCAN
- XSCAN
- XHSCAN
- XSSCAN
- XZSCAN
corerman@ubuntu:~/DATA/ICODE/GoLang/IceFireDB$ redis-benchmark -h 127.0.0.1 -p 11001 -n 10000000 -t set,get -c 512 -P 512 -q
SET: 253232.12 requests per second
GET: 2130875.50 requests per second
IceFireDB originated from the distributed NoSQL database in the web2 scenario. We will continue to support the web2 distributed NoSQL database, while investing more energy in the direction of web3 and web2 decentralized databases. We are very grateful to our community partners for their continued interest, the community has been our driving force.
- https://github.com/tidwall/uhaha
- https://github.com/syndtr/goleveldb
- https://github.com/dgraph-io/ristretto
- https://github.com/ledisdb/ledisdb
- https://github.com/dgraph-io/badger
- https://github.com/ipfs/ipfs
When you use this software, you have agreed and stated that the author, maintainer and contributor of this software are not responsible for any risks, costs or problems you encounter. If you find a software defect or BUG, please submit a patch to help improve it!