u/badboyzpwns

Understanding CDN - does it call the backend again?

Say you have yoursite.com/products

CDN caches it. Redis caches the database results. This URL becomes a 'hot' URL for the CDN cache.

When you or other users visit yoursite.com/products, do API requests still happen or do the API results not get called and the API results automatically gets returemd by the CDN?

reddit.com
u/badboyzpwns — 5 hours ago

Can I even do an internal transfer to a different country if I work remotely?

My company has an office in the other country, but I would need a sponsorship after 2 years if I move there. Im just your normal CRUD engineer who survived multiple layoffs here, not a staff or anything. Is it basically impossible to do an internal transfer - especially in this economy? what was your experience?

reddit.com
u/badboyzpwns — 24 hours ago

How to use presign URL when designing a file upload software?

Step 1: Client asks File Service for file abc123
Step 2: File Database returns the file metadata, so something like this :
{
  fileId: "abc123",
  fileName: "report.pdf",
  s3Bucket: "dropbox-files",
  s3Key: "users/john/documents/report.pdf"
}

Is step 3 correct? where

Step 3: ??? how do we get the presign URl to the client so that the client can download it?

Step 4: Client downloads directly from that URL

reddit.com
u/badboyzpwns — 1 day ago