From the course: AWS for Developers: SNS, SQS, and SWF
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Receive a message from the queue - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: SNS, SQS, and SWF
Receive a message from the queue
- [Instructor] In example files included with the course, open up the file ParseResumeWorker.php and grab the contents of this file and paste it into a new file on the server. I'm going to use vim to do this, and I'm just going to repeat the same steps that I used in the earlier video. Repeat the same steps and put the ProcessApplication.php and the ParseResume.php file up on the server, as well. Now open up ProcessApplication.php. In our current PHP workflow, this file captures the form data from the new applicant. And the included file ParseResume.php is where our resume parser is slowing down the server. Open up ParseResume.php. Now this file is just a timer to simulate the server doing something when it's parsing a resume uploaded by our applicant. Let's run ProcessApplication.php and simulate what'll happen on the server when a new applicant clicks the submit button and sends us their resume and portfolio. Type…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Plan the refactoring2m 35s
-
Messaging queues2m 50s
-
(Locked)
Set up a test server5m 33s
-
(Locked)
Create an SQS queue1m 50s
-
(Locked)
Send a message to the queue3m 26s
-
(Locked)
Receive a message from the queue4m 54s
-
(Locked)
Challenge: Send and receive a SQS message53s
-
(Locked)
Solution: Send and receive a SQS message2m 8s
-
(Locked)
-
-
-
-