Git Product home page Git Product logo

LincYang's Projects

algo icon algo

数据结构和算法必知必会的50个代码实现

alibaba-mom icon alibaba-mom

2015 ali中间件比赛项目,1. 通信模块: 涉及到了消息架构设计,每一个主题分配1-2个队列,这个是可以横向增加,考虑到了一个主题有多个消费者订阅,而且还有过滤条件,为了负载均衡,对应的队列投递消息是根据随机数对队列数取膜完成的。以上是内存队列。 2. 持久化系统:因为考虑到机器坏掉,broker不可用等等原因导致的消息丢失,就需要每次收到的消息必须及时落盘,这个就是比赛优化的重中之重。为此设计了一个小型的文件系统,借鉴阿里的rocketmq. 用一个大的日志文件,一般1G大小每个,和内存队列的结构映射到实体队列。整个日志文件是顺序文件,每条消息固定大小,里面有对应的队列号,消息号,还有长度等等。这个方便恢复消息到实体队列用的。 同步刷盘,异步刷盘,持久化必须可靠,所以一般是同步刷盘到日志文件,日志文件定时异步刷盘到实体队列,实体队列里面是索引,消息的本体在日志文件里面。为了加快大面积的写入速度,用了内存映射:内存映射文件首先将外存上的文件映射到内存中的一块连续区域,被当成一个字节数组进行处理,读写操作直接对内存进行操作,而后再将内存区域重新映射到外存文件,这就节省了中间频繁的对外存进行读写的时间,大大降低了读写时间

ambryx icon ambryx

根据领英开源的Ambry进行改造

ant-design-pro icon ant-design-pro

👨🏻‍💻👩🏻‍💻 An out-of-box UI solution for enterprise applications

apollo icon apollo

Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。

atlas icon atlas

A high-performance and stable proxy for MySQL

avatarmq icon avatarmq

AvatarMQ is a distributed message queue system based on Netty (Java-NIO framework).

awesome-python icon awesome-python

A curated list of awesome Python frameworks, libraries, software and resources

baseio icon baseio

An io framework project based on java nio

bashsql icon bashsql

BashSQL is a very easy and simple database command line tool, the software is fully developed using Bash scripts, its main purpose is to help programmers to quickly learn Bash script programming. BashSQL can support MySQL (default), Oracle, Redis, MongoDB, SunlightDB, TiDB, GBase, Mycat and other general-purpose database and database middleware system. Compared with the commonly used command line tools, do not have to enter the cumbersome string landing database, have a more clear command prompt information. Of course, you can also customize the keywords to help you quickly query, retrieve, update the data. In the graphical interface can not use the environment, BashSQL is a good alternative tool. SunlightDB 2017 is a decentralized block-chain database. Using C language development, with millions of write operations per second, storing PB level data and sub-second response time performance. SunlightDB is designed to start with a distributed database that incorporates many block-chain features, such as de-centric operations, creating and moving digital assets. SunlightDB inherits the characteristics of modern distributed databases: throughput and capacity are linearly related to the number of nodes, fully support SQL query language, efficient query and management. Because it is built on an existing distributed database, it also inherits enterprise-level robustness at the code level.

blade icon blade

:rocket: Lightning fast and elegant mvc framework for Java8

blog icon blog

每周一篇,内容精简,不咸不淡,期盼探讨。微信公众号:芋道源码【纯源码分享公众号】

blog_demos icon blog_demos

CSDN博客专家程序员欣宸的github,这里有六百多篇原创文章的详细分类和汇总,以及对应的源码,内容涉及Java、Docker、Kubernetes、DevOPS等方面

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.