Code Monkey home page Code Monkey logo

funnel's Issues

Make the tests pass on Travis CI

[error] (flask/test:test) sbt.TestsFailedException: Tests unsuccessful
[error] (integration/test:test) sbt.TestsFailedException: Tests unsuccessful
[error] (chemist/test:test) sbt.TestsFailedException: Tests unsuccessful

get rid of use of Seq

we are passing the Seq type around in a bunch of places. This type is an abomination we should avoid, since Seq doesn't tell us if the set is bounded, and doens't tell us if the set is immutable. There are, in fact, places in our code where we end up with a mutable Buffer. Even worse though is that there are places that we are calling .length on a List. We should probably just converge on Vector all these places.

Deadlock in agent found during load test

During a load test we uncovered a situation where an application may become blocked by the funnel agent.

The working theory is as follows:

  1. The flask becomes very slow due to very frequent key queries (this has since been fixed)
  2. The agent is performing blocking writes to the stream requests. Since the consumer is not consuming, they end up essentially blocked.
  3. The operation to add a metric performs a compareAndSet, which blocks the current thread while waiting for reads to complete.

Copying a large stack trace here:

stack_trace.txt

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.