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
0
87
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
58
Palestra Relampago - Python Nordeste
hackel
0
10
Live Coding com Twilio e Python.pdf
hackel
0
100
O que falar?
hackel
0
35
[IMD0148] React Overview
hackel
0
44
"On Herbrand's Theorem for Hybrid Logic"
hackel
0
68
Bake a PIE
hackel
0
36
Lean Proof
hackel
0
100
Métodos para determinação de raízes e resolução de sistemas não lineares
hackel
0
31
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
GitHub's CSS Performance
jonrohan
1025
450k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
67
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.5k
What's new in Ruby 2.0
geeforr
338
31k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.7k
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