Click here to Skip to main content
15,792,608 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Thoughts on Internationalization Pin
jschell24-Oct-23 8:34
jschell24-Oct-23 8:34 
QuestionVLC Media Player Replacement Requirement Pin
Kevin Marois20-Oct-23 9:44
professionalKevin Marois20-Oct-23 9:44 
QuestionThoughts On Handling Exceptions in This App Pin
Kevin Marois3-Oct-23 16:16
professionalKevin Marois3-Oct-23 16:16 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
Gerry Schmitz3-Oct-23 16:51
mveGerry Schmitz3-Oct-23 16:51 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
Richard Deeming3-Oct-23 22:35
mveRichard Deeming3-Oct-23 22:35 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
jschell4-Oct-23 5:41
jschell4-Oct-23 5:41 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
trønderen4-Oct-23 10:21
trønderen4-Oct-23 10:21 
QuestionContainer orchestration with primary and secondary failover Pin
pkaelin18-Sep-23 10:47
pkaelin18-Sep-23 10:47 
Posting an architecture/design question without a picture might be a challenge in itself but I'll have a go anyway Smile | :)
While a primary/secondary (previously master/slave) can be implemented by oneself I was wondering whether this doesn’t come out of the box in a container orchestration management system.


Requirements:

  • High availability (redundancy) but doesn’t need scaling (capacity).
  • Orchestration decides which one is Primary/Secondary (or Alternates (multiples)).
  • Container and application (MyApp) knows whether its Primary/Secondary (or Alternates (multiples)).
  • Only the primary application (MyApp) is communicating with the service x and the physical device(s).
  • Only the primary application (MyApp) forwards the responses to the secondary (with a safe mechanism in
  • place) so that the secondary has all the data/states up to date at all times.
  • Failover should happen within less than a second (e.g. 500ms).


Design:
|...Container Primary...|          
|.......................| ------ Send Message -----------> |.....Service X.....|
|........[ MyApp ]......|
|.......................| < ----- Request/Response ------> |..Physical Device..|

 ....^...............|...
 ....|...............|...
 ..Check......Forward response from device
 ....|........so that secondary is always up to date
 ....|...............|...
 ....v...............v...

|..Container Secondary..| 
|.......................|
|.......[ MyApp ].......|
|.......................|

Though I have left out the details I hope the overall requirements/concept is clear.

Questions:

  • Is there a container orchestration management that handles primary/secondary concept?
  • Most importantly will my application (MyApp) hosted in the container know when it's in what state (Startup, Sync, Primary, Secondary, PrimaryOnly)?
  • How is it best implemented if there is an existing concept?

PKaelin

AnswerRe: Container orchestration with primary and secondary failover Pin
Gerry Schmitz19-Sep-23 18:17
mveGerry Schmitz19-Sep-23 18:17 
QuestionNot Sure How To Make This Change Pin
Kevin Marois11-Sep-23 12:04
professionalKevin Marois11-Sep-23 12:04 
AnswerRe: Not Sure How To Make This Change Pin
Mycroft Holmes11-Sep-23 13:01
professionalMycroft Holmes11-Sep-23 13:01 
GeneralRe: Not Sure How To Make This Change Pin
Kevin Marois11-Sep-23 14:07
professionalKevin Marois11-Sep-23 14:07 
AnswerRe: Not Sure How To Make This Change Pin
Richard Deeming11-Sep-23 22:49
mveRichard Deeming11-Sep-23 22:49 
AnswerRe: Not Sure How To Make This Change Pin
jschell12-Sep-23 5:51
jschell12-Sep-23 5:51 
AnswerRe: Not Sure How To Make This Change Pin
Gerry Schmitz12-Sep-23 6:06
mveGerry Schmitz12-Sep-23 6:06 
QuestionWhere To Store Configuration File for This App Pin
Kevin Marois6-Sep-23 13:45
professionalKevin Marois6-Sep-23 13:45 
AnswerRe: Where To Store Configuration File for This App Pin
Gerry Schmitz6-Sep-23 20:33
mveGerry Schmitz6-Sep-23 20:33 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois7-Sep-23 6:26
professionalKevin Marois7-Sep-23 6:26 
GeneralRe: Where To Store Configuration File for This App Pin
Gerry Schmitz7-Sep-23 7:04
mveGerry Schmitz7-Sep-23 7:04 
AnswerRe: Where To Store Configuration File for This App Pin
Richard MacCutchan6-Sep-23 22:45
mveRichard MacCutchan6-Sep-23 22:45 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois7-Sep-23 6:28
professionalKevin Marois7-Sep-23 6:28 
GeneralRe: Where To Store Configuration File for This App Pin
Richard MacCutchan7-Sep-23 6:53
mveRichard MacCutchan7-Sep-23 6:53 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois8-Sep-23 6:51
professionalKevin Marois8-Sep-23 6:51 
GeneralRe: Where To Store Configuration File for This App Pin
Richard MacCutchan8-Sep-23 7:13
mveRichard MacCutchan8-Sep-23 7:13 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois8-Sep-23 8:29
professionalKevin Marois8-Sep-23 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.