News for hackers. Stuff that matters.
Re:Pirate Weather: A Free, Open, and Documented Forecast API by gen220 on Tuesday January 10, 2023 @04:00PM (#34331403)
Which part is insane?

Put another way, how would you implement this without self-managing pieces like nginx/apache, rabbitmq/kafka, or mongodb on a compute instance?

The pieces of managed infra they're depending on are all pretty interchangeable from one cloud provider to another. It's not the cheapest way to solve the problem if you discount the cost of management, upgrades, etc. But if you factor those costs in, it's quite competitive.

Re:Pirate Weather: A Free, Open, and Documented Forecast API by ushakov on Tuesday January 10, 2023 @04:07PM (#34331507)
I would go to cloud providers, which can offer me managed rabbitmq, kafka or mongodb

Certainly, I wouldn't get any vendor-specific services like Lambda or SNS (in this example)

Re:Pirate Weather: A Free, Open, and Documented Forecast API by aequitas on Tuesday January 10, 2023 @04:14PM (#34331602)
The Lambda functions will just be running your business logic code. Only specific part Lambda provides is the glue. Which is easy to replace with any other cloud or self hosted alternative.
Re:Pirate Weather: A Free, Open, and Documented Forecast API by alexander0042 on Tuesday January 10, 2023 @09:59PM (#34334531)
The the end of the day, the real reason I went with Lambda to build this is that when I started, I didn't know anything about spinning up a server, building a storage array, or serving an web request. But what I did know was how to write a Python script to extract weather data from a file. The really cool thing about some of these cloud tools is that they let me ignore all of those (very difficult) problems and just focus on the data
Re:Pirate Weather: A Free, Open, and Documented Forecast API by jftuga on Tuesday January 10, 2023 @11:57PM (#34335167)
Where is your lamda_handler defined? I searched your repos but could not find it.
Re:Pirate Weather: A Free, Open, and Documented Forecast API by aequitas on Wednesday January 11, 2023 @02:58AM (#34336179)
Exactly what the cloud is best used for imho. You can focus on your core problems and still shift to a different solution later on when that becomes more effective cost wise.

But still, when I first started in AWS we had lift and shift'ed most of our platform onto AWS and when it came to adding new features I first looked at Lambda instead of building out on the existing platform. The speed at which I could setup the feature and start measuring and iterating on it was so much better compared to doing it on our existing platform. Even though that was pretty ironed out and fully automated.