-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blogpost handling asynchronous tasks part2 #411
Conversation
- update links for example repo in 3 blogposts
Deploying fpx-www with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just did a first pass, going to review the part ii post now
www/src/content/blog/2024-12-13-asynchronous-tasks-in-cloudflare-part2.mdx
Outdated
Show resolved
Hide resolved
@@ -35,7 +35,7 @@ In this example, we will store registration data in a [Neon database](https://ne | |||
<LinkCard | |||
title="Follow along on GitHub" | |||
description="Here is a repo with the code examples for this post" | |||
href="https://github.com/Nlea/cloudflare-handling-asynchronous-tasks-" | |||
href="https://github.com/Nlea/cloudflare-handling-asynchronous-tasks-/tree/main/single-worker" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so a possible thing to do in the future: you can permalink to a specific point in time (commit) in your repo, so you won't have to update links in blog posts when you restructure the repo
@@ -36,7 +36,7 @@ Separately, and not as part of the registration process, you offer a newsletter | |||
When an athlete subscribes to the newsletter, their email address is stored in a different database, and they receive a welcome email. | |||
|
|||
In this scenario, you could have three workers: one for handling the sign-up form, another for managing the newsletter subscription, and then a _shared_ email worker to send emails. | |||
![Example Workers architecture](@/assets/blog/2024-12-03-workers-example-architecture.png) | |||
![Example Workers architecture](@/assets/blog/2024-12-03-queue-architecture.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure you wanted to change this image? the queue architecture image doesn't seem to match the description of the preceding sentence
* Calculate uptime percentages | ||
* Provide a RESTful API for managing monitored sites | ||
* Include a simple web interface to view results | ||
- Monitor multiple websites simultaneously |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i ran format
on the astro codebase and that's what changed some of the stuff in this post, just fyi
I think we could publish this pretty much as-is if you're ready to move on. Otherwise, if you're willing to do another pass, here are my thoughts: I think we could trim down all the explanations of queues and various strategies for working with queues. Here's how you could maybe do that:
Other notes:
|
@brettimus I tried my best to include your feedback. Could you give it a new read? That would be super helpful! Thanks |
No description provided.