2 ms·
Very interesting idea. If you or anyone else feel like expanding upon that idea and do a ”back-of-the-napkin” diagram or something, it would be very interestin
by cpach 5y ago
Very interesting idea.
If you or anyone else feel like expanding upon that idea and do a ”back-of-the-napkin” diagram or something, it would be very interesting to see that!
(I started dipping my toes into FaaS[0] literally yesterday, so I must admit I can’t yet imagine how one would actually host a blogging service in such an environment.)
[0] Function as a service
- jedberg 5y agoIt's pretty straightforward actually. What does a blog do? - Show content to users - Allow the admin to update content So you'd really just need three functions and some storage: - A function that takes a request for content and shows a web page - A function that authenticates the admin and shows them an admin page - A function that takes their admin update request and writes to storage. The storage could be S3, of if you want to get fancy you could use DynamoDB so that you can do things like tags and have blog pages that show each tag (or just regenerate them and put them on S3 every time you make a update with a new tag).