Code Monkey home page Code Monkey logo

mycat-ipc's Introduction

Mycat IPC

Mycat java进程间超高性能通信服务框架 ####特性

  1. 使用共享内存映射的技术,多进程之间数据传递直接操作内存,性能极高
  2. 实现了无锁多进程/多线程读写的逻辑,多个进程可以同时并发读写
  3. HP ZBook笔记本测试,单一队列,两个进程通信,最高高达每秒500万的消息传输,3组进程分别对应3个队列,总和超过1000万每秒消息

####使用方式 1. 启动 io.mycat.ipc.Reader 创建一个空白队列,等待和读取消息 2. 启动 io.mycat.ipc.Writer 写入消息

HP ZBook 17上 在Eclipse里启动上述两个进程的测试结果截图 image

image 注意,由于Windows任务调度的问题,经常会有Read进程得不到调度而停顿的现象,从屏幕输出可以看到此现象。 ####限制 1. JDK 要求 SunJDK 1.8

####内存格式图 image

mycat-ipc's People

Contributors

fireflyhoo avatar apachemycat avatar qgl avatar

Watchers

James Cloos avatar LeeJango avatar

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.