Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will have layered approach for handling the client request message and server response message. Each layer will do its work and pass the message to next layer. Currently,  we are planning to add this with Geode server, but eventually, it should work with Netty server/ other. 

 

Layering

The Client request message will be processed by various layer. Then we execute api and then response will be processed by various layer as mentioned belowmultiple layers. Once that message is constructed and authorized, it will execute that Geode api. Then the response from api will be processed by multiple layers to send a response back to the client.

 

Request Message (Down)Response Message (up)
Collect Message bytesSend the messageConstruct Message
Collect metadataDivide the Message
Construct MessageAdd meta data
Customize key and valueCustomize key and value
Authenticate ConnectionAuthorize message
Authorize request MessageConstruct Resposne Response Message
Statsstats
Execute API