Git Product home page Git Product logo

compass-serverstats's Issues

Where should simulating load test scripts/workflows live?

@aherlihy Developed some Python scripts that simulate load and thus help test the real-time nature of the RTSS graphs:

The Compass Sydney Team recently found them useful as part of testing the COMPASS 1.5 Feature Matrix.

My initial thoughts - options are:

  1. Retain the existing manual workflow and just document that they exist, e.g. in the README?
  2. Convert them to node/JS to work with the npm run storybook ? Or...
  3. Is it at such a different level that you'd need to mock or capture/replay some raw data?
  4. If you're actually at that level, should we write a fuzzer or something similar like the server has done? Would that be likely to yield better enzyme or similar tests?
  5. Any other suggestions?

Can't install with --only=production

Steps to repro:

  • Clone this repo
  • npm install --only=production
  • npm run compile

Error: Couldn't find preset "es2015" relative to directory

The fix is to include babel-preset-es2015 in dependencies.

This is an issue because when we package Cloud, we want to compile for production only, and compass-serverstats is erroring out due to the prepublish script: https://evergreen.mongodb.com/task/mms_package_rpm_PACKAGE_CLOUD_patch_584bb6ca255365eda8aa94550988b5222d23feee_59d2a363e3c3313610000aa6_17_10_02_20_36_51

@durran @imlucas

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.