PDFShift (@pdfshift) header
PDFShift (@pdfshift) profile picture

The HTML to PDF conversion API - Learn more at https://nitter.cf/t.co/VZfHRWiF5L Status page: https://nitter.cf/t.co/rDmN8Ng2gH

Joined May 2018
Photo by PDFShift (@pdfshift)Photo by PDFShift (@pdfshift)Photo by PDFShift (@pdfshift)
The joys of running an online business ...
1
2,169
We just released a new website! Pretty happy with the result. Our intention here was to focus more on the purpose of PDFShift, which is a technical tool. We also wanted to show to our visitors that we are a reliable service that is here for the long haul. Hope you'll like it!
2
1
4
1,912
Today at 2:49 UTC, our two APIs encountered an issue caused by a deployment. We got notified on the issue and quickly worked on resolving the problem. The outage lasted for 40 minutes. We apologize for the troubles during this incident.
1
3
751
The deployment was to fix some minor bugs we had on the API (nothing related to generating PDF) but it caused an unexpected issue with a related library.
670
A new PDFShift is coming! 👀
1
1
6
762
We had around one hour of downtime today following our work on making our system more redundant. We continued to run some tests after we resolved the issue, which is why our status page shows for longer issues, but the API was back to normal sooner.
1
1
1
612
The tests we ran after that ensured that our redundancy now works perfectly, which wasn't the case under some specific scenario until today, which was the cause of the downtime.
1
28
We had some issues caused by a script stopping one of our servers. With the redundancy we have, the IPs should have handled that, but some users still got problem accessing our API. So we updated how we accept incoming and dispatch requests across our network :) All is good now!
2
371
Would you be interested in the challenges of growing an HTML to PDF conversion API? Great! We are looking to hire a VP of Growth at @pdfshift. Reach out to us to share why you'd be a great fit, and we'll discuss this further :)
1
1
3
832
Half the processing servers were down Saturday because of an issue at OVH. This did not cause any issues at all on PDFShift because of the way it was built! (redundancy and performances).
1
1
2
503
We've started migrating to OVH and updated the status page to reflect our servers with direct health checks : status.pdfshift.io/ (the grey bars are because the checks are new)
3
3
Now, what we'll do is first reach out to a few key users about this new infrastructure, and see how it operates. Then, in a few weeks, we'll start balancing the requests between AWS and OVH, and once we are sure the new code is working well, we'll stop AWS.
3
PDFShift will run on two distinct regions and each region can handle the current load of what we serve at AWS ... TWICE! This should give us plenty of room for the next steps.
2
Great news! The new servers are up and running (but we haven't changed the DNS yet). You can try with api.sbg.pdfshift.io and api.gra.pdfshift.io. Yes, we are on two distinct regions now, so one can catch fire ;)
2
676 successful tests (100%) to the `convert/pdf` endpoint seems to indicate the migration is going well.
3
Just a quick update on our migration: The codebase has been fully updated to Sanic. We are now implementing the full test suite to ensure all the endpoints will work properly.
3
Welp, we finally took 4 powerful servers, 2 on each regions. Each of them can easily handle the 2 times the current load of PDFShift...
1
We've thought more about how the infrastructure will be set up, to ensure a robust and redundant product. The API will be split across two regions. The api.pdfshift.io DNS entry will point to these two, ensuring that if one goes down, the other will remain up.
1
1
Each of these regions will have an independent database server, used as read-only. All the writes will be done asynchronously via a Redis server.
1
Following Monday's outage, we've been thinking about how we could improve the overall service and ensure better resiliency. Here's the plan we came up with:
2
4
1. Rewriting the /convert endpoint to improve the processing. It includes caching the token in a short timeframe to reduce verifications for frequent conversions (We've implemented this Monday)
1
PDFShift is currently having an outage from what seems to be caused by AWS SQS. We got 12 new Sentry issues created today, all pointing to SQS. We are knee-deep on mitigating this issue as fast as possible but don't have an ETA right now.
3
1
The issue now appears to be resolved, but we are keeping on eye on it. We published updates all day long at status.pdfshift.io/incident/… and we are now searching for a more efficient solution than AWS. We had too much problem with them to stay there and rely on them.
2
1
We are having troubles with our database, which explains the latency you might experiencing, or even downtime. We are all in on fixing the issue ASAP.
9
4
The AWS environment we've been running on is refusing to create instances that remain actives, causing the auto-scaling group to add one, wait, and remove one. We've been trying to identify the issue but without luck so far. We are trying our best to make it back up again.