Pro Yearly is on sale from $80 to $50! »

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

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.

Cad9d9d8998f49269ce4f28a018ba53e?s=128

Elder Moraes

June 14, 2019
Tweet

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.

    | 5 Ambientes Distribuídos
  4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 6 Consistência
  5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

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

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

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

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

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

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

    | 13 http://bit.ly/sagaspattern
  12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

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

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

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

    | http://fnproject.io/ https://camel.apache.org/
  16. 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
  17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 19
  18. 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
  19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 21
  20. 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
  21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

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

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

    | @elderjava book.eldermoraes.com
  24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | Java@Cloud Age bit.ly/javacloudage
  25. 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!
  26. Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

    | 28