Skip to content

Commit

Permalink
Update processing.md (#67)
Browse files Browse the repository at this point in the history
occuring -> occurring
  • Loading branch information
eltociear authored Mar 21, 2024
1 parent 5a82884 commit 88b7025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/dev/processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Messages to Garnet server are processed once the networking layer reads the inco
Within a session, the `TryConsumeMessages` method is responsible for processing the incoming messages by
* Measuring and tracking latency of processing along with bytes consumed and operations performed.
* Process messages further using the `ProcessMessages` method.
* Acts as the catch all for any exceptions occuring during message processing. This ensures that the server continues to run, even if processing of a message causes a critical unhandled exception and all resources are being freed up correctly.
* Acts as the catch all for any exceptions occurring during message processing. This ensures that the server continues to run, even if processing of a message causes a critical unhandled exception and all resources are being freed up correctly.

The `ProcessMessages` method does a fast parsing of the incoming data to quickly identify the right command type. Based on the type of the command, further processing is performed by one of the below methods.

Expand All @@ -34,4 +34,4 @@ specific parameters from the incoming network buffer. Once the necessary argumen
For example, see `NetworkIncrement` method in `BasicCommands.cs`.

The storage layer methods perform the actual processing logic of the command. They do utilize the underlying Tsavorite layer's APIs for performing operations like Read, RMW, Upset, Delete. Also, additional processing logic is implemented in the Tsavorite callbacks.
For example, see `Increment` method in `MainStoreOps.cs` and related methods in `MainStoreFunctions`.
For example, see `Increment` method in `MainStoreOps.cs` and related methods in `MainStoreFunctions`.

0 comments on commit 88b7025

Please sign in to comment.