Determinism is the single most critical property of this codebase. Every consensus node must process every transaction identically. A violation causes an ISS (Invalid State Signature), which takes nodes offline.
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
| # 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 | |
| #--------------------------------------------------------------------- |
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
| ######## 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. |
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
| # 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]; |
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
| docker exec -it <container id> sh -c "ls -alh > /proc/1/fd/1" |
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
| 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 {} |
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
| 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 |
- Do the code provide the desired functionality correctly? Are there any possible bugs?
- Does the code have tests for all the "complex" logics in it?
- Are the tests maintainable and well designed?
- Do they respect the test pyramid to avoid taking so much time to run?
Protocolo aberto da camada de aplicação para comunicação entre clientes e brokers de mensagens. Executa sobre o TCP, com payloads binários.
- publisher: processo que publica mensagens;
- exchange: "mailboxes" onde as mensagens são publicadas;
- queue: fila de destino das mensagens;
NewerOlder