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

Send and receive work requests via proxy and multiplexer #6857

Closed
wants to merge 34 commits into from

Commits on Sep 4, 2019

  1. Send and receive work requests via proxy and multiplexer

    For each unique WorkerKey, Bazel can launch a multiplexer to talk to one multi-threaded worker process optionally. We use less JVM processes but maintain the approximately same performance, hence, save more memory. The worker process should be able to handle multiple requests to fully utilize this feature.
    
    Fix: bazelbuild#2832
    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    2a4f1f4 View commit details
    Browse the repository at this point in the history
  2. Remove unused worker hash

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    2ff5646 View commit details
    Browse the repository at this point in the history
  3. Get multiplexer in WorkerFactory

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    9c8f674 View commit details
    Browse the repository at this point in the history
  4. Remove shutdownHook

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    5429050 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bdf028f View commit details
    Browse the repository at this point in the history
  6. Fix comments

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    c75159e View commit details
    Browse the repository at this point in the history
  7. Add logger

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    fd89866 View commit details
    Browse the repository at this point in the history
  8. Improve putRequest

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    e7aae4d View commit details
    Browse the repository at this point in the history
  9. Improve getResponse

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    70ff6f9 View commit details
    Browse the repository at this point in the history
  10. Fix shutdown hook

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    0c86121 View commit details
    Browse the repository at this point in the history
  11. Return if null

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    b470ad6 View commit details
    Browse the repository at this point in the history
  12. Fix spawn strategy

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    bc4b9e6 View commit details
    Browse the repository at this point in the history
  13. Fix Syntax

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    e1d081e View commit details
    Browse the repository at this point in the history
  14. WorkerFactory type test

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    7bf0f46 View commit details
    Browse the repository at this point in the history
  15. Spawns test

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    c3d5c6c View commit details
    Browse the repository at this point in the history
  16. WorkerKey test

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    34710c9 View commit details
    Browse the repository at this point in the history
  17. Better test behavior

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    d6c5930 View commit details
    Browse the repository at this point in the history
  18. MultiplexerManager refactor

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    2cdbee7 View commit details
    Browse the repository at this point in the history
  19. WorkerMultiplexerManager test

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    b33af31 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3b01d82 View commit details
    Browse the repository at this point in the history
  21. test_example_worker_multiplexer

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    d204176 View commit details
    Browse the repository at this point in the history
  22. test_multiple_target_without_delay

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    fbe7da3 View commit details
    Browse the repository at this point in the history
  23. test_multiple_target_with_delay

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    162aba5 View commit details
    Browse the repository at this point in the history
  24. Use more workers

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    ca9c0f2 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6741f8a View commit details
    Browse the repository at this point in the history
  26. Put some old tests back

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    e68a5ea View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1d76b9a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0044061 View commit details
    Browse the repository at this point in the history
  29. test_build_fails_when_worker_exits

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    d2e957a View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    3fc0ce7 View commit details
    Browse the repository at this point in the history
  31. Refactor

    borkaehw authored and SrodriguezO committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    7d242c3 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    08acba0 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2019

  1. Fix hanging multiplexer

    borkaehw committed Sep 26, 2019
    Configuration menu
    Copy the full SHA
    92e9f8e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Prevent null

    borkaehw committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    eef69d1 View commit details
    Browse the repository at this point in the history