Switch port to update mysql or website - Deepstash

Switch port to update mysql or website

When updating the version of software or data in database, it will took long time or be needed to test. 

We can just assign to another port with the mirror of website or mysql using docker.

For example, the current port of website is 1234 and the port of mirror is 4321. 

When test is finished, we just switch to 4321.

The user don't need to wait for updating.

#mysql #docker #wordpress #port #versioncontrol  

1

28 reads

MORE IDEAS ON THIS

CURATED FROM

IDEAS CURATED BY

hunglin59638

I'm a bioinformatician. #python #linux #rlanguage #raspberrypi #docker #bioinformatics

Other curated ideas on this topic:

Reason to set priorities

When we don’t set priorities, we tend to follow the path of least resistance. 

We’ll pick and sort through the things we need to do and work on the easiest tasks– leaving the more difficult and less fun tasks for a “later” that, in many cases, never comes – or, worse...

How misinformation builds

How misinformation builds

  • When we encounter unfamiliar information on a social network, we verify it in one of two ways. We either go through the burdensome process of countless claims and counter-claims to understand if it is true, or we rely on others by way of social proof.
  • If we search for online informat...

Grit and the power to adapt

  • Winners quit fast and often when a plan is not a good fit. The sunken cost fallacy might try to sway our decisions, but the “willingess to jetisson” (quit and switch paths when they are no longer a quality match for us) is a key trait for late specialization...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates