MetaLiteServer数据库是基于Java开发的数据库软件,具有轻量,快捷部署,效率高,配置低,文件系统合理,抗网络负载强大的特点。由LiwiCloud个人独立开发完成。
名称:MetaLiteServerDatabase语言:Java所用服务形式:异步IO所用协议:HTTP/2开发者:LiwiCloud协议:GPL-3支持平台:Liux,Widows最低配置:1核1GB内存云服务器设计运行环境:1核2GB内置云服务器设计运行Jdk:oracle-jdk1.8安装不提供专门的安装脚本了,这个演示的是在Liux上gitcloe https://github.com/LiWi-Cloud/metalite-servercp-rmetalite-server/usr/sudoecho'/usr/metalite-server/bi/metalite'>/bi/metalitesudochmod+x/bi/metalite安装完成metalite#启动metaliteserver数据库配置配置文件在{源代码目录}/cofig/service.jmap默认配置port=1145ame=metalite/1.7host=127.0.0.1 port启动端口ame配置名称host绑定IP性能指标纯HTTP服务指标测试采用4GB内存2核Ubutu服务器测试,SSD硬盘CocurrecyLevel:1000Timetakefortests:9.792secodsCompleterequests:99350Failedrequests:0No-2xxresposes:99350Totaltrasferred:12319400bytesHTMLtrasferred:1987000bytesRequestspersecod:10146.27[#/sec](mea)Timeperrequest:98.558[ms](mea)Timeperrequest:0.099[ms](mea,acrossallcocurretrequests)Trasferrate:1228.65[Kbytes/sec]received 查询速度测试条件在SSD硬盘下,6600个数据库下,查找6000个符合查询的数据库名称Time:0.1sSoftwareCPU:5% 实现原理抛弃以前开发的LiwiDBServer数据库的设计,把数据全部加载到内存改为直接硬盘读取,避免了加载数据的时间和内存占用简单粗暴,吸取了LiwiDBServer数据库设计不足,改良了Myscript数据库脚本,使其更加SQL化Key-Value数据库,不过于此不同的是,不再是简单的Key和Value相对应,效仿SQL用户||数据库1|-|数据1-|Key1-Value1||-||Key2-Value2|数据库2|-|数据2 JavaHashMap对象写入或者读取文件,对HashMap对象进行读取和写入,读取效率快而且准确率高文档提供中文文档 https://gitee.com/LiWi-Cloud/metalite-server/wikis合作伙伴LiWi-Cloudzmh-program关注B站: https://space.bilibili.com/1012391123OSCHINA: https://my.oschia.et/LiWiCloudGithub: https://github.com/LiWi-Cloud/Gitee: https://github.com/LiWi-Cloud/点击空白处退出提示







评论