タグ

2018年2月28日のブックマーク (4件)

  • LambdaとSQSによる非同期分散処理 | DevelopersIO

    はじめに AWS Lambdaで処理時間が掛かることが想定される場合、どのような対応策があるでしょうか?Lambdaを諦める?(これも1つの選択肢だと思います)、一回のデータ処理量を減らして処理時間を短くする、など色々な方法が考えつくと思います。 今回は1つの対応策として、処理時間が掛かる処理を複数に分割して別Lambda関数として動かす事を考えてみました。処理を分割してQueueに登録し、Queue毎に別Lambda関数を起動するサンプルを作成してみたので、それを中心に書きたいと思います。尚、実装言語はPythonとなります。 処理概要 今回の処理概要を図にすると以下のようになります。 Pythonにより実装したLambda関数、SQS、DynamoDBを組み合わせました。一番左の「main.py」がタスクをQueueに分割してSQSに登録します。定期的に動いている「consumer.p

    LambdaとSQSによる非同期分散処理 | DevelopersIO
  • Alto's Odyssey

    Watch the Trailer Apple Design Award Winner 2018 BAFTA Nominee Mobile Game IGF Finalist Excellence in Visual Arts & Excellence in Audio GDCA Finalist Best Mobile Game SXSW Finalist Mobile Game of the Year MGA Finalist Best Audio/Visual Accomplishment & Best Indie Developer Apple TV Game of the Year London Design Awards Silver Winner 2018 Google Play Best Indie Games of 2018 MacStories Best New Gam

    f-suger
    f-suger 2018/02/28
  • Flutter - Build apps for any screen

    Flutter transforms the development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded experiences from a single codebase. Get started Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform applications from a single codebase. Fast Productive Flexible Fast Flutter code compiles to ARM or Intel machine code as well as JavaSc

    Flutter - Build apps for any screen
  • Terraformベストプラクティス解釈 - takanamitoのブログ

    最近、自分のチームでTerraformを使ってAWSのオーケストレーションをやろうという話になった。 サーバー台数も10~20台程度、今まではAWSコンソールをポチポチしてインスタンスを用意していたが サービス規模の拡大に伴って、手動オペレーションによるミスを防いだり、インフラ説明コストなどを省くこと、インフラ整理の意味合いで導入している最中。 Terraformに触るのは初めてだったので、ドキュメントを読みつつ基的な機能について勉強しつつ どのようなファイル構成で管理をするのがいいのか、経験者の同僚にアドバイスをもらいにいったところ Hashcorpが公開しているベストプラクティスのリポジトリを教えてくれた。 github.com ところがこの構成、けっこう複雑で初心者がいきなり読み始めるのは辛かったので 復習も兼ねてベストプラクティスを読み解いていく。 理解するために必要な要素 AW

    Terraformベストプラクティス解釈 - takanamitoのブログ