docs: add FAQ on SolidQueue vs Karafka for job processing#604
Merged
docs: add FAQ on SolidQueue vs Karafka for job processing#604
Conversation
Adds guidance on whether to run SolidQueue alongside Karafka, covering Kafka's partition-based scaling model, available Karafka scaling mechanisms (VPs, Multiplexing), and upcoming Share Groups support.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an FAQ entry clarifying when it makes sense to run a traditional job queue (SolidQueue via ActiveJob) alongside Karafka, with emphasis on Kafka’s partition-bound parallelism and Karafka’s scaling options.
Changes:
- Added a new FAQ question/answer discussing SolidQueue vs Karafka for job-like workloads.
- Documented Karafka scaling mechanisms (Virtual Partitions, Multiplexing, process scaling) and referenced upcoming Kafka Share Groups (KIP-932).
- Updated the FAQ table of contents to include the new entry.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Karafka provides several mechanisms to work within and extend these constraints: | ||
|
|
||
| - **[Virtual Partitions](Pro-Consumer-Groups-Virtual-Partitions)** allow you to parallelize work within a single partition using multiple threads, effectively bypassing the one-consumer-per-partition limitation for suitable workloads. | ||
| - **[Multiplexing](Pro-Consumer-Groups-Multiplexing)** enables a single process to maintain multiple connections to Kafka, increasing throughput without additional processes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds guidance on whether to run SolidQueue alongside Karafka, covering Kafka's partition-based scaling model, available Karafka scaling mechanisms (VPs, Multiplexing), and upcoming Share Groups support.