Here are the wiring diagrams split by stage. Boxes are repeated where a module participates in multiple stages.
flowchart TD
CLIENT["🌐 External Client\n(gRPC call)"]| # Use ${idea.home.path} macro to specify location relative to IDE installation home. | |
| # Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value. | |
| # Note for Windows users: please make sure you're using forward slashes: C:/dir1/dir2. | |
| #--------------------------------------------------------------------- | |
| # Uncomment this option if you want to customize a path to the settings directory. | |
| #--------------------------------------------------------------------- | |
| # idea.config.path=${user.home}/.GoLand/config | |
| #--------------------------------------------------------------------- |
| ######## BEGIN IDE OPTIONS ######## | |
| # Add additional options outside this section as they will be overwritten on every IDE startup # | |
| # Select the Java Server VM. | |
| -server | |
| # Set default just-in-time compiled code cache size. | |
| -XX:ReservedCodeCacheSize=768m | |
| # Mark softly-reachable objects' lifespan per megabyte of maximum memory heap size. |
| # replace "REPLACE_ME_IAM_KEY_PATTERN" with your key pattern that you want to delete local | |
| # to paste this in a redis-cli session, remove the new lines and put everything in an `EVAL "everythin here" 0` command | |
| local cursor='0'; | |
| local count = 0; | |
| repeat | |
| local scanResult = redis.call('SCAN', cursor, 'MATCH', 'somekey.*', 'COUNT', 100); | |
| local keys = scanResult[2]; | |
| for i = 1, #keys | |
| do | |
| local key = keys[i]; |
| docker exec -it <container id> sh -c "ls -alh > /proc/1/fd/1" |
| curl -u $USERNAME:$PASSWORD -s https://api.github.com/orgs/$ORG/repos?per_page=200 | jq -rc '.[] | {ssh_url} | .ssh_url' | parallel -n 1 git clone {} |
| mysqldump db --skip-disable-keys --skip-add-locks --skip-add-drop-table --skip-lock-tables --result-file="output.sql" --skip-extended-insert --no-data --skip-create-options --column-statistics=0 |
Protocolo aberto da camada de aplicação para comunicação entre clientes e brokers de mensagens. Executa sobre o TCP, com payloads binários.
| import { HttpsAgent } from 'agentkeepalive'; | |
| import Axios, { AxiosInstance } from 'axios'; | |
| import http from 'http'; | |
| const KEEP_ALIVE_TIMEOUT = 10_000; | |
| const keepAliveAgent = new HttpsAgent({ | |
| maxSockets: 100, | |
| keepAlive: true, | |
| maxFreeSockets: 10, |