自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 高性能、分布式、低延迟的发布订阅中间件对比 Redis 和 emitter

需求: 金融项目,需要实时行情数据,例如orderbook、ticker等数据,毫秒级延迟, 可以容忍数据少量丢失,对实时性要求最高对比redis和emitter的发布订阅功能1. emitter安装使用*使用docker安装, 方便快捷docker run emitter/server2022/03/03 03:13:07 [service] unable to find a license, make sure 'license' value is set in the config fil

2022-03-03 11:33:31 698

原创 python 重写Logger error方法添加better_exceptions来记录详细日至

1. better_exceptions 包Pretty and useful exceptions in Python, automatically.githubeg:import sysimport loggingimport better_exceptionslogger = logging.getLogger(__name__)try: a = {1: 1, 2: 2, 3: 34, 4: [1, 2, 3, 45]} print(a[6])except Ex

2021-08-03 11:56:54 524 1

原创 iterm2出现pyenv:11: command not found: pyenv,prompt_status:5: command not found: wc

iterm2出现pyenv:11: command not found: pyenv,prompt_status:5: command not found: wcsource .zshrc出现报错,发现好多命令无法使用早上想跑一个go的项目,所以在.zshrc里面添加PATH=$GOPATH/bin,结果就出现了以下问题:pyenv:11: command not found: pyenv...

2018-09-19 11:17:26 4219

原创 linux下安装以太坊(ETH/ETC)节点

linux下安装以太坊(ETH/ETC)节点使用以太坊进行转账等操作可以自己安装节点目前大约300G左右硬盘即可,可以离线签名交易,不依赖中心化交易所或者去中心化钱包,保证自己以太坊的安全,免去了使用冷钱包的复杂操作,此章介绍如何在ubuntu16.04上安装parity节点,以及使用geth console来和链交互,离线交易使用python,将在后面介绍:parity的安装linu...

2018-09-16 23:56:12 7742

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除