Introduction
This article is about:
- Open a GCP
instance
withgcloud
- Import
ssh key
into aninstance
withgcloud
- Running your project in the background with
Daemon
- Deploy your project on
GCP virtual machine
viagitlab pusher
Here is about this article:
Laravel Queue
AWS SQS
So why do we need to use queue
?
When we execute some jobs that require longer time, like sending Emails, or uploading photos or videos, let users to wait until the jobs are completed is just not so practical.
So when users request some time consuming jobs, we need to use queue
to line them, and execute them on the background, and so the users could be released from current request immediately.
Supervisor
on MacOS
Supervisor
on AWS
Supervisor
?Supervisor
is a process monitor and control system. Because Ray do use Laravel Queue on a project, and queue worker has to be running on the background continuously. So what if the queue work fails and disconnect? With Supervisor
, we will be able to restart them after they either fail or close.
Today I’m going to share a git flow with the following qualities:
In development, you could make arbitrary commits.
After testing, you could turn the arbitrary commits which are more friendly in development into commits compliant with production standard.
The content of two branches are exactly the same, however, with totally different commit history.
Update your browser to view this website correctly. Update my browser now