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

Added IO throttling for the merger pipeline. #2205

Merged
merged 2 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ anyhow = "1"
arc-swap = "1.4"
assert-json-diff = "2"
assert_cmd = "2"
async-speed-limit = "0.4"
async-trait = "0.1"
atty = "0.2"
azure_core = "0.5.0"
Expand Down Expand Up @@ -90,6 +91,7 @@ openssl-probe = "0.1.4"
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
opentelemetry-jaeger = { version = "0.17", features = ["rt-tokio"] }
opentelemetry-otlp = "0.11.0"
pin-project-lite = "0.2.9"
pnet = { version = "0.31.0", features = ["std"] }
predicates = "2"
prometheus = { version = "0.13", features = ["process"] }
Expand Down
5 changes: 3 additions & 2 deletions quickwit/quickwit-actors/src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ use tokio::sync::{oneshot, watch};
use tracing::{debug, error};

use crate::actor_state::{ActorState, AtomicState};
use crate::progress::{Progress, ProtectedZoneGuard};
use crate::registry::ActorRegistry;
use crate::scheduler::{Callback, ScheduleEvent, Scheduler};
use crate::spawn_builder::SpawnBuilder;
#[cfg(any(test, feature = "testsuite"))]
use crate::Universe;
use crate::{AskError, Command, KillSwitch, Mailbox, QueueCapacity, SendError};
use crate::{
AskError, Command, KillSwitch, Mailbox, Progress, ProtectedZoneGuard, QueueCapacity, SendError,
};

/// The actor exit status represents the outcome of the execution of an actor,
/// after the end of the execution.
Expand Down
5 changes: 1 addition & 4 deletions quickwit/quickwit-actors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ mod actor_state;
pub mod channel_with_priority;
mod command;
mod envelope;
mod kill_switch;
mod mailbox;
mod observation;
mod progress;
mod registry;
mod scheduler;
mod spawn_builder;
Expand All @@ -52,9 +50,8 @@ mod universe;
pub use actor::{Actor, ActorExitStatus, Handler};
pub use actor_handle::{ActorHandle, Health, Supervisable};
pub use command::Command;
pub use kill_switch::KillSwitch;
pub use observation::{Observation, ObservationType};
pub use progress::{Progress, ProtectedZoneGuard};
use quickwit_common::{KillSwitch, Progress, ProtectedZoneGuard};
pub(crate) use scheduler::Scheduler;
use thiserror::Error;
pub use universe::Universe;
Expand Down
2 changes: 2 additions & 0 deletions quickwit/quickwit-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ documentation = "https://quickwit.io/docs/"

[dependencies]
anyhow = { workspace = true }
async-speed-limit = {workspace=true}
colored = { workspace = true }
env_logger = { workspace = true }
home = { workspace = true }
itertools = { workspace = true }
num_cpus = { workspace = true }
once_cell = { workspace = true }
pin-project-lite = { workspace = true }
pnet = { workspace = true }
prometheus = { workspace = true }
rand = { workspace = true }
Expand Down
Loading