Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gerenciamento de transações em ambientes distri...

Gerenciamento de transações em ambientes distribuídos sem queda de performance

Eba! Temos um ambiente elástico com escalabilidade automática! Agora tudo está resolvido: podemos distribuir e orquestrar nossos serviços sem qualquer preocupação.
Não é bem por aí. Já parou para pensar em suas transações? Será que elas escalam junto com seu ambiente?
O modelo ACID pode não ajudar muito. Transações distribuídas menos ainda. Como fazer então?
Para isso existe o padrão de Sagas! Com ele é possível não apenas resolver esse problema, mas também manter-se alinhado à abordagem cloud native. Se combinarmos com a arquitetura serverless, fica ainda mais interessante.
Junte-se a nós e vamos juntos aprender a como superar esse desafio de forma inteligente.

Elder Moraes

June 14, 2019
Tweet

More Decks by Elder Moraes

Other Decks in Technology

Transcript

  1. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 3 Gerenciamento de transações em ambientes distribuídos sem queda de performance Elder Moraes Developer Advocate Junho, 2019
  2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation.
  3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 7 ACID Atomicity Consistency Isolation Durability
  4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 8 ACID Atomicity Consistency Isolation Durability Ambientes Distribuídos
  5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 9 PRODUCT SERVICE DATABASE CART SERVICE DATABASE Transação
  6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 10 BASE Basically Availability Soft-state Eventual consistency
  7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 11 Ambientes Distribuídos BASE Basically Availability Soft-state Eventual consistency
  8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | Confidential – Oracle Internal/Restricted/Highly Restricted 12
  9. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 14 Transações de Compensação T1 T2 T3 T4 C1 C2 C3
  10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 15 https://microservices.io/patterns/data/saga.html
  11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 16 https://microservices.io/patterns/data/saga.html
  12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | http://fnproject.io/ https://camel.apache.org/
  13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | •  Framework de integração •  Open source •  Baseado nos Enterprise Integration Patterns •  Funciona com HTTP, Active MQ, JMS, JBI, SCA, MINA e CXF •  Integração com Spring, CDI, Blueprint e Guice 18
  14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | •  Plataforma serverless •  Open source •  Baseado em containers Docker •  FaaS •  Fn Flow é módulo que gerencia o encadeamento de funções 20
  15. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | FLIGHT PROVIDER book cancel HOTEL PROVIDER book cancel CAR RENTAL PROVIDER book cancel EMAIL PROVIDER send Flight booking fn Flight cancellation fn Hotel booking fn Hotel cancellation fn Car booking fn Car cancellation fn Email sending fn Trip booking fn
  16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 23 Confidential – Oracle Internal/Restricted/Highly Restricted
  17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | My Devoxx, by Gluon http://gluonhq.com/serverless-functions-gluon-cloudlink-oracle-fn/
  18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 27 Visite o nosso estande Faça um trial Ganhe um brinde! Faça um hands on Ganhe outro brinde!