mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-05-31 22:09:37 +02:00
syntax fix
This commit is contained in:
parent
23da93cb65
commit
fd010e2c1f
BIN
docs/API.en.epub
BIN
docs/API.en.epub
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
docs/API.en.pdf
BIN
docs/API.en.pdf
Binary file not shown.
BIN
docs/API.ru.epub
BIN
docs/API.ru.epub
Binary file not shown.
BIN
docs/API.ru.pdf
BIN
docs/API.ru.pdf
Binary file not shown.
@ -88,7 +88,7 @@
|
||||
<li><a href="API.en.html#api-patterns-async">Chapter 19. Asynchronicity and Time Management</a></li>
|
||||
<li><a href="API.en.html#api-patterns-lists">Chapter 20. Lists and Accessing Them</a></li>
|
||||
<li><a href="API.en.html#api-patterns-push-vs-poll">Chapter 21. Bidirectional Data Flows. Push and Poll Models</a></li>
|
||||
<li><a href="API.en.html#chapter-22">Chapter 22. </a></li>
|
||||
<li><a href="API.en.html#api-patterns-async-event-processing">Chapter 22. Multiplexing Notifications. Asynchronous Event Processing</a></li>
|
||||
<li><a href="API.en.html#chapter-23">Chapter 23. Atomicity</a></li>
|
||||
<li><a href="API.en.html#chapter-24">Chapter 24. Partial Updates</a></li>
|
||||
<li><a href="API.en.html#chapter-25">Chapter 25. Degradation and Predictability</a></li>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#### [Multiplexing Notifications. Asynchronous Event Processing][api-patterns-async-event-processing]
|
||||
### [Multiplexing Notifications. Asynchronous Event Processing][api-patterns-async-event-processing]
|
||||
|
||||
One of the vexing restrictions of almost every technology mentioned in the previous chapter is the limited size of messages. With client push notifications the situation is the most problematic: Google Firebase Messaging at the moment this chapter is being written allowed no more than 4000 bytes of payload. In backend development, the restrictions are also notable; let's say, Amazon SQS limits the size of messages to 256 KiB. While developing *webhook*-based integrations, you risk hitting the maximum body size allowed by the partner's webserver (for example, in nginx the default value is 1MB). This leads us to the necessity of making two technical decisions regarding the notification formats:
|
||||
* Whether a message contains all data needed to process it or just notifies some state change has happened
|
||||
|
Loading…
x
Reference in New Issue
Block a user