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

jianzhiyao020

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