Pinned Repositories
activemq
Mirror of Apache ActiveMQ
AdvBox
Python toolbox to create adversarial examples that fool neural networks in Paddle, TensorFlow, Caffe2, … AI安全工具箱
alibaba-mom
2015 ali中间件比赛项目,1. 通信模块: 涉及到了消息架构设计,每一个主题分配1-2个队列,这个是可以横向增加,考虑到了一个主题有多个消费者订阅,而且还有过滤条件,为了负载均衡,对应的队列投递消息是根据随机数对队列数取膜完成的。以上是内存队列。 2. 持久化系统:因为考虑到机器坏掉,broker不可用等等原因导致的消息丢失,就需要每次收到的消息必须及时落盘,这个就是比赛优化的重中之重。为此设计了一个小型的文件系统,借鉴阿里的rocketmq. 用一个大的日志文件,一般1G大小每个,和内存队列的结构映射到实体队列。整个日志文件是顺序文件,每条消息固定大小,里面有对应的队列号,消息号,还有长度等等。这个方便恢复消息到实体队列用的。 同步刷盘,异步刷盘,持久化必须可靠,所以一般是同步刷盘到日志文件,日志文件定时异步刷盘到实体队列,实体队列里面是索引,消息的本体在日志文件里面。为了加快大面积的写入速度,用了内存映射:内存映射文件首先将外存上的文件映射到内存中的一块连续区域,被当成一个字节数组进行处理,读写操作直接对内存进行操作,而后再将内存区域重新映射到外存文件,这就节省了中间频繁的对外存进行读写的时间,大大降低了读写时间
blade
:rocket: A Simple, Elegant Java Web Framework! website →
ChineseCodingInterviewAppendix
The source code for the appendix part of the Chinese version of the book Coding Interviews
cosmos
c++11基础库
ctci
Cracking the Coding Interview, 5th Edition
dail_eclipse
eclipse提交的短信拨号器
druid-1
为监控而生的数据库连接池!
MarkdownEditing
Powerful Markdown package for Sublime Text with better syntax understanding and good color schemes.
hl174's Repositories
hl174/AdvBox
Python toolbox to create adversarial examples that fool neural networks in Paddle, TensorFlow, Caffe2, … AI安全工具箱
hl174/MarkdownEditing
Powerful Markdown package for Sublime Text with better syntax understanding and good color schemes.
hl174/activemq
Mirror of Apache ActiveMQ
hl174/alibaba-mom
2015 ali中间件比赛项目,1. 通信模块: 涉及到了消息架构设计,每一个主题分配1-2个队列,这个是可以横向增加,考虑到了一个主题有多个消费者订阅,而且还有过滤条件,为了负载均衡,对应的队列投递消息是根据随机数对队列数取膜完成的。以上是内存队列。 2. 持久化系统:因为考虑到机器坏掉,broker不可用等等原因导致的消息丢失,就需要每次收到的消息必须及时落盘,这个就是比赛优化的重中之重。为此设计了一个小型的文件系统,借鉴阿里的rocketmq. 用一个大的日志文件,一般1G大小每个,和内存队列的结构映射到实体队列。整个日志文件是顺序文件,每条消息固定大小,里面有对应的队列号,消息号,还有长度等等。这个方便恢复消息到实体队列用的。 同步刷盘,异步刷盘,持久化必须可靠,所以一般是同步刷盘到日志文件,日志文件定时异步刷盘到实体队列,实体队列里面是索引,消息的本体在日志文件里面。为了加快大面积的写入速度,用了内存映射:内存映射文件首先将外存上的文件映射到内存中的一块连续区域,被当成一个字节数组进行处理,读写操作直接对内存进行操作,而后再将内存区域重新映射到外存文件,这就节省了中间频繁的对外存进行读写的时间,大大降低了读写时间
hl174/cosmos
c++11基础库
hl174/expr
Expression evaluation engine for Go: fast, non-Turing complete, dynamic typing, static typing
hl174/go-collection
:tulip: awesome awesome go, study golang from basic to proficient
hl174/go-parser
A small wrapper around the parser and ast packages
hl174/gopher
Go 学习路线图,包括基础专栏,进阶专栏,源码阅读,实战开发,面试刷题,必读书单等一系列资源
hl174/grpc
The C based gRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)
hl174/hl174.github.io
This is my blog
hl174/Interview-Notebook
:books: 技术面试需要掌握的基础知识整理,欢迎编辑~
hl174/InterviewGolden
程序员面试金典Java实现
hl174/json
JSON for Modern C++
hl174/kafka
Mirror of Apache Kafka
hl174/leetcode
LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。)
hl174/libuv
Cross-platform asynchronous I/O
hl174/machine-learning-yearning
Translation of <Machine Learning Yearning> by Andrew NG
hl174/mahout
Mirror of Apache Mahout
hl174/muduo
A C++ non-blocking network library for multi-threaded server in Linux
hl174/nginx
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
hl174/note
个人笔记
hl174/recipes
Some code snippets for sharing
hl174/redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, HyperLogLogs, Bitmaps.
hl174/rudp
Reliable UDP
hl174/sandstorm
Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
hl174/structs
Utilities for Go structs
hl174/tensorflow-zh
谷歌全新开源人工智能系统TensorFlow官方文档中文版
hl174/tour
[mirror] A Tour of Go
hl174/typhoon-blade
Building system of typhoon cloud computing platform of tencent, support C/C++/protobuf/thrift/lex/yacc/swig.