forward_service is nondescriptive and misnamed, as it does more than forward requests. It's a classic map/reduce algorithm (and in fact one of its parameters is "reducer"), so name it accordingly. The name "forward" leaked into the wire protocol for the messaging service RPC isolation cookie, so it's kept there. It's also maintained in the name of the logger (for "nodetool setlogginglevel") for compatibility with tests. Closes scylladb/scylladb#19444
46 lines
1015 B
Markdown
46 lines
1015 B
Markdown
ScyllaDB Module Index
|
|
=====================
|
|
|
|
Following is a rough diagram how the various modules in ScyllaDB interact.
|
|
|
|
```mermaid
|
|
classDiagram
|
|
|
|
class storage_proxy
|
|
class messaging_service
|
|
class database
|
|
class keyspace
|
|
class table
|
|
class cql
|
|
class cdc
|
|
class view
|
|
class alternator
|
|
class mapreduce_service
|
|
class storage_service
|
|
class gossiper
|
|
class db_config
|
|
class db_commitlog
|
|
|
|
storage_proxy ..> database : read/write
|
|
storage_proxy ..> messaging_service : rpc
|
|
storage_proxy ..> cdc : update
|
|
storage_proxy ..> gossiper: check node liveness
|
|
storage_proxy ..> view : update
|
|
cql ..> cdc : configure
|
|
cql ..> view : configure
|
|
alternator ..> cdc : configure
|
|
cql ..> mapreduce_service : data path for autopar aggregations
|
|
mapreduce_service ..> storage_proxy : read
|
|
mapreduce_service ..> messaging_service : rpc
|
|
cql ..> storage_proxy : data path
|
|
alternator ..> storage_proxy : data path
|
|
database --* db_commitlog : commit
|
|
|
|
cql ..> cdc : configure
|
|
alternator ..> cdc : configure
|
|
|
|
database --o keyspace
|
|
keyspace --o table
|
|
|
|
```
|