Click here to Skip to main content
15,887,214 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Thoughts on Internationalization Pin
jschell24-Oct-23 7:34
jschell24-Oct-23 7:34 
QuestionVLC Media Player Replacement Requirement Pin
Kevin Marois20-Oct-23 8:44
professionalKevin Marois20-Oct-23 8:44 
QuestionThoughts On Handling Exceptions in This App Pin
Kevin Marois3-Oct-23 15:16
professionalKevin Marois3-Oct-23 15:16 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
Gerry Schmitz3-Oct-23 15:51
mveGerry Schmitz3-Oct-23 15:51 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
Richard Deeming3-Oct-23 21:35
mveRichard Deeming3-Oct-23 21:35 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
jschell4-Oct-23 4:41
jschell4-Oct-23 4:41 
AnswerRe: Thoughts On Handling Exceptions in This App Pin
trønderen4-Oct-23 9:21
trønderen4-Oct-23 9:21 
QuestionContainer orchestration with primary and secondary failover Pin
pkaelin18-Sep-23 9:47
pkaelin18-Sep-23 9: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 17:17
mveGerry Schmitz19-Sep-23 17:17 
QuestionNot Sure How To Make This Change Pin
Kevin Marois11-Sep-23 11:04
professionalKevin Marois11-Sep-23 11:04 
AnswerRe: Not Sure How To Make This Change Pin
Mycroft Holmes11-Sep-23 12:01
professionalMycroft Holmes11-Sep-23 12:01 
GeneralRe: Not Sure How To Make This Change Pin
Kevin Marois11-Sep-23 13:07
professionalKevin Marois11-Sep-23 13:07 
AnswerRe: Not Sure How To Make This Change Pin
Richard Deeming11-Sep-23 21:49
mveRichard Deeming11-Sep-23 21:49 
AnswerRe: Not Sure How To Make This Change Pin
jschell12-Sep-23 4:51
jschell12-Sep-23 4:51 
AnswerRe: Not Sure How To Make This Change Pin
Gerry Schmitz12-Sep-23 5:06
mveGerry Schmitz12-Sep-23 5:06 
QuestionWhere To Store Configuration File for This App Pin
Kevin Marois6-Sep-23 12:45
professionalKevin Marois6-Sep-23 12:45 
AnswerRe: Where To Store Configuration File for This App Pin
Gerry Schmitz6-Sep-23 19:33
mveGerry Schmitz6-Sep-23 19:33 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois7-Sep-23 5:26
professionalKevin Marois7-Sep-23 5:26 
GeneralRe: Where To Store Configuration File for This App Pin
Gerry Schmitz7-Sep-23 6:04
mveGerry Schmitz7-Sep-23 6:04 
AnswerRe: Where To Store Configuration File for This App Pin
Richard MacCutchan6-Sep-23 21:45
mveRichard MacCutchan6-Sep-23 21:45 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois7-Sep-23 5:28
professionalKevin Marois7-Sep-23 5:28 
GeneralRe: Where To Store Configuration File for This App Pin
Richard MacCutchan7-Sep-23 5:53
mveRichard MacCutchan7-Sep-23 5:53 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois8-Sep-23 5:51
professionalKevin Marois8-Sep-23 5:51 
GeneralRe: Where To Store Configuration File for This App Pin
Richard MacCutchan8-Sep-23 6:13
mveRichard MacCutchan8-Sep-23 6:13 
GeneralRe: Where To Store Configuration File for This App Pin
Kevin Marois8-Sep-23 7:29
professionalKevin Marois8-Sep-23 7: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.