文盘Rust -- 用Tokio实现简易任务池
Tokio无疑是Rust世界中最优秀的异步Runtime实现。非阻塞的特性带来了优异的性能,但是在实际的开发中我们往往需要在某些情况下阻塞任务来实现某些功能。
Stella981 Stella981
4年前
Redis Linux 安装运行实战全记录
下载Redis去Redis官网下载最新的Linux包,Redis官方没有Windows版的下载。https://redis.io/(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fredis.io%2F)下载后把包上传到Linux服务器。安装Red
Stella981 Stella981
4年前
Cartographer安装
安装过程:官方安装教程:https://googlecartographerros.readthedocs.io/en/latest/index.htmlInstallwstoolandrosdep.sudoaptgetupdatesudoaptgetinstallypython
Stella981 Stella981
4年前
Android AsyncTask实现
AsyncTask是android中一个非常好用的异步执行工具类。AsyncTask的应用AsyncTaskenablesproperandeasyuseoftheUIthread.这个类允许执行后台操作并在UI线程中发布结果,而却不需要管理threads和/或handlers。Asy
Stella981 Stella981
4年前
Redis 哨兵机制
虽然现在使用哨兵主从的方式比较少了,但通过理解Redis哨兵,我们能获得更深入的分布式的知识。https://redis.io/topics/sentinel(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fredis.io%2Ftopics%2Fsentinel)
Stella981 Stella981
4年前
Docker 安装 Redis
国外镜像太慢了。可以找一个国内的。比如:https://hub.daocloud.io/(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fhub.daocloud.io%2F) 【其它的应用安装我都是用的 阿里 镜像:https://cr.console.aliyun.com/(ht
Stella981 Stella981
4年前
FCES2019 panel1:智能化敏捷教学体系是什么新鲜玩意儿?
!(https://usergoldcdn.xitu.io/2019/7/23/16c1cc458d47d4fc?w1080&h720&fwebp&s39710)!(https://usergoldcdn.xitu.io/2019/7/23/16c1cc458d47d4fc?imageView2/0/w/1280/h/960/form
Stella981 Stella981
4年前
Redis命令总结
连接操作相关的命令quit:关闭连接(connection)auth:简单密码认证持久化save:将数据同步保存到磁盘bgsave:将数据异步保存到磁盘lastsave:返回上次成功将数据保存到磁盘的Unix时戳shun
Stella981 Stella981
4年前
SpaceVim 新增 nim 语言支持
最近,给SpaceVim添加了nim语言支持。目前实现的功能包括:代码补全语法检查异步编译执行REPLhttps://spacevim.org/layers/lang/nim/(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fspac
Promise规范与原理解析 | 京东物流技术团队
Promise对象用于清晰的处理异步任务的完成,返回最终的结果值,本次分享主要介绍Promise的基本属性以及Promise内部的基础实现,能够帮我们更明确使用场景、更快速定位问题。