Skip to content

inSituo/Denormalizer

Repository files navigation

Data Denormalizer

  1. Runs as a TCP server.
  2. Requests can be made from any other application which can open TCP ports.
  3. Uses ZeroMQ 'ROUTER' socket. Clients should use ZeroMQ 'REQ', 'DEALER' or 'ROUTER'.
  4. Work is distributed between workers pool.
  5. Workers run on separate threads (goroutines).
  6. Each worker has a DB connection.
  7. Workers have work buffers.
  8. The server distributes requests between workers by selecting the worker which has the least items in the buffer.

Available Commands

Commands are sent as multi-part messages. The following shows the parts space separated:

  1. Question: Q [ID]
  2. Question joins: QJ [ID] [COUNT] [PAGE]
  3. Question latest comments: QLC [ID] [COUNT] [PAGE]
  4. Answer: A [ID]
  5. Question top answers: QTA [ID] [COUNT] [PAGE]
  6. Question latest answers: QLA [ID] [COUNT] [PAGE]

Response format

Reponses are sent as a 3-part message:

  1. Success? true / false string
  2. Empty? true / false string
  3. Payload - JSON encoded string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages