You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
Generating base64-encoded Authorization headers in a variety of languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since RabbitMQ (and AMQP) have no specialized functionality for delay adding a message to the queue a dead-letter exchange can be used instead. This works by having two separate exchanges, one "worker exchange" and one "delay exchange", and one queue for each exchange. For each exchange and queue pair a binding has to be setup that specifies the same routing key for both exchanges.
The consumer
The consumer listens to the worker queue and any delayed message is added to the delay queue with the specified routing key and a expiration time. Instead of per-message expiration the delay queue can also specify a x-message-ttl that applies to all messages going in to it. When the message expires it will be reaped by RabbitMQ and put into the specified dead-letter exchange, the worker exchange in this case, and the routing key will direct it to the worker queue for consumption.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters