jianzhiyao020's recent timeline updates
jianzhiyao020's repos on GitHub
Go · 8 watchers
go-segment
基于 sego 分词提供分词 HTTP RPC
Go · 6 watchers
gclient
http request tool for golang
JavaScript · 3 watchers
ETips3.0Web
Go · 2 watchers
sgo
Make your site friendly to search engine
Go · 1 watchers
lru_bloom_filter
LRU Bloom filter with obsolescence persistence strategy
0 watchers
bbolt
An embedded key/value database for Go.
0 watchers
bee
Bee is a tool for helping develop with beego app framework.
0 watchers
beedoc
An open source project for beego documentation.
Go · 0 watchers
beego
beego is an open-source, high-performance web framework for the Go programming language.
JavaScript · 0 watchers
bin-pack
A packing algorithm for 2D bin packing. Largely based on code and a blog post by Jake Gordon.
0 watchers
bitnami-docker-openresty
Bitnami Docker Image for OpenResty
0 watchers
blog-cn
C++ · 0 watchers
ChatWithFile
0 watchers
clickhouse-go
Golang driver for ClickHouse
Go · 0 watchers
Data-Structures-and-Algorithms
Data Structures and Algorithms implementation in Go
Shell · 0 watchers
docs-cn
TiDB/TiKV/PD documentation in Chinese.
JavaScript · 0 watchers
electron-as-browser2
Make electron like browser easy and flexible.
0 watchers
electron-navigation
A Node.js module that adds a navigation interface to Electron which allows you to browse the internet or view local HTML files with tabs and webviews.
PHP · 0 watchers
Etips_Server
0 watchers
fate
fate 命运 起名 算命 宝宝起名 起名助手 宝宝取名
0 watchers
flycash
Hello
0 watchers
gfwlist
The one and only one gfwlist here
0 watchers
gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
0 watchers
gin-vue-admin
基于vite+vue3+gin搭建的开发基础平台,集成jwt鉴权,权限管理,动态路由,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器等开发必备功能,五分钟一套CURD前后端代码,欢迎issue和pr~
0 watchers
go-admin
A golang framework helps gopher to build a data visualization and admin panel in ten minutes
Go · 0 watchers
go-json-iterator
A high-performance 100% compatible drop-in replacement of "encoding/json"
Go · 0 watchers
golang-lru
Golang LRU cache
0 watchers
gorm
The fantastic ORM library for Golang, aims to be developer friendly (v2 is under public testing...)
PHP · 0 watchers
H5Activity
Makefile · 0 watchers
http2curl
:triangular_ruler: Convert Golang's http.Request to CURL command line
Lua · 0 watchers
icombo
iCombo类似于PHP的minify,Lua开发,可以合并CSS、JS文件,减少请求数。
0 watchers
jianzhiyao
0 watchers
kubernetes
Production-Grade Container Scheduling and Management
0 watchers
laravel-admin
Build a full-featured administrative interface in ten minutes
0 watchers
Linux-Kernel-2.6-comment
这里面的代码注释,前后花了六年时间,几乎所有重要的内核子系统都注释了,例如中断、互斥、时钟、信号、内存、调度、网络协议栈、文件系统
PHP · 0 watchers
Mega-WeChat
基于Swoole的微信发送模板消息队列服务
Lua · 0 watchers
nginx-lua-static-merger
Static file merger base on openresty
JavaScript · 0 watchers
node-xhprof
allows retrieval and processing of PHP XHProf data (reading only, does not write XHProf data)
PHP · 0 watchers
pay
可能是我用过的最优雅的 Alipay 和 WeChat 的支付 SDK 扩展包了
0 watchers
php-co-koa
PHP异步编程: 手把手教你实现co与Koa
0 watchers
php7-internal
PHP7内核剖析
0 watchers
protoc-gen-markdown
markdown doc generator for protobuf
0 watchers
README
README文件语法解读,即Github Flavored Markdown语法介绍
Go · 0 watchers
sego
Go中文分词
0 watchers
SunRunAway
0 watchers
test_go
Go · 0 watchers
tidb
TiDB is an open source distributed HTAP database compatible with the MySQL protocol
0 watchers
tinykv
A course to build distributed key-value service based on TiKV model
JavaScript · 0 watchers
ueditor
rich text 富文本编辑器
PHP · 0 watchers
umeng-message-sdk-php
友盟消息推送SDK(PHP composer版)
JavaScript · 0 watchers
vue
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
0 watchers
WaterPHP
PHP · 0 watchers
wechat
微信公众平台第三方 SDK 开发包,优雅、健壮,可扩展,遵循 PSR 开发规范。
0 watchers
withshubh
0 watchers
yangkuiking
jianzhiyao020

jianzhiyao020

V2EX member #198798, joined on 2016-10-28 15:30:24 +08:00
jianzhiyao020's recent replies
May 7, 2020
Replied to a topic by zijing07 问与答 遇到一道面试题,分布式 LRU 的设计。
1.LRU 就普通的 LRU,但是实际使用上来说,需要提供 evict 事件,提供持久化缓存数据的操作机会
2.内存放不下,提供 onCacheMiss 事件和 OnEvict 事件,喜欢咋搞咋搞
3.多线程就加锁嘛,这里怕锁的堆积的话,可以把读文件和写文件搞到队列里面进行
4.分布式一致性 hash,hash 到分片操作
Sep 21, 2019
Replied to a topic by amxku PostgreSQL 请教一个唯一写入的问题
你这个数据是近 N 天唯一,
假设解决办法 A 是获取一个近 N 天唯一的 hash,
先假设 A 可行,
那么每次获取的时候都能获取到近 N 天的唯一值,
随着时间推移,
那么这个 hash 将一直保持不变,
那么也就是说:近 N 天“唯一”这个需求就不成立了,
自己推翻了自己。
证毕。
Sep 21, 2019
Replied to a topic by amxku PostgreSQL 请教一个唯一写入的问题
pgsql 估计不行了,redis 辅助一下还可以,存一个过期时间为:1,3,5,7 天的键,去辅助快速检查
Sep 4, 2019
Replied to a topic by zjsxwc 程序员 Web 开发真的还需要框架吗?
写 web 为什么要用 java 和 PHP,直接用汇编就好了
把手机作为一个第三方登录 /绑定,数据到第三方绑定表,手机登陆后,用户选择绑定原有账号还是重新创建
[写了三年代码才知道 mysql 索引这样用]( http://www.jianshu.com/p/d08f16867012)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5839 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 53ms · UTC 03:28 · PVG 11:28 · LAX 20:28 · JFK 23:28
♥ Do have faith in what you're doing.