• 0 Posts
  • 24 Comments
Joined 8 months ago
cake
Cake day: November 20th, 2023

help-circle
  • There’s a few advantages. No server maintenance is one, but the main benefits are scalability and cost. Renting a server is expensive and is billed regardless of usage per month. Serverless is billed in 10 millisecond blocks so you only pay for each request essentially. Since it creates one compute function per request, it will more easily scale up to meet a surge of users. Of course with any trendy technology it can be misused to situations where it’s not a good fit and lose the cost and scalability benefits.


  • Serverless means you don’t have a server running 24/7 that’s sitting idle waiting for requests. When a user makes a request on a webpage/app it’ll run a short lived piece of code for a few dozen milliseconds then shuts off. No permanent “server” running. Of course there’s servers running the code to start that function and usually a permanent database server but the main app/website code is running on demand only.


















  • That’s not the worst idea ever. Say a screenshot is 10 mb. 10x60x 8 hours =4800mb per work day. 30 days is 150gb worst case scenario. I suppose you could check the previous screenshot and if it’s the same, then don’t write a new file. Combine that with OCR and a utility to scroll forward and backward through time, it might be a useful tool.