並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 28 件 / 28件

新着順 人気順

ShutDownの検索結果1 - 28 件 / 28件

  • Amazon EKS上でアプリケーションをGraceful Shutdownさせる際に注意すべきポイント | 株式会社ヌーラボ(Nulab inc.)

    SRE課で、主にBacklogのSREを担当しているMuziです。 物理サーバやインスタンスで動作していたアプリケーションを、Kubernetesクラスタに移行する際には、いままで暗黙的に存在していた前提に目を向ける必要があります。そのような前提を無視すると、アプリケーションは動作したとしても、可用性が悪化する可能性があるためです。 私たちがBacklogをEC2インスタンスからKubernetesクラスタに移行した際にも、可用性の悪化に繋がる問題に対処する必要が生じました。今回は、そのような問題の一つであるGraceful Shutdownに関する注意点を、私たちの実体験をもとにご紹介します。 なお、以下の内容はAmazon EKSのKubernetesバージョン1.22で確認しました。Amazon EKSに固有の話題も含みますが、Kubernetes全般に共通する部分も多いかと思います

      Amazon EKS上でアプリケーションをGraceful Shutdownさせる際に注意すべきポイント | 株式会社ヌーラボ(Nulab inc.)
    • Dockershimを非推奨とした「Kubernetes 1.20」が正式リリース。Graceful node Shutdown機能がアルファ版で登場など

      Dockershimを非推奨とした「Kubernetes 1.20」が正式リリース。Graceful node Shutdown機能がアルファ版で登場など オープンソースとして開発されているコンテナオーケストレーションツール「Kubernetes」の最新版「Kubernetes 1.20」正式版がリリースされました。 We just released #Kubernetes 1.20, our third and final release of 2020! This release consists of 42 enhancements: 11 enhancements have graduated to stable, 15 enhancements are moving to beta, and 16 enhancements are entering alpha. https://

        Dockershimを非推奨とした「Kubernetes 1.20」が正式リリース。Graceful node Shutdown機能がアルファ版で登場など
      • Express (Node.js) の Graceful shutdown - Qiita

        基本的な実装の仕方と、実装した場合 / しなかった場合、で実際にどういう動作をするか〜、について書きます。 Linux, Node.js 12.13.0, での話だけをします。 Graceful shutdown ? Express (Node.js) に限りませんが、Web サーバーを停止する際、クライアントから接続中のリクエスト (リクエスト受付してまだレスポンスしていない接続) はどうなるでしょうか? Graceful shutdown とは一般的に以下の停止を指します。 停止指示後に、新しい接続を受付しない 残った処理中の接続が完了するのを待ってから、プロセスを安全に停止する SIGNALs そもそも Web サーバープロセスはどうやって停止するかというと、 SIGNAL を用いて停止します。 具体的には下表の通り、コマンド等によって SIGNAL を送信できます。 SIGNAL

          Express (Node.js) の Graceful shutdown - Qiita
        • 作ってよかった graceful shutdown ライブラリ - c4se記:さっちゃんですよ☆

          qiita.comの 12/12 (火) です。 去る 12/2 (土) に Go Conference mini 2023 Winter IN KYOTO で「作ってよかったgraceful shutdownライブラリ」と云ふ事を喋りました。 event report は以下。 scrapbox.io ここでは喋った事を紹介します。 speakerdeck.com はてなでは Go を (も) 使って application を作ってゐます。或る時「Go の code は記述量が多い」事が話題になりました。その中の一つに、graceful shutdown を實現するのに、似た code を每囘長々と書いてゐる事が擧がりました。そこで graceful shutdown の記述を改善できないか探索する事にしました。 graceful に起動・終了するとはどう云ふ事か? と云ふ一般論は省略

            作ってよかった graceful shutdown ライブラリ - c4se記:さっちゃんですよ☆
          • GitHub - nullpo-head/Out-of-the-Box-CodeServer: OOTB Code-Server is an out-of-the-box Code-Server environment. It provides Https proxy, GItHub authorization and automatic shutdown with just a few settings.

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - nullpo-head/Out-of-the-Box-CodeServer: OOTB Code-Server is an out-of-the-box Code-Server environment. It provides Https proxy, GItHub authorization and automatic shutdown with just a few settings.
            • Go MachineryでGraceful shutdownできてないバグを直した話 - LayerX エンジニアブログ

              本ブログはLayerX Tech Advent Calendar 2022 の 12/13 の記事です。 こんにちは、バクラクのOCRなどを開発しているTomoakiです。 コーヒーはラテよりカプチーノ派です。 Machineryとは MachineryはGo製の非同期タスク管理フレームワークです。 github.com バクラクのバックエンドでは主にGo言語を採用しており、非同期で実行したい処理はメッセージキューとしてAmazon SQS、メッセージの送受信やジョブワーカーの管理にはMachinery(v1)を使用しています。 OCRでも採用している技術スタックは同じで、突然大量のリクエストが来ても対応できるように非同期処理を多用しております。 以下の図のようにファイルがアップロードされてから、OCRの実行結果を返すまでの過程で非同期処理がたくさん実行されています。 OCRの非同期タスク

                Go MachineryでGraceful shutdownできてないバグを直した話 - LayerX エンジニアブログ
              • Linux SIGNAL と Graceful Shutdown - Link and Motivation Developers' Blog

                はじめに 来期は「本番デプロイをもっと気軽に。高速に」を実現したいな〜と思っている SRE 川津です。 そもそも、本番デプロイが気軽にできない事の根本には 「起動しているアプリケーションを気軽にシャットダウンできない」 ことがあります。 何が問題か? 現状のリリースプロセス LM では、本番デプロイが 半 自動化されています # Actor Operation 1 人間 リリース PR を master マージします 2 CI Docker Image をビルドします 3 CI ECS (待機系) に新しい Image がデプロイされます → 古いコンテナがシャットダウンされます 4 人間 コンテナが完全に立ち上がり切る (Health = Green) のを待ちます 5 人間 (CI) 稼働⇔待機系 の Switch をします。 (CI 手動実行) 作業は自動だが、張り付いて「大丈夫かな

                  Linux SIGNAL と Graceful Shutdown - Link and Motivation Developers' Blog
                • Go - graceful shutdown of worker goroutines | Callista

                  Blogg Här finns tekniska artiklar, presentationer och nyheter om arkitektur och systemutveckling. Håll dig uppdaterad, följ oss på Twitter 05 October 2019 // Erik Lupander In this blog post we’ll take a look at gracefully shutting down a Go program having worker goroutines performing tasks that must be completed before allowing the program to shut down. Introduction In a recent project we had a us

                  • Google’s Phil Harrison told employees of Stadia’s shutdown minutes before the public

                    Stadia Google’s Phil Harrison told employees of Stadia’s shutdown minutes before the public Today, Google announced that it would be shutting down Stadia, its game streaming service from 2019. However, Stadia’s Phil Harrison only told employees about the shutdown minutes before the public learned. At 9:15 a.m. on September 29, Google made a public announcement that Stadia has begun the process of

                      Google’s Phil Harrison told employees of Stadia’s shutdown minutes before the public
                    • Graceful shutdown in Kubernetes

                      TL;DR: In this article, you will learn how to prevent broken connections when a Pod starts or shuts down. You will also learn how to shut down long-running tasks and connections gracefully. In Kubernetes, creating and deleting Pods is one of the most common tasks. Pods are created when you execute a rolling update, scale deployments, for every new release, for every job and cron job, etc. However,

                        Graceful shutdown in Kubernetes
                      • gRPCのGraceful Shutdown - Qiita

                        はじめに この記事はGo 3 Advent Calendar 2020の21日目です。 gRPCのメトリクスを取得するためにPrometheusを使う際にGraceful Shutdown を行う際の例になります。 やりたいことは「どちらかのサーバでエラーや特定のシグナルが発生した場合すべてのサーバを安全に停止する」です。 注意 Goで作るgRPCのServerでのメトリクス取得が対象です。 要約 今回はrunを使ってGraceful Shutdownを作ります。 errgroupという便利なパッケージもあります。 ざっくりとした背景 gRPCのメトリクスを取得しようとした際、go-grpc-prometheusにならって 以下のようにgPRCのHTTP2なサーバとPrometheus用のHTTPなサーバの2つをたてると思います。こちらから抜粋 // メトリクス用のサーバを別のgorout

                          gRPCのGraceful Shutdown - Qiita
                        • Japan nuclear shutdown did 'more harm than good', study finds : Regulation & Safety - World Nuclear News

                          Japan nuclear shutdown did 'more harm than good', study finds 29 October 2019 Increased electricity prices and greater use of fossil fuels have led to more deaths following the Fukushima accident in March 2011 than the subsequent evacuation from the area surrounding the nuclear power plant, a new study shows. No deaths have been recorded as a direct result of the accident itself, but the decision

                          • Spring BootのGraceful shutdown処理が内部でどう呼ばれているかソースコードリーディングしてみた結果 - Qiita

                            参考: Spring Boot Reference Documentation#boot-features-graceful-shutdown Graceful shutdownが内部でどう呼ばれるか 上記からSpring BootのGraceful shutdownがどのように動くのか分かりました。では上記の処理はどこからどう呼ばれているのでしょうか。 ソースコードを読んで確認してみたいと思います。 ※注意: 今回追うコードはSpring Boot 2.3.1を前提としています。内部の挙動は今後のバージョンアップで変わる可能性があるのでご注意ください。 また、サーバはJettyを使用します。 Graceful shutdownの実処理部分を特定する まずGraceful shutdownの実処理部分を特定し、そこを起点に呼び出し元を探る作戦でいきたいと思います。 何はともあれGracef

                              Spring BootのGraceful shutdown処理が内部でどう呼ばれているかソースコードリーディングしてみた結果 - Qiita
                            • Graceful shutdown of a TCP server in Go - Eli Bendersky's website

                              This post is going to discuss how to gracefully shut down a TCP server in Go. While servers typically never stop running (until the process is killed), in some scenarios - e.g. in tests - it's useful to shut them down in an orderly way. High-level structure of TCP servers in Go Let's start with a quick review of the high-level structure of TCP servers implemented in Go. Go provides some convenient

                              • Prepare MySQL for a Safe Shutdown

                                All of Percona’s open-source software products, in one place, to download as much or as little as you need.

                                  Prepare MySQL for a Safe Shutdown
                                • InVision design collaboration services shutdown | Inside Design Blog

                                  InVision Community, Today I am writing to share that after careful consideration we have made the difficult decision to discontinue InVision’s design collaboration services (including prototypes, DSM, etc) at the end of 2024. For important information, details, and guidance on next steps read our FAQs. As you may know, our Freehand visual collaboration product was acquired by Miro earlier this fal

                                    InVision design collaboration services shutdown | Inside Design Blog
                                  • Akka HTTP の Graceful な Shutdown の方法 または私は如何にして OSS のコードを読んでいるか - astamuse Lab

                                    どうもみなさまおはこんばんちわー。アプリケーションエンジニアの池田 (@yukung) です。3 度目の登場になります。 2020 年始まりましたね!時が経つのは早いもので私も入社してはや 1 年が経ちましたが、最近はエンジニアだけに限らず、様々な分野で専門を持つ方々が弊社に入社してきてくださっていて、そんな方々の自己紹介を聞くたびに、世の中には知らない世界がまだまだたくさんあるなぁ、と思う刺激的な毎日です。 2020 年の心配事は、オリンピックによる混雑ですねぇ。あまりに混雑するようなら、どうせなら期間中はリモートワークで切り抜けようかな、とか密かに思っています。(弊社には宮崎からリモートワークで働いてるエンジニアもいます) lab.astamuse.co.jp Akka HTTP はいいぞ さて、今回は何を書こうかと考えた時に、前々回、前回と技術的なことを書いていなかったことを思い出し

                                      Akka HTTP の Graceful な Shutdown の方法 または私は如何にして OSS のコードを読んでいるか - astamuse Lab
                                    • graceful shutdown可能な非同期リトライするGoライブラリをOSSとして作った話 - Qiita

                                      はじめに はじめまして。Kyashでサーバサイドエンジニアを担当しているhirobeです。 Kyash Advent Calendar 2022の12/3担当分です。 最近は技術基盤を整理することが多いのですが、やりたいことを実現する上でgraceful shutdown可能な非同期リトライするGoライブラリが必要になり、1週間ほどで実装し、OSSとして公開しました。 今現在のステータスとしては、本番環境で利用するためにQAをしているところです。2022年中にはKyashの本番環境にて使われることは間違いないと思います。 今現在のステータスとしては、Kyashの本番環境で実際に利用されています。 実装する前に既にそのようなOSSがあるかざっと調査したのですが、なさそうでした。OSSの機能の詳細は後ほど紹介しますが、「君のやりたいことはこのOSSで既にできるぞ」といったツッコミも歓迎します。

                                        graceful shutdown可能な非同期リトライするGoライブラリをOSSとして作った話 - Qiita
                                      • Arukas will Shutdown on January 31, 2020 | Arukas

                                        To our Arukas users. Thank you for using our service. We are regrets to announce that we will shutdown the Arukas service effective on January 31, 2020. Please be sure to read the following information on the shutdown and its consequences for our users: Shutdown of Services On January 31, 2020, all Arukas services will shut down permanently. users going to not able to boot the application anymore.

                                        • 【Go】Graceful Shutdownではまったところ - Qiita

                                          概要 net/httpパッケージのServer.Shutdownを利用しているのになぜかGraceful Shutdownされないことがあったので、原因と対策をまとめました。 GracefulにShutdownしない実装 以下のコードを実行し、ブラウザから http://localhost:8080/ にアクセスすると5秒後に「hello world」と表示されます。 ブラウザから http://localhost:8080/ にアクセスした直後にCtrl+Cでプログラムを終了すると、GracefulにShutdownするなら「hello world」と表示されるはずですが、実際は表示されません。 package main import ( "context" "io" "log" "net/http" "os" "os/signal" "time" ) func main() { ctx

                                            【Go】Graceful Shutdownではまったところ - Qiita
                                          • Improvements to Amazon ECS task launch behavior when tasks have prolonged shutdown | Amazon Web Services

                                            Containers Improvements to Amazon ECS task launch behavior when tasks have prolonged shutdown Amazon Elastic Container Service (Amazon ECS) now launches tasks faster on container instances that are running tasks that have a prolonged shutdown period. This enables customers to scale their workloads faster and improve infrastructure utilization. About Amazon ECS scheduling Amazon ECS is a container

                                              Improvements to Amazon ECS task launch behavior when tasks have prolonged shutdown | Amazon Web Services
                                            • Shutdown Clear virtual memory pagefile - Windows 10

                                              Applies to Windows 11 Windows 10 Describes the best practices, location, values, policy management and security considerations for the Shutdown: Clear virtual memory pagefile security policy setting. Reference This policy setting determines whether the virtual memory paging file is cleared when the device is shut down. Virtual memory support uses a system paging file to swap pages of memory to dis

                                                Shutdown Clear virtual memory pagefile - Windows 10
                                              • Cloudflare loses 22% of its domains in Freenom .tk shutdown | Netcraft

                                                Resources > Blog > Cloudflare loses 22% of its domains in Freenom .tk shutdown A staggering 12.6 million domains on TLDs controlled by Freenom (.tk, .cf and .gq) have been shut down and no longer resolve, leading to a significant reduction in the number of websites hosted by Cloudflare. The disappearance of these websites was spotted during our monthly Web Server Survey and represents a 98.7% drop

                                                  Cloudflare loses 22% of its domains in Freenom .tk shutdown | Netcraft
                                                • Go Gin Graceful-Shutdownについて

                                                  前回にてgin-gonic/ginで触りこぼしていたGraceful-Shutdownをちゃんと試してみました。 Graceful Shutdown 名前の通り終了処理にあたってセッションがクローズするまでなるべく待ってあげることです。 調べた結果は簡単に次の通りです。 Ginも標準パッケージもGraceful処理は変わらない contextで最長の待ち時間を決定できる Graceful-ShutdownのManuallyに記載されている方法をまずは試してみます。 $ curl localhost:8080 で5秒後に返信がきます。 $ go run main.go [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-

                                                  • Quantum computing: ‘the best data we have ever seen’ thanks to shutdown

                                                    Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

                                                      Quantum computing: ‘the best data we have ever seen’ thanks to shutdown
                                                    • 楠木ともり「Forced Shutdown」Music Video -Full ver.-

                                                      全曲楠木ともりが作詞・作曲を手掛ける渾身の2ndEP「Forced Shutdown」4月28日(水)発売! https://www.kusunokitomori.com/ 2020年8月に鮮烈なメジャーデビューを飾った声優・シンガーソングライター 楠木ともり待望の2ndEPをリリース!今回は収録曲全ての作詞・作曲を楠木ともり自身が手掛け、バラエティーに富んだ4曲で表現の幅・世界観の深さを見せつける1枚となっている。 Blu-ray付き初回生産限定盤・DVD付き初回生産限定盤には、激しくも艶やかな表情で魅せる「Forced Shutdown」・エモーショナルに歌い上げる「バニラ」、全くイメージの異なる2曲の新規ミュージックビデオに加えて、リリックビデオ2曲を収録。 さらに、2020年12月にオンラインにて開催されたバースデーワンマンライブ「MELTWIST」の映像も収録決定!100本のキ

                                                        楠木ともり「Forced Shutdown」Music Video -Full ver.-
                                                      • How to handle signals with Go to graceful shutdown HTTP server

                                                        How to handle signals with Go to graceful shutdown HTTP server In this article we are going to learn how to handle os incoming signals for performing graceful shutdown of http server. To do so we are going to take advantage of os/signal package. Signals are primarily used on Unix-like systems. Types of signals We are going to focus on asynchronous signals. They are not triggered by program errors,

                                                        • Implementing Graceful Shutdown in Go | RudderStack Blog

                                                          Shutting down gracefully is important for any long lasting process, especially for one that handles some kind of state. For example, what if you wanted to shutdown the database that supports your application and the db process didn't flush the current state to the disk, or what if you wanted to shut down a web server with thousands of connections but didn't wait for the requests to finish Not only

                                                            Implementing Graceful Shutdown in Go | RudderStack Blog
                                                          1