Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Protocolo de aplicação
Search
Raquel Oliveira
October 18, 2016
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Protocolo de aplicação
[não finalizado - rascunho]
Raquel Oliveira
October 18, 2016
More Decks by Raquel Oliveira
See All by Raquel Oliveira
Python Nordeste 2023 - Feature Flags
hackel
0
90
Palestra Relampago - Python Nordeste
hackel
0
21
Live Coding com Twilio e Python.pdf
hackel
0
140
O que falar?
hackel
0
46
[IMD0148] React Overview
hackel
0
59
"On Herbrand's Theorem for Hybrid Logic"
hackel
0
110
Bake a PIE
hackel
0
55
Lean Proof
hackel
0
140
Métodos para determinação de raízes e resolução de sistemas não lineares
hackel
0
45
Featured
See All Featured
Accessibility Awareness
sabderemane
1
140
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Designing Experiences People Love
moore
143
24k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The agentic SEO stack - context over prompts
schlessera
0
820
Exploring anti-patterns in Rails
aemeredith
3
410
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Paper Plane (Part 1)
katiecoart
PRO
0
8.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Transcript
PROTOCOLO DE APLICAÇÃO RAQUEL LOPES DE OLIVEIRA
PROBLEMA
RAQUEL LOPES DE OLIVEIRA INNOVATION ▸ Inova Metropole ▸ Pesquisas
▸ Artigos INOVAÇÃO É A CHAVE DO SUCESSO
RAQUEL LOPES DE OLIVEIRA VANTAGENS ▸ Encontrar um orientador ▸
Encontrar alunos ▸ Constituir um grupo ▸ Difundir ideias
IMPLEMENTAÇÃO
RAQUEL LOPES DE OLIVEIRA ARQUITETURA CLIENTE-SERVIDOR Pedido APLICAÇÃO OPERAÇÃO Resposta
Servidor Cliente <<Protocolo de aplicação>> Serialização Protocolo de transporte
RAQUEL LOPES DE OLIVEIRA SOCKET Canal de comunicação entre duas
entidades. TCP Usado para a comunicação por fluxo de dados: ‣ Fortemente conectado ‣ Sincrono ‣ Tipo cliente-servidor
RAQUEL LOPES DE OLIVEIRA TCP Abre conexão APLICAÇÃO OPERAÇÃO Fecha
conexão Servidor Cliente Conservação da ordem de transferencia entre o cliente e o servidor. pedido1 pedido2 pedido3
RAQUEL LOPES DE OLIVEIRA SERVIDOR Cria o socket de comunicação
ESPERA DADOS RECEBE E ANALISA OS DADOS CONSTRÓI A RESPOSTA ESCRITA NO FLUXO DE SAÍDA Fecha o socket de comunicação
RAQUEL LOPES DE OLIVEIRA CLIENTE Cria o socket com o
servidor Espera que a conexão seja estabelecida Recupera o socket de comunicação PREPARA O PEDIDO ENVIA PELO FLUXO DE SAÍDA ESPERA DADOS NO FLUXO DE ENTRADA LÊ E TRATA Fecha o socket
RAQUEL LOPES DE OLIVEIRA INTERAÇÃO CLIENTE-SERVIDOR - SOCKET TCP Fonte:
http://migre.me/vgQaO CLIENTE SERVIDOR
RAQUEL LOPES DE OLIVEIRA MARSHELING SERIALIZAÇÃO Demonstração no código
FIM