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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Raquel Oliveira
October 18, 2016
0
95
Protocolo de aplicação
[não finalizado - rascunho]
Raquel Oliveira
October 18, 2016
Tweet
Share
More Decks by Raquel Oliveira
See All by Raquel Oliveira
Python Nordeste 2023 - Feature Flags
hackel
0
80
Palestra Relampago - Python Nordeste
hackel
0
19
Live Coding com Twilio e Python.pdf
hackel
0
130
O que falar?
hackel
0
44
[IMD0148] React Overview
hackel
0
53
"On Herbrand's Theorem for Hybrid Logic"
hackel
0
94
Bake a PIE
hackel
0
45
Lean Proof
hackel
0
130
Métodos para determinação de raízes e resolução de sistemas não lineares
hackel
0
38
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Side Projects
sachag
455
43k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
30 Presentation Tips
portentint
PRO
1
220
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
So, you think you're a good person
axbom
PRO
2
1.9k
How to Ace a Technical Interview
jacobian
281
24k
Typedesign – Prime Four
hannesfritz
42
2.9k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Faster Mobile Websites
deanohume
310
31k
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