usando 2020 serverless e kafka...2020/08/27  · escalando um app go usando serverless e kafka...

Post on 17-Aug-2021

0 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

http://s3wf.com

@jeffotoni

TDC ONLINE 2020 São Paulo 27/08

Jefferson Otoni

Escalando um App Go usando Serverless e Kafka

@jeffotoni

Fácil de implementar

Altamente escalável Resiliente

desafios

arquitetura

@jeffotoni

Go Go Goc

o

mongo rethinkDB postgres

app

browsers

nossa arquitetura

s3shop

@jeffotoni

@jeffotoni

@jeffotoni

modelo 1

@jeffotoni

1@jeffotoni

1@jeffotoni

meio Pagamento

Pub/Sub Cloud Function

Cloud Function

Cloud Function

Cloud Function

sucesso

@jeffotoni

postgres

Pub/Sub

microservice

@jeffotoni

consumer

restrpc

write

Pub/Sub

@jeffotoni

RabbitMQ

Sqs

kubemq.io

@jeffotoni

consumer

@jeffotoni

Cloud function

@jeffotoni

Cloud function

novo Cenário

@jeffotoni

@jeffotoni

mongo rethinkDB

postgresBigQuery

Redis

RethinkDB

mongo

nossos BDs

@jeffotoni

Spanner

Solução 2

@jeffotoni

@jeffotoni

@jeffotoni

service service service

service service service

service service service

apache kafka

Event Streams

@jeffotoni

possível solução

@jeffotoni

possível solução

@jeffotoni

possível solução

@jeffotoni

possível solução

@jeffotoni

Kafka producer

@jeffotoni

Kafka consumer

Por quê usar Go?

@jeffotoni

@jeffotoni@jeffotoni

Ritchie

@jeffotoni

25 Keywordsbreak default func interface select

case defer go map struct

chan else goto package switch

const fallthrough if range type

continue for import return var

@jeffotoni

Goroutines

@jeffotoni

Pprof Profiling Go

https://eltonminetto.dev/post/2020-04-08-golang-pprof

https://golang.org/pkg/testing @jeffotoni

@jeffotoni

Comunidade

Telegramhttps://t.me/go_brhttps://t.me/go_bhhttps://t.me/golangcwb

Slackhttps://gophers.slack.com(members >~45k)

GopherCon Brasil 2020 https://2020.gopherconbr.org

Wiki Conferenciashttps://github.com/golang/go/wiki/Conferences

Meetuphttps://www.meetup.com/go-belo-horizontehttps://www.meetup.com/pt-BR/golangbrhttps://www.meetup.com/pt-BR/Women-Who-Go-Sampahttps://www.meetup.com/pt-BR/Golang-Campinas/https://www.meetup.com/pt-BR/golang-poa/https://www.meetup.com/pt-BR/GolangCWB/

@jeffotoni

Paradigma concorrente

Compiladaestaticamente

Tipagemestática

Multi Plataformas

Retrocompa-tibilidade

@jeffotoni

https://golang.org https://golang.org/doc/effective_go.htmlhttps://golang.org/ref/spec

https://golang.org/dochttps://tour.golang.org/welcome/1

Thanks := &Obrigado{...}

Obrigado...

github.com/jeffotoni

instagram.com/jeffotoni

https://t.me/devopsbh

https://t.me/go_br

https://t.me/awsbrasil

linkedin.com/in/jeffotoni/

top related