Skip to content

Commit

Permalink
Change wording
Browse files Browse the repository at this point in the history
  • Loading branch information
marein committed Mar 31, 2023
1 parent caee10d commit e5130e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,10 @@ Only the game id is needed for the execution of the command model,
which is why it's well suited for the sharding key.
Sharding is done at the application level, more specifically in the
[repository](/src/ConnectFour/Port/Adapter/Persistence/Repository/DoctrineJsonGameRepository.php).
The application uses schema-based sharding and is only aware of all existing logical shards,
The application uses schema-based sharding and is aware of all existing logical shards,
while it's only aware of one physical connection. To actually forward queries to separate physical shards,
a proxy such as ProxySQL can be used. An example will be added with #118.
a proxy such as ProxySQL can be used. An example will be added with
[#118](https://github.com/marein/php-gaming-website/issues/118).
__Example for chat__: Currently there shouldn't be queries that span multiple chats.
To invoke a chat operation (either writing or reading) we exclusively need a chat id.
As in connect four context, we can use
Expand Down

0 comments on commit e5130e8

Please sign in to comment.