会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
uniqs
博客园
首页
新随笔
联系
订阅
管理
[置顶]
uredis ------ 异步 redis 封装的访问库(c++),基于hiredis.
摘要: 详见 github : https://github.com/uniqss/uredis 底层使用hiredis库,使用libuv库。 只支持异步 支持分表分库,一般是用玩家的ID去取模,比如分库100的话,就是有100个库,当然你也可以把某些库配到一起去,比如你是个休闲小APP,上线的时候不想要太
阅读全文
posted @ 2020-02-13 12:53 uniqs
阅读(356)
评论(0)
推荐(0)
2023年10月26日
murmurhash64B c# 实现 c++ 实现
摘要: c#实现: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace gjh.utility { public class MurmurHash64B { publi
阅读全文
posted @ 2023-10-26 17:01 uniqs
阅读(48)
评论(0)
推荐(0)
2020年10月29日
templatedcodegenerator 简单模板化代码生成器
摘要: 自动化代码生成器
阅读全文
posted @ 2020-10-29 21:19 uniqs
阅读(257)
评论(0)
推荐(0)
2020年10月26日
时间轮定时器,仿linux内核,一个毫秒级一个100毫秒级,支持C++/go/js语言
摘要: https://github.com/uniqss/uniqstimer 五个轮 每个轮里面有256个槽 精度1MS 总共256*5=1280个槽 总共是2^40=1,099,511,627,776MS =12,725.829天 =34.865年 34年,应该一般的场景够用了。适用于时间精度要求非常
阅读全文
posted @ 2020-10-26 10:21 uniqs
阅读(380)
评论(0)
推荐(0)
2019年12月4日
centos 配置自动启动(nginx为例)
摘要: [Unit] Description=nginx After=network.target [Service] Type=forking ExecStart=/usr/local/nginx/sbin/nginx ExecReload=/usr/local/nginx/sbin/nginx -s r
阅读全文
posted @ 2019-12-04 16:44 uniqs
阅读(368)
评论(0)
推荐(0)
解决dotnet错误 System.InvalidOperationException Message=Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
摘要: 开始=》设置=》manage user certificats (管理用户证书),里面所有的.net core的全部删除 然后控制台执行: dotnet dev-certs https --clean dotnet dev-certs https --trust 参考:https://www.dav
阅读全文
posted @ 2019-12-04 13:33 uniqs
阅读(1801)
评论(0)
推荐(0)
2019年11月27日
nginx 源码编译 用OPENSSL源码 开启 SSL
摘要: 1 ./configure --prefix=/usr/local/nginx --with-openssl=/home/uniqs/thirdparty/openssl/openssl-1.1.1d --with-http_ssl_module 当然了要先把openssl编译安装,也可以PCRE/
阅读全文
posted @ 2019-11-27 23:58 uniqs
阅读(995)
评论(0)
推荐(0)
公告