Skip to content

Commit 1e6772e

Browse files
committed
moved deferred response, add links to ref material
1 parent ed44845 commit 1e6772e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

docs/architecture/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Can connect both the real-time and historical data to allow users to query acros
149149

150150
Return sensible errors when queries fail.
151151

152-
Use the deferred-response feature (V3.6) to avoid additional coding on the side of connecting non-kdb+ processes.
152+
Use the [deferred-response]((../basics/internal.md#-30x-deferred-response) feature (V3.6) to avoid additional coding on the side of connecting non-kdb+ processes.
153153

154154
[Load-management](../kb/load-balancing.md): round-robin might not be the best option for your system.
155155
Consider other options specific to your APIs and load.

docs/kb/deferred-response.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Deferred response – Knowledge Base – kdb+ and q documentation
3-
description: Ideally, for concurrency, all messaging would be async. However, sync messaging is a convenient paradigm for client apps. Hence -30!x was added as a feature in V3.6, allowing processing of a sync message to be ‘suspended’ to allow other messages to be processed prior to sending a response message.
3+
description: Ideally, for concurrency, all messaging would be async. However, sync messaging is a convenient paradigm for client apps. Hence [-30!x](../basics/internal.md#-30x-deferred-response) was added as a feature in V3.6, allowing processing of a sync message to be ‘suspended’ to allow other messages to be processed prior to sending a response message.
44
author: Charles Skelton
55
keywords: async, concurrency, deferred, kdb+_, q, response, sync
66
---
@@ -64,5 +64,8 @@ callback:{[clientHandle;result]
6464

6565
:fontawesome-regular-hand-point-right:
6666
Basics: [Internal `-30!x`](../basics/internal.md#-30x-deferred-response)
67+
:fontawesome-regular-hand-point-right:
68+
Blog: [Deferred Response](https://kx.com/blog/kdb-q-insights-deferred-response/)
69+
<br>
6770
[Namespace `.z`](../ref/dotz.md)
6871

docs/wp/ipc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ q)h"a"
387387

388388
!!! tip "Deferred response"
389389

390-
[Deferred reponse](../../kb/deferred-response.md) with `-30!` allows a server to defer the response to a synchronous query, allowing other messages to be processed before responding. This is useful where synchronous messaging is necessary on the client side.
390+
[Deferred reponse](../../kb/deferred-response.md) with [`-30!`](../../basics/internal.md#-30x-deferred-response) allows a server to defer the response to a synchronous query, allowing other messages to be processed before responding. This is useful where synchronous messaging is necessary on the client side.
391391

392392
An example implementation of deferred sync message handling is discussed in the blog [kdb+/q Insights: Deferred Response](https://kx.com/blog/kdb-q-insights-deferred-response/).
393393

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ nav:
454454
- Overview: basics/ipc.md
455455
- Callbacks: kb/callbacks.md
456456
- Listening port: basics/listening-port.md
457+
- Deferred response: kb/deferred-response.md
457458
- Named pipes: kb/named-pipes.md
458459
- Serialization examples: kb/serialization.md
459460
- Server calling client: kb/server-calling-client.md
@@ -473,7 +474,6 @@ nav:
473474
- Using .z: kb/using-dotz.md
474475
- Coding:
475476
- Data visualization (WP): wp/data-visualization/index.md
476-
- Deferred response: kb/deferred-response.md
477477
- Geospatial indexing: kb/geospatial.md
478478
- Linear programming: kb/lp.md
479479
- Multithreaded input: kb/multithreaded-input.md

0 commit comments

Comments
 (0)