Better HN
topnewbestaskshowjobs
Log inSign up

ryan_sb

236 karma · joined Oct 2, 2014 (12y ago) · 44 submissions

Python developer on the OpenStack project.
Submissions

comment 10y ago · link · parent

I also was on SEDaily a while back on the same topic http://softwareengineeringdaily.com/2016/06/20/serverless-co...

2.

Serverless Docker? Uhm, no(serverlesscode.com ↗)

1 points · by ryan_sb · 10y ago · discuss

3.

Interview with Lead of OpenWhisk Serverless Platform(serverlesscode.com ↗)

2 points · by ryan_sb · 10y ago · discuss

4.

Zappa – Run Python WSGI Apps on AWS Lambda(serverlesscode.com ↗)

1 points · by ryan_sb · 10y ago · discuss

5.

Bitcoin trading with the Serverless framework(serverlesscode.com ↗)

1 points · by ryan_sb · 10y ago · discuss

6.

Using Python in the Serverless Framework(serverlesscode.com ↗)

4 points · by ryan_sb · 10y ago · discuss

7.

Use Scikit-Learn on AWS Lambda(serverlesscode.com ↗)

2 points · by ryan_sb · 10y ago · discuss

8.

AWS-Lambda as a proxy for external services(serverlesscode.com ↗)

3 points · by ryan_sb · 10y ago · discuss

9.

Automated Deploys for CloudFront with ACM SSL Certs(serverlesscode.com ↗)

3 points · by ryan_sb · 10y ago · discuss

10.

AWS Launch Alert: SSL/TLS Certificate Manager(serverlesscode.com ↗)

6 points · by ryan_sb · 10y ago · discuss

comment 10y ago · link · parent

No reason it can't check any hostname, but all my custom SSL certs are on CloudFront.

12.

Get SSL Expiration Alerts with AWS Lambda and CloudWatch(serverlesscode.com ↗)

23 points · by ryan_sb · 10y ago · 16 comments

13.

Interview: building a recording booth with Lambda and Serverless Framework(serverlesscode.com ↗)

3 points · by ryan_sb · 10y ago · discuss

14.

Connect Kinesis and PaperTrail with Lambda(serverlesscode.com ↗)

2 points · by ryan_sb · 10y ago · discuss

15.

Lambda in production: save $1000/month with a rewrite(serverlesscode.com ↗)

4 points · by ryan_sb · 10y ago · discuss

16.

Interview: DEEP Framework Creators (AWS/Lambda/APIGateway)(serverlesscode.com ↗)

13 points · by ryan_sb · 10y ago · 1 comment

17.

JAWS (AWSLambda framework) is now Serverless(serverlesscode.com ↗)

5 points · by ryan_sb · 10y ago · discuss

18.

Customizing CloudFormation Resources with AWS Lambda(serverlesscode.com ↗)

1 points · by ryan_sb · 10y ago · discuss

19.

Use CloudFormation to Deploy Lambda Functions(serverlesscode.com ↗)

2 points · by ryan_sb · 11y ago · discuss

20.

Scheduling EBS Snapshots(serverlesscode.com ↗)

2 points · by ryan_sb · 11y ago · discuss

21.

Reader Question: Backing Up RDS Instances(serverlesscode.com ↗)

2 points · by ryan_sb · 11y ago · discuss

22.

Use PostgreSQL JSON Types in Python(compose.io ↗)

1 points · by ryan_sb · 11y ago · discuss

23.

AWS Lambda: Schedule and manage backups for EBS volumes(serverlesscode.com ↗)

3 points · by ryan_sb · 11y ago · discuss

24.

Schedule EC2 Instance Backups with AWS Lambda(serverlesscode.com ↗)

6 points · by ryan_sb · 11y ago · discuss

comment 11y ago · link · parent

Not quite, they announced it would exist: "This feature will be available later this year." (from the post).

But when it is available, it'll be a huge step ahead.

comment 11y ago · link · parent

There's a warmup time when a function is first executed in a container that can be up to 2 seconds depending on what libraries you include (you pay for this time [1]). After the first execution, your function environment will stay "warm" for 10-15 minutes and it will only take 10-150ms to execute your function on a new event.

The other big downside is every time your function goes "cold" you pay the cost of all the extra (anything not in standard lib, ImageMagick, or the AWS Nodejs SDK) libraries you need.

The upside is that you only pay for the time your code actually runs. I've replaced a cronjob server and saved ~90% on the bill to run my jobs. Mostly they were scheduled backups and other misc integrity checks on AWS and 3rd-party infra, so nothing that intense.

More limits/downsides: http://serverlesscode.com/post/aws-lambda-limitations/

1: the cost for 2 seconds of execution time on a 512-MB execution environment is 0.00001668 USD, so it's not likely to break the bank. If you have a high-traffic function it's likely to stay "warm" pretty much all the time. And if your function is low-traffic, it's likely you fit inside the free tier.

comment 11y ago · link · parent

+1 one of the draws for Lambda is that it has easy integration with other AWS tools (Kinesis, DynamoDB, SNS, even CloudFormation) and is really low-cost since you only pay for execution time.

28.

Learn AWS Lambda – Welcome to Serverlesscode.com(serverlesscode.com ↗)

2 points · by ryan_sb · 11y ago · discuss

comment 11y ago · link · parent

True, but in this particular case, the cost to time going (temporarily) backwards would only be connecting to a potentially-suboptimal disque node, and that would be remedied after the subjective-machine-time caught up with the previous subjective time.

comment 11y ago · link · parent

Python makes it easy to do lots of things -- including very inefficient ones. Profiling your existing stuff and trying to optimize in pure Python often gets you pretty far.
12