liupd Goto Github PK
Type: User
Type: User
Algorithms learning note and LeetCode solution
2015 ali中间件比赛项目,1. 通信模块: 涉及到了消息架构设计,每一个主题分配1-2个队列,这个是可以横向增加,考虑到了一个主题有多个消费者订阅,而且还有过滤条件,为了负载均衡,对应的队列投递消息是根据随机数对队列数取膜完成的。以上是内存队列。 2. 持久化系统:因为考虑到机器坏掉,broker不可用等等原因导致的消息丢失,就需要每次收到的消息必须及时落盘,这个就是比赛优化的重中之重。为此设计了一个小型的文件系统,借鉴阿里的rocketmq. 用一个大的日志文件,一般1G大小每个,和内存队列的结构映射到实体队列。整个日志文件是顺序文件,每条消息固定大小,里面有对应的队列号,消息号,还有长度等等。这个方便恢复消息到实体队列用的。 同步刷盘,异步刷盘,持久化必须可靠,所以一般是同步刷盘到日志文件,日志文件定时异步刷盘到实体队列,实体队列里面是索引,消息的本体在日志文件里面。为了加快大面积的写入速度,用了内存映射:内存映射文件首先将外存上的文件映射到内存中的一块连续区域,被当成一个字节数组进行处理,读写操作直接对内存进行操作,而后再将内存区域重新映射到外存文件,这就节省了中间频繁的对外存进行读写的时间,大大降低了读写时间
Collect and classify android open source projects 微信公众号:codekk 网站:
A RESTful sample using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer
后端架构师技术图谱
阿里巴巴异步并行加载工具(依赖字节码技术)
generic csv file neo4j batch importer
将"优雅的SSM框架"服务化治理(基于Dubbo+Zookeeper)
nick'blog
每周一篇,内容精简,不咸不淡,期盼探讨。微信公众号:芋道源码【纯源码分享公众号】
博客中的源代码。如果源代码比较少就写在这里,如果比较多的话就单独开一个新的仓库。
DCloud开源项目集锦
基于Netty+Redis+protobuf开发的即时通讯服务器
Java NIO+多线程实现聊天室
开发中写得代码片段,后续可以直接用
微信第三方开放平台、微信支付SDK
:cactus:《实战java高并发程序设计》源码整理
High performance Java client for APNS(Apple Push Notification Service)
mybatis,包括分页封装
Study Design Pattern
SpringMVC Mybatis MySql Mina Js Ajax 社交类
:zap:A simple and support the restful structure of the Java MVC framework, I have little talent and less learning, we hope the exhibitions
基于Dubbox最新版本重新开发的简单监控
快速、简单避免OOM的java处理Excel工具
A Data Access Framework Base Spring JdbcTemplate
Elastic-Job is a distributed scheduled job framework, based on Quartz and Zookeeper.
Elastic-Job Spring Boot 自动集成,只需要一个注解即可发布Job
examples
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.