-
-
Notifications
You must be signed in to change notification settings - Fork 11
2_core_concepts
Mohamed edited this page Jun 10, 2025
·
2 revisions
This section delves into the foundational concepts that underpin the QB Actor Framework. A solid grasp of these principles is essential for effectively designing and building applications with QB. Each page explores a critical aspect of the framework's architecture and programming model.
-
- Learn how QB implements the Actor Model, with a focus on
qb::Actor
as the primary unit of concurrency and state, andqb::ActorId
for unique identification.
- Learn how QB implements the Actor Model, with a focus on
-
- Discover how actors communicate exclusively through asynchronous messages (events derived from
qb::Event
), how to define events, and the basics of event handling.
- Discover how actors communicate exclusively through asynchronous messages (events derived from
-
- Explore QB's non-blocking, event-driven I/O model, powered by
qb-io
, including the role of the event loop (qb::io::async::listener
) and asynchronous callbacks.
- Explore QB's non-blocking, event-driven I/O model, powered by
-
Concurrency & Parallelism in QB
- Understand how QB manages concurrent actor execution and achieves true parallelism on multi-core systems through
qb::Main
andqb::VirtualCore
s.
- Understand how QB manages concurrent actor execution and achieves true parallelism on multi-core systems through
Once you are comfortable with these core concepts, you may want to explore:
- The QB-IO Module Documentation for a detailed look at the asynchronous I/O library.
- The QB-Core Module Documentation for specifics on the actor engine.
- The Getting Started Guide if you haven't already, to see these concepts in a practical example.