Giter VIP home page Giter VIP logo

zmq-based-benchmarktesttool's Introduction

zmq-based-benchmarktesttool

基于ZMQ(分布式消息队列)的性能测试工具。

特色:

  • 基于ZMQ,ZMQ号称史上最快的消息内核,性能优异,ZMQ官网链接:http://zeromq.org/。 消息队列性能测试对比:http://kb.cnblogs.com/page/100982/。
  • 支持同步异步模式,同步接口异步化,解除客户端接口类型为异步的限制。
  • 支持分布式,可在多核、多进程、多机器上轻松扩展。可使用ZMQ socket通信模型比较容易的构建轻量级的mapreduce框架。
  • 使用python开发性能测试工具前提下,ZMQ模式可以充分利用机器资源,python多线程无法利用多核资源,python多进程队列性能性能明显低于ZMQ方式,且无法向多机器扩展。
  • 跨语言、跨平台,可使用python快速原型验证之后扩展为其他语言,支持C++, C#, CL, Delphi, Erlang, F#, Felix, Haskell, Java, Objective-C, Ruby, Ada, Basic, Clojure, Go, Haxe, Node.js, ooc, Perl, and Scala等几乎所有语言。
  • 高性能,使用工具demo测试用户偏好http接口,QPS约15000左右,截图如下:
    image
  • 相同模型,不接入http,所有模块只传输32字节消息,QPS约22万:
    image

初步demo开发完成,后续逐步完善...

zmq-based-benchmarktesttool's People

Contributors

junneyang avatar

Watchers

James Cloos avatar  avatar  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.