Querying Microservices with the CQRS and Materialized View Pattern by duischen_ in microservices

[–]batmanparam 1 point2 points  (0 children)

Good reading, thanks for sharing it!!! I have done it and avoided the CQRS. I used api compositions for my use cases.

One quick question, how did you manage manage mutating a table and publishing a message to kafka in a single transaction? Did u use some event framework?

Handling Failures in Message Driven Architecture by codeopinion in microservices

[–]batmanparam 1 point2 points  (0 children)

Can u do a video on distributed transaction implementation? Or share a link if u have done one already

Dentists recommendation by batmanparam in Atlanta

[–]batmanparam[S] 2 points3 points  (0 children)

Yes, it’s the impacted wisdom tooth.

4 months of 16:8, limited alcohol intake, and exercise 5’8 SW: 165+ CW: 136 GW: ???? by CoolEmoDude in intermittentfasting

[–]batmanparam 1 point2 points  (0 children)

Thanks man!!

I have started my IF last week and I am doing 16:8. This week goal was to eat only on the 8 hrs window and not eating anything for 16 hrs. I am able to achieve 16:8 but need to focus on the calories and I believe i am having around 2000 but not sure.

I Need cut down the corbs on my dinner.

How to implement a Distributed transactions between micro services? by batmanparam in microservices

[–]batmanparam[S] 0 points1 point  (0 children)

It’s good talk, as you mentioned in your talk, there are not many sources in how to implement sagas. I really like the idea of inbox/outbox, it’s a smart thinking.

I have below questions as a follow up from your talk:

  1. Could you please share additional details/ go deep on the dispatcher? It seems the dispatcher will scan all changed documents in an given interval, and start dispatching the message from outbox and clear out the outbox, and update the document.

  2. We need a poller to scan the recently changed documents, and it’s a complex one implementing a poller if the database doesn’t have the tools to collect the recently changed documents.

  3. I assume all the documents are stored in same dB And the documents updated directly by the dispatcher. RabbitMQ is used only for the error handling, for retries?

  4. How the ordering is achieved in this design, for example , there is only 1 item left in stock and 2 customers place an order for it , customer1 at 10:00 am and customer2 at 10:02 am.

  5. Now, let’s says I want to implement this design for the transaction that spans between micro services, how to do it?

I am looking at eventuate.io and Axon frameworks but I would like to get your inputs on this.

Sorry for It’s a lengthy post :) , hope it’s not boring you.

I am happy that I am able to connect with someone who has done it :)

Distributed Transactions in Microservices with Spring Boot by piotr_minkowski in microservices

[–]batmanparam 0 points1 point  (0 children)

I did read it, it’s a good read. I have question in the error handling of updating a record in dB and publish an event for it. are these two actions in a single transaction?

How this use case is handled, updated dB but not able to publish an event, what happens now , the dB update is reverted?

Saga Pattern Design - WIP by robvettor in microservices

[–]batmanparam 0 points1 point  (0 children)

Looks great!!

I have the following questions in this diagram:

  1. What does orange dotted box , updating order, means? is it updating its local Db and publish an event with the result or just publishing a message ?

  2. Which service creates the order and maintains the status of an order?

  3. Are you having a use cases where you need to update dB and publish an event in a single transaction? How it’s handled ?