CodeVoyantX的头像 ID: 45032836165

CodeVoyantX

HelloWorld 社区成员

4221643332

文章6
个人网站0
加入社区2025

一种异步延迟队列的实现方式

作者:京东零售张路瑶1.应用场景目前系统中有很多需要用到延时处理的功能:支付超时取消、排队超时、短信、微信等提醒延迟发送、token刷新、会员卡过期等等。通过延时处理,极大的节省系统的资源,不必轮询数据库处理任务。目前大部分功能通过定时任务完成,定时任务还分使用qua

[python]文件读取,正则化,json

json使用(https://link.segmentfault.com/?enckl5kxmaK6mlVIjJhr02K%2Fg%3D%3D.GaYcQtGDoP86dhHuRMNGGkVDwjrSBL2Z33bqRImoYjKweI4cfjz56bncE9wdzL0v)读写js

多任务(2):多线程

<blockquote代码环境:python3.6</blockquote上一篇文章我们介绍了python中多进程的使用:点击阅读(https://segmentfault.com/a/1190000021679643),现在我们讲讲多线程。进程由若干个线程组成,一

git push:update the ref 报错解决

gitpush时报错<pre<codeerror:update_reffailedforref&39;refs/remotes/origin/master&39;:cannotupdatetheref&39;refs/remotes/origin/master

OpenWrt:libubox之uloop

数据结构:<pre<codestructuloop_fd{uloop_fd_handlercb;intfd;booleof;boolerror;