Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement full stack #11

Open
cyberhck opened this issue Aug 19, 2019 · 0 comments
Open

implement full stack #11

cyberhck opened this issue Aug 19, 2019 · 0 comments

Comments

@cyberhck
Copy link
Collaborator

cyberhck commented Aug 19, 2019

https://mermaidjs.github.io/mermaid-live-editor/#/view/eyJjb2RlIjoic2VxdWVuY2VEaWFncmFtXG5wYXJ0aWNpcGFudCBQcm9kdWNlclxucGFydGljaXBhbnQgUmFiYml0TVFcbnBhcnRpY2lwYW50IENvbnN1bWVyXG5wYXJ0aWNpcGFudCBSZW5kZXJBcGlcbnBhcnRpY2lwYW50IFN0b3JhZ2VcblByb2R1Y2VyIC0-PiBSYWJiaXRNUToge3VybDogXCIuLi5cIiwgZGF0YTogey4uLn19XG5Db25zdW1lciAtPj4gUmFiYml0TVE6IEdldE1lc3NhZ2VcblJhYmJpdE1RIC0tPj4gQ29uc3VtZXI6IFJlbmRlclxuQ29uc3VtZXIgLT4-IFJlbmRlckFwaTogL3JlbmRlcj91cmw9Li4uXG5SZW5kZXJBcGkgLS0-PiBDb25zdW1lcjogaHRtbC4uLlxuQ29uc3VtZXIgLT4-IFN0b3JhZ2U6IFNhdmUiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9fQ

sequenceDiagram
participant Producer
participant RabbitMQ
participant Consumer
participant RenderApi
participant Storage
Producer ->> RabbitMQ: {url: "...", data: {...}}
Consumer ->> RabbitMQ: GetMessage
RabbitMQ -->> Consumer: Render
Consumer ->> RenderApi: /render?url=...
RenderApi -->> Consumer: html...
Consumer ->> Storage: Save
sequenceDiagram
participant Queue
participant Worker
participant RenderApi
participant SaveQueue
participant S3Saver
Worker ->> Queue: GetMessage()
Queue -->> Worker: {url: "http://...", data: {}}
Worker ->> RenderApi: /render?url=...
RenderApi -->> Worker: html...
Worker ->> SaveQueue: html...
S3Saver ->> SaveQueue: GetMessage()
SaveQueue -->> S3Saver: html...
S3Saver ->> Amazon S3: /PUT html...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant