GithubHelp home page GithubHelp logo

tt-client's Introduction

  1. 依赖于tornado的IOLoop, 简单的测试服务

  2. 两批用记同时登陆,然后第一批用户向第二批用户发消息, 如下 ''' a1->b1 a2->b2 a3->b3 ...

  3. 按时间片工作,如每个时间片为60s, _time_piece为工作时间片,_sleep_loop为sleep时间

    def __init__(self):
        self._fd_map = {}
        self._start = int(time.time())
        self._io_loop = IOLoop.current()
        self._time_piece = 60  # second
        self._sleep_loop = 5
    
    
  4. 测试用户数目等的配置文件在config.py

  5. 测试账号用users_gen.py生成

tt-client's People

Stargazers

 avatar

Watchers

James Cloos avatar szqh97 avatar  avatar

Forkers

wormon

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.