GET, POST, PUT... Common HTTP “verbs” in one figure. Next week's topics will be listed at the end.
1. HTTP GET
This retrieves a resource from the server. It is idempotent. Multiple identical requests return the same result.
2. HTTP PUT
This updates or Creates a resource. It is idempotent. Multiple identical requests will update the same resource.
3. HTTP POST
This is used to create new resources. It is not idempotent, making two identical POST will duplicate the resource creation.
4. HTTP DELETE
This is used to delete a resource. It is idempotent. Multiple identical requests will delete the same resource.
5. HTTP PATCH
The PATCH method applies partial modifications to a resource.
6. HTTP HEAD
The HEAD method asks for a response identical to a GET request but without the response body.
7. HTTP CONNECT
The CONNECT method establishes a tunnel to the server identified by the target resource.
8. HTTP OPTIONS
This describes the communication options for the target resource.
9. HTTP TRACE
This performs a message loop-back test along the path to the target resource.
Over to you: What other HTTP verbs have you used?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/FIzCeaWsZV
@cicerolucena Caro prefeito, há vinte dias atrás o Sr. disse que a obra da rua Cordélia Velloso Frade estava retomada e que em 15-20 dias estaria terminando a drenagem para começar o calçamento. A obra não andou e o descaso continua. Em que lugar do ranking fica isso?
https://t.co/tCyD6UGguD
Galera, não esqueçam
O nome dos cursos é Ciência da Computação, Engenharia da Computação, SI, etc
E não Dev Backend, Dev Frontend, Dev Fullstack 🖨️🖨️🖨️ #bolhadev
@cicerolucena Muito boa a foto nova Sr. prefeito @cicerolucena , mas enquanto o senhor sorri postando foto na internet, a população da rua Cordélia Velloso Frade no Jardim Cidade Universitária sofre com a ineficiência da vossa gestão. Até quando Senhor prefeito?
https://t.co/ijXxFEP3Ss
@cicerolucena Eu estou ansioso mesmo é para o senhor resolver esse problema. O senhor @cicerolucena poderia deixar de brincar de meme na internet e resolver os problemas da cidade.
https://t.co/p6oi9imcTs
@cicerolucena Bom dia Sr. Prefeito,
Incrível mesmo é administração municipal fazer vista grossa para tamanho problema como esse da reportagem. É assim mesmo que o senhor diz cuidar da cidade?
https://t.co/ijXxFEP3Ss
CrowdStrike effectively bricked windows, Mac and Linux today.
Windows machines won’t boot, and Mac and Linux work is abandoned because all their users are on twitter making memes.
Incredible work.
@cicerolucena Com todo respeito, Sr. Prefeito @cicerolucena , mas é dessa forma mesmo que o senhor pretende continuar cuidando da cidade de João Pessoa?
https://t.co/aBvi0tJM40
não tem a ver com POO, muito menos “do jeito certo”.
DDD não tem a ver com a forma como vc organiza/estrutura seu código.
facilidade de testar e organização eh o que todos os estilos arquiteturais prometem.
desacoplar de framework pra proteger meia dúzia de entidades de CRUD eh sem sentido.
as vezes sinto que a comunidade de DDD e Clean vivem num mundo paralelo sei lá 🤷🏻♀️
parece que a galera está desenvolvendo um sistema pra foguete que, do nada, pode mudar de linguagem, framework ou sair do foguete pra rodar num Uno Mile 🤡🤡
The Big Archive for System Design - 2023 Edition (PDF) is available now. And it's completely FREE.
The PDF contains 𝐚𝐥𝐥 𝐦𝐲 𝐭𝐞𝐜𝐡𝐧𝐢𝐜𝐚𝐥 𝐩𝐨𝐬𝐭𝐬 published in 2023.
What’s included in the PDF?
🔹 Netflix's Tech Stack
🔹 Top 5 common ways to improve API performance
🔹 Linux boot Process Explained
🔹 CAP, BASE, SOLID, KISS, What do these acronyms mean?
🔹 Explaining JSON Web Token (JWT) to a 10 year old Kid
🔹 Explaining 8 Popular Network Protocols in 1 Diagram
🔹 Top 5 Software Architectural Patterns
🔹 OAuth 2.0 Flows
🔹 What does API gateway do?
🔹 Linux file system explained
🔹 18 Key Design Patterns Every Developer Should Know
🔹 Best ways to test system functionality
🔹 Top 6 Load Balancing Algorithms
🔹 Top 12 Tips for API Security
🔹 𝐀𝐧𝐝 100+ 𝐦𝐨𝐫𝐞
Like and subscribe to our newsletter to receive the PDF download link: https://t.co/uc5M7CdXXC
Você que é dev, não caia nesse papinho. Esse tipo de empresa vai te usar e te cuspir. Não será bom pra sua carreira (quando comparado com outras opções), e certamente será péssimo para a sua saúde.
Use um lugar desse tipo como última opção e saia de lá assim que puder.
🎉 Go 1.22.5 and 1.21.12 are released!
🔐 Security: Includes security fix for net/http
🗣 Announcement: https://t.co/knrNTZ7GdO
⬇️ Download: https://t.co/YuxCybBdBy
#golang
A industria não considera muito bom o dev que entrega código no estado da arte, a industria nem precisa disso na maior parte das vezes
A industria considera muito bom dev que entrega código maomeno, que cumpre o propósito do produto e que seja feito no menor tempo (im)possível
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