@gudamascodev Para ter relação com conotação racista as branchs deveriam ser chamadas de slave, ou então banimos a palavra master da ortografia mundial
SSH Tunnels - A Visual Guide To Port Forwarding 🧵
One of my favorite parts of SSH is tunneling. With just the regular ssh client, you can do wonders!
1. Local Port forwarding
Access private ports of a remote machine using local tools (your browser, a fancy DB UI client, etc)
Top 6 Cases to Apply Idempotency.
Idempotency is essential in various scenarios, particularly where operations might be retried or executed multiple times. Here are the top 6 use cases where idempotency is crucial:
1. RESTful API Requests
We need to ensure that retrying an API request does not lead to multiple executions of the same operation. Implement idempotent methods (like PUT and DELETE) to maintain consistent resource states.
2. Payment Processing
We need to ensure that customers are not charged multiple times due to retries or network issues. Payment gateways often need to retry transactions; idempotency ensures only one charge is made.
3. Order Management Systems
We need to ensure that submitting an order multiple times results in only one order being placed. We design a safe mechanism to prevent duplicate inventory deductions or updates.
4. Database Operations
We need to ensure that reapplying a transaction does not change the database state beyond the initial application.
5. User Account Management
We need to ensure that retrying a registration request does not create multiple user accounts. Also, we need to ensure that multiple password reset requests result in a single reset action.
6. Distributed Systems and Messaging
We need to ensure that reprocessing messages from a queue does not result in duplicate processing. We Implement handlers that can process the same message multiple times without side effects.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/uc5M7CdXXC
@kabumcombr@Gaules Com certeza super Mário e bomberman, jogava junto com a minha vó e ela gostava de explorar as fases e pagava as vidas pra mim jogar e passar as fases! Que lembrança boa Abeti Maria Maria Cascaes vó