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
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-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
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,直接用汇编就好了
2019-05-06 19:49:39 +08:00
回复了 emeab 创建的主题 PHP Swoole 的框架哪个毕竟好入门
别问,用 go
把手机作为一个第三方登录 /绑定,数据到第三方绑定表,手机登陆后,用户选择绑定原有账号还是重新创建
2017-07-18 09:41:50 +08:00
回复了 biocom 创建的主题 MySQL 整数 int 类型的数据(如订单号)有必要加索引吗?
[写了三年代码才知道 mysql 索引这样用]( http://www.jianshu.com/p/d08f16867012)
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3469 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 10:35 · PVG 18:35 · LAX 03:35 · JFK 06:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.