Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5896

Thin client protocol

    XMLWordPrintableJSON

Details

    Description

      Implement a protocol for thin clients in other languages.
      This is an umbrella ticket for all related activities.

      Overview:

      • Client connects to a socket (according to SqlConnectorConfiguration)
      • There is a new client type is SqlListenerNioListener
      • Ignite binary protocol is used for data exchange (BinaryMarshaller)
      • Protocol is stateless (though socket can be reused for multiple operations)

      Socket request message format:

      • uint32 Message length
      • uint32 Request id
      • byte Flags (compression, etc)
      • uint16 Operation code (like CacheGet or MessagingSend)
      • Operation-specific data

      Socket response message format:

      • uint32 Message length
      • uint32 Request id (value from above)
      • byte Flags (success, compression, etc)
      • Operation-specific data or exception details

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: