Microservice Architecture: how to introduce a new MicroserviceRabbitmq- Designing a message replay serviceMicroservice data replication patternsOrchestrating microservicesTransactions across REST microservices?Architecture for microservicesCommunication between two microservicesGraphQL and Microservice ArchitectureHow to design a sails.js project with microservices architecture?How to sync the database with the microservices (and the new one)?Microservices vs multi-layered architectureHandling Data for UI in a Microservice Architecture?microservice architecture - global data sharing
Are there any OR challenges that are similar to kaggle's competitions?
Polar contour plot in Mathematica?
Output with the same length always
Reducing contention in thread-safe LruCache
Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)
Peterhead Codes and Ciphers Club: Weekly Challenge
From France west coast to Portugal via ship?
Sinc interpolation in spatial domain
Best model for precedence constraints within scheduling problem
Nicely-spaced multiple choice options
Installing the original OS X version onto a Mac?
Is "stainless" a bulk or a surface property of stainless steel?
When does The Truman Show take place?
Inset Square From a Rectangular Face
Gofer work in exchange for Letter of Recommendation
Is there a way to make the "o" keypress of other-window <C-x><C-o> repeatable?
What kind of (probable) traffic accident might lead to the desctruction of only (!) the brain stem and cerebellum?
My father gets angry everytime I pass Salam, that means I should stop saying Salam when he's around?
Why don't modern jet engines use forced exhaust mixing?
Can I submit a paper computer science conference using an alias if using my real name can cause legal trouble in my original country
Earliest evidence of objects intended for future archaeologists?
What are these protruding elements from SU-27's tail?
Did they show Truman doing private things (toilet, etc) when filming him for 24 hours, 7 days a week?
Prove that this determinant equals zero
Microservice Architecture: how to introduce a new Microservice
Rabbitmq- Designing a message replay serviceMicroservice data replication patternsOrchestrating microservicesTransactions across REST microservices?Architecture for microservicesCommunication between two microservicesGraphQL and Microservice ArchitectureHow to design a sails.js project with microservices architecture?How to sync the database with the microservices (and the new one)?Microservices vs multi-layered architectureHandling Data for UI in a Microservice Architecture?microservice architecture - global data sharing
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm currently designing a new product and want to go the Microservice-way. Since I was completely new to this topic, I read most parts of the eBook .NET Microservices: Architecture for Containerized .NET Applications.
I like the way they do it in the ebook, so my architecture looks similar to the one described in the book:
- The Microservices are hidden behind a gateway
- No dependencies between the services
- Event Bus for data propagation
- ...
So far so good. But now I thought about the following scenario:
Let's say we are in the context of the eShopOnContainers. The application is running for some months, so there are some registered users, there are lots of products that are offered, and so on.
Each time a new user account or a product was created, the corresponding integration event was fired, and each service interested in the information now has it in its own database.
Now I want to introduce a new microservice. This new service also needs some information about e.g. the users. But when I deploy it into the existing infrastructure, it doesn't know anything, because he didn't see the events of the past, of course.
So my question is: what is a good way to get the required data?
Do I have to shut down the whole system for some time, while I migrate the data from the other services to the new one?
I currently can't see a better way.
microservices
add a comment |
I'm currently designing a new product and want to go the Microservice-way. Since I was completely new to this topic, I read most parts of the eBook .NET Microservices: Architecture for Containerized .NET Applications.
I like the way they do it in the ebook, so my architecture looks similar to the one described in the book:
- The Microservices are hidden behind a gateway
- No dependencies between the services
- Event Bus for data propagation
- ...
So far so good. But now I thought about the following scenario:
Let's say we are in the context of the eShopOnContainers. The application is running for some months, so there are some registered users, there are lots of products that are offered, and so on.
Each time a new user account or a product was created, the corresponding integration event was fired, and each service interested in the information now has it in its own database.
Now I want to introduce a new microservice. This new service also needs some information about e.g. the users. But when I deploy it into the existing infrastructure, it doesn't know anything, because he didn't see the events of the past, of course.
So my question is: what is a good way to get the required data?
Do I have to shut down the whole system for some time, while I migrate the data from the other services to the new one?
I currently can't see a better way.
microservices
2
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
1
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30
add a comment |
I'm currently designing a new product and want to go the Microservice-way. Since I was completely new to this topic, I read most parts of the eBook .NET Microservices: Architecture for Containerized .NET Applications.
I like the way they do it in the ebook, so my architecture looks similar to the one described in the book:
- The Microservices are hidden behind a gateway
- No dependencies between the services
- Event Bus for data propagation
- ...
So far so good. But now I thought about the following scenario:
Let's say we are in the context of the eShopOnContainers. The application is running for some months, so there are some registered users, there are lots of products that are offered, and so on.
Each time a new user account or a product was created, the corresponding integration event was fired, and each service interested in the information now has it in its own database.
Now I want to introduce a new microservice. This new service also needs some information about e.g. the users. But when I deploy it into the existing infrastructure, it doesn't know anything, because he didn't see the events of the past, of course.
So my question is: what is a good way to get the required data?
Do I have to shut down the whole system for some time, while I migrate the data from the other services to the new one?
I currently can't see a better way.
microservices
I'm currently designing a new product and want to go the Microservice-way. Since I was completely new to this topic, I read most parts of the eBook .NET Microservices: Architecture for Containerized .NET Applications.
I like the way they do it in the ebook, so my architecture looks similar to the one described in the book:
- The Microservices are hidden behind a gateway
- No dependencies between the services
- Event Bus for data propagation
- ...
So far so good. But now I thought about the following scenario:
Let's say we are in the context of the eShopOnContainers. The application is running for some months, so there are some registered users, there are lots of products that are offered, and so on.
Each time a new user account or a product was created, the corresponding integration event was fired, and each service interested in the information now has it in its own database.
Now I want to introduce a new microservice. This new service also needs some information about e.g. the users. But when I deploy it into the existing infrastructure, it doesn't know anything, because he didn't see the events of the past, of course.
So my question is: what is a good way to get the required data?
Do I have to shut down the whole system for some time, while I migrate the data from the other services to the new one?
I currently can't see a better way.
microservices
microservices
asked Mar 27 at 13:55
timnot90timnot90
657 bronze badges
657 bronze badges
2
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
1
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30
add a comment |
2
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
1
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30
2
2
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
1
1
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55378975%2fmicroservice-architecture-how-to-introduce-a-new-microservice%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55378975%2fmicroservice-architecture-how-to-introduce-a-new-microservice%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
A similar question was asked earlier and it has an accepted answer. Pleaae refer to this: stackoverflow.com/q/55112973/1235935
– Saptarshi Basu
Mar 27 at 15:44
1
Thanks @SaptarshiBasu. Your reference led me to a (in my opinion) acceptable solution. I am using RabbitMQ as my message broker, which does not offer the possibility to replay messages. But during my researches I found the following question: stackoverflow.com/questions/29645842/…. The question itself describes the solution I was looking for.
– timnot90
Mar 29 at 8:30