TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Elastic PyPI: your own Python Package Index on AWS Lambda

70 pointsby diabout 8 years ago

4 comments

_wmdabout 8 years ago
This is a really cute use for Lambda, and a great working example of the kinds of limitations one could expect to bump into.<p>I was recently asked to evaluate Lambda for use in hosting a bunch of existing web sites, and just from README.md, I&#x27;m glad I backed the hell away from that pandora&#x27;s box before opening it.
评论 #13712171 未加载
评论 #13711658 未加载
jamiesonbeckerabout 8 years ago
This is a perfect use for Lambda (i.e., low-traffic, once-off tasks that don&#x27;t require a full server), or at least this would be a good fit if not for immaturity issues like missing WWW-Authenticate.<p>But Lambda <i>at scale</i> is very expensive. A 100 request&#x2F;second would cost more than $1,500&#x2F;month, when even a single nano server could easily service that kind of load all by itself.<p>Back of napkin analysis: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;JamiesonBecker&#x2F;status&#x2F;802185522139582464" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;JamiesonBecker&#x2F;status&#x2F;802185522139582464</a><p>Lambda is great for tech demos, small or rare loads, triggered tasks, etc. Not so great as part of your core app pipeline.
评论 #13715594 未加载
saammabout 8 years ago
Hosting a PyPI index on S3 is simpler, but I admire the effort here!
CaliforniaKarlabout 8 years ago
This is cool, but it makes me sad that it has to run on Python 2, as Lambda does not natively support Python 3.<p>(And no, I&#x27;m not counting tricks like calling into the underlying OS&#x27; Python 3)