タグ

2015年2月12日のブックマーク (4件)

  • Embeddable daemonization library -

    What is this?This is a Java library you can use in your application to support Unix daemonization. By taking advantages of POSIX API, this library lets you fork your process into background with proper daemonization steps. It currently has several features, which we'll see in more details. DaemonizationOne feature of this library lets you fork a copy into background as a real Unix daemon, when sta

    yass
    yass 2015/02/12
    " By taking advantages of POSIX API, this library lets you fork your process into background with proper daemonization steps. "
  • S3にアップロードされたファイルがzipならlambdaで自動解凍する - Qiita

    やりたいこと S3にアップしたファイルがzipかどうかを判別して、自動的にunzipする処理をlambdaで実行します。 圧縮のサンプルはよく見かけるけど、解凍のサンプルがあまり無い気がしたので、利用シーンは正直まったく浮かばないけど作ってみました。 手順 S3にアップロード用のバケットを作成。 解凍ファイルの保存先用のバケットも作成。(1と同じバケットでもOK) lambda作成 以上。 サンプルコード 使用モジュール 以下のモジュールを使用しています。 - async: フロー制御用のモジュール - node-zip: zipを操作出来るモジュール - mime-types: ファイル名からいい具合にcontentTypeを判断してくれるモジュール 補足 S3にputObjectするにはcontentTypeの指定が必要なので、mime-typesを使っていますが、この子は判断できない

    S3にアップロードされたファイルがzipならlambdaで自動解凍する - Qiita
  • MinOps homepage

    One of my ex-colleagues used to be a race car driver. He probably still is, and what he told me once has stuck in my mind ever since. "Do you know where the sport car starts? Oh no, not the engine. It's the tires, man. You see, tires are the only thing that hold you to the ground. And that's where it all starts and then everything else follows." Similarly, EBS is where it all starts on AWS. All mo

  • MinOps homepage

    Last time we reviewed AWS IAM Best Practices to cover essentials of your AWS security barriers. Now, let's get to basics - EC2 performance. When we "cloudify" our applications we tend to think of how we scale them and make robust, fault-tolerant and cloud-compatible in general. However, before going up and multiplying your EC2 instances with Auto Scaling groups you may need to look at that single