Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Share circuit breakers between workers #227

Open
wants to merge 51 commits into
base: implement_lru_cache
Choose a base branch
from

Commits on Jun 26, 2019

  1. WIP: Move CircuitBreaker implementation to shared memory

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e74c999 View commit details
    Browse the repository at this point in the history
  2. WIP: Move Simple::State to shared memory

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e89c2c5 View commit details
    Browse the repository at this point in the history
  3. WIP: Working Simple::Integer and Simple::State

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    bb0e96e View commit details
    Browse the repository at this point in the history
  4. WIP: Working Simple::SlidingWindow in shared memory

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    1d04c0c View commit details
    Browse the repository at this point in the history
  5. Compile in C99 mode

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    3d78bbe View commit details
    Browse the repository at this point in the history
  6. Fixes from code review

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e20c078 View commit details
    Browse the repository at this point in the history
  7. Added a dprintf function

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    569a551 View commit details
    Browse the repository at this point in the history
  8. Write failing race test

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    f55e521 View commit details
    Browse the repository at this point in the history
  9. Allow fallback to Ruby to be toggled by env var

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    f517f75 View commit details
    Browse the repository at this point in the history
  10. Set up single semaphore

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    7c0fc80 View commit details
    Browse the repository at this point in the history
  11. Move default permissions into sysv_semaphore header

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    7325b47 View commit details
    Browse the repository at this point in the history
  12. Clarify critical sections

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    3c45b3f View commit details
    Browse the repository at this point in the history
  13. Rename rb_val->retval

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    35217ae View commit details
    Browse the repository at this point in the history
  14. Change flag for choosing circuit implementation

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    7ba1e9e View commit details
    Browse the repository at this point in the history
  15. Clarify flag scope

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    8e64bd0 View commit details
    Browse the repository at this point in the history
  16. Use semaphore locks around sliding window

    spike01 authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    def383d View commit details
    Browse the repository at this point in the history
  17. Stylistic changes

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    efb62a9 View commit details
    Browse the repository at this point in the history
  18. Quick script to reset IPC state

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    7474bed View commit details
    Browse the repository at this point in the history
  19. More locks around shared data structures

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    203cdfd View commit details
    Browse the repository at this point in the history
  20. Reduce test flakiness with unique resource names

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    f251c8f View commit details
    Browse the repository at this point in the history
  21. Grow/shrink the sliding window's max_size

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    128788f View commit details
    Browse the repository at this point in the history
  22. Ignore CLion project files

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    5bb4d65 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f6bcf7f View commit details
    Browse the repository at this point in the history
  24. Fixed compile error

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    3498109 View commit details
    Browse the repository at this point in the history
  25. Removed spammy debug message

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e4631b0 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    effaea6 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    bff9225 View commit details
    Browse the repository at this point in the history
  28. Allow SEMIAN_DEBUG to enable debug messages

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    0ae9c55 View commit details
    Browse the repository at this point in the history
  29. Ignore log files

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    26aa0dd View commit details
    Browse the repository at this point in the history
  30. Review comments

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    43f6a57 View commit details
    Browse the repository at this point in the history
  31. new build matrix

    epk authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    dafe362 View commit details
    Browse the repository at this point in the history
  32. make workdir similar to travis path

    epk authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    63495a9 View commit details
    Browse the repository at this point in the history
  33. Exclude running tests with host-based circuits for gemfiles

    epk authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    13763b1 View commit details
    Browse the repository at this point in the history
  34. fix typo

    epk authored and Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e2f8a5d View commit details
    Browse the repository at this point in the history
  35. Ignore BeyondCompare merge files

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    efd72d0 View commit details
    Browse the repository at this point in the history
  36. Implement the scale_factor for host-based sliding windows

    Michael Kipper committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    d16c6ab View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Enabled debug messages with SEMIAN_DEBUG

    Michael Kipper committed Jun 30, 2019
    Configuration menu
    Copy the full SHA
    ddd7268 View commit details
    Browse the repository at this point in the history
  2. Store SimpleInteger in semaphores, not shared memory

    Michael Kipper committed Jun 30, 2019
    Configuration menu
    Copy the full SHA
    0a00e94 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Print debug messages with timestamp and process ID

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    4682bed View commit details
    Browse the repository at this point in the history
  2. Tests are too noisy

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    f43ccbf View commit details
    Browse the repository at this point in the history
  3. Don't force sliding window entries to be monotonic

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    af854a5 View commit details
    Browse the repository at this point in the history
  4. Review comments

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    6445222 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #246 from Shopify/mkipper/global-circuit-breaker-b…

    …etter-reject
    
    Don't force sliding window entries to be monotonic
    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    3e04a43 View commit details
    Browse the repository at this point in the history
  6. Allow SEMIAN_CIRCUIT_BREAKER_FORCE_HOST to force-enable host-based ci…

    …rcuits
    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    3655ae8 View commit details
    Browse the repository at this point in the history
  7. Build semian libraries before unit tests

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    926074d View commit details
    Browse the repository at this point in the history
  8. Force circuits in Ruby

    Michael Kipper committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    05796e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Review fixes

    Michael Kipper committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    be44b32 View commit details
    Browse the repository at this point in the history
  2. Review fixes

    Michael Kipper committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    d3f252c View commit details
    Browse the repository at this point in the history
  3. Review comments

    Michael Kipper committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    ea78022 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #243 from Shopify/mkipper/global-circuit-breaker-s…

    …imple-integer
    
    Force-enable host-based circuits
    Michael Kipper committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    9fb115a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Skip test

    Michael Kipper committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    286b6c1 View commit details
    Browse the repository at this point in the history