Coder Social home page Coder Social logo

simmud's People

Contributors

lichen-liu avatar qsnsidney avatar rayhrx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

simmud's Issues

Creating #clients vs update interval relationship

Line chart of #clients vs update interval

2 charts, 1 for with quest, 1 for no quest

A script used for generating these 2 graphs:

all_data = [(#client, update_interval, spread/static, quest/noquest)]
for each run:
    spread_or_static_str, with_quest_or_no_quest_str, num_clients = read(label.txt) # 'spread'/'static', 'quest'/'noquest', num_clients
    for each csv:
        moving_average(request_time)
        moving_average(update_time)
    for i in each iteration:
        update_interval[i] = max([at(i) for each request_time]) + max([at(i) for each update_time])
    all_data.append((max(update_interval), spread_or_static_str, with_quest_or_no_quest_str)

for quest_mode in ['spread', 'static']:
    chart = chart()
    chart.plot(x=[#client], y=[update_interval], line_label='spread')
    chart.plot(x=[#client], y=[update_interval], line_label='static')

Use this chart to analyze the scalability, and compare static with spread.
Use the #request, #update, request time, update time trajectory charts for identifying bottleneck.

  • generate large amount of data running server 400seconds

  • properly label the data in the folder, with the comma separate format saved as label.txt
    "spread"/"static", "quest"/"noquest", # clients

  • script

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.