Coder Social home page Coder Social logo

Comments (4)

maestre3d avatar maestre3d commented on August 25, 2024

We could take advantage of Redis and Apache Kafka capabilities to design and build a nice distributed environment for declarative transaction execution,

from alexandria.

maestre3d avatar maestre3d commented on August 25, 2024

Now considering using synchronous inter-service communication when a transaction is needed using resiliency patterns such as rate-limit for received requests and circuit breaker (w/ Netflix Hystrix) and a retry strategy for external calls (outbound) to avoid cascading failures and many more problems.

We would be still using asynchronous communication for side-effect distributed propagation.

This is due the complex implementation (e.g. dist. tracing and metrics for each event bus) and maintenance of each distributed transaction using pure events.

from alexandria.

maestre3d avatar maestre3d commented on August 25, 2024

In addition, we could take advantage of event sourcing and CQRS when required to avoid these issues.
More details here.

from alexandria.

maestre3d avatar maestre3d commented on August 25, 2024

A well-tested approach is a Self-Contained service, more information about it here.

Thus, we will have two options and this kind of approach could be used whenever an operation must be tracked by the client.

This could be a definitive standard, almost closing this issue.

from alexandria.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.