並び順

ブックマーク数

期間指定

  • から
  • まで

201 - 240 件 / 303件

新着順 人気順

gracefulの検索結果201 - 240 件 / 303件

  • Next.js x Supabase x TypeScript で公式クイックスタートを実装

    はじめに 目的は、Supabase の公式クイックスタートに記載されていることだけを TypeScript で実装することです。 Supabase とは何かを簡単に紹介します。 ソースは以下を参照ください。 Supabaseとは Supabase とは何かです。 Firebase の代替品とされているソリューションです。 主な機能としてデータベース、認証機能、ストレージ、エッジ機能があります。 Supabase を利用することで、Firebase のような機能を自分の環境に構築できます。 以下が公式サイトです。 英語ですが Supabase の紹介が 2 分半で簡潔にされています。 Supabaseの特徴 Supabase の特徴を 3 点あげます。 特徴1:データベースがPostgreSQL SQL の知識があれば、データベースの操作がすぐそうできるため、学習コストが低いです。 RDB

      Next.js x Supabase x TypeScript で公式クイックスタートを実装
    • Captured Custom Properties

      Current music:toe — 風と記憶Current drink:Yunnan teaTable of Contents Introduction In a few of my latest experiments and articles (“Fit-to-Width Text: A New Technique” and “Querying the Color Scheme”), I used one naming pattern for registered custom properties that I think worth highlighting in a separate blog post. Registered custom properties are invaluable, as they unlock many things previously not

      • The Theory of Graceful Extensibility: Basic rules that govern adaptive systems - David Woods

        The paper introduces the theory of graceful extensibility which expresses fundamental characteristics of the adaptive universe that constrain the search for sustained adaptability. The theory explains the contrast between successful and unsuccessful cases of sustained adaptability for systems that serve human purposes. Sustained adaptability refers to the ability to continue to adapt to changing e

          The Theory of Graceful Extensibility: Basic rules that govern adaptive systems - David Woods
        • Blog with Markdown + Git, and degrade gracefully through time

          Blog with Markdown + Git, and degrade gracefully through time (Problem 1.) As I was reviving my RSS habit the other week, I couldn’t help but notice how many of my old subscriptions were dead. Not “doesn’t publish anymore” dead, but “gone from the internet” dead. People had created blogs (many with great content), run them for a while, let them lapse, and eventually they were swallowed by time and

          • やさしい Service Mesh を求めて、Maesh でできること - Qiita

            Containous から 2019/11/21 に Maesh の v1.0.0 がリリースされました Maesh は Service Mesh の OSS で、DaemonSet により各ノードで起動しているプロキシエンドポイントを利用してルーティングを処理します。 そのため一部のアプリケーションに導入することや、Kubernetes の Service からの移行が簡単になっている構成になります。 サイドカーによる Service Mesh の導入ではマニフェストの管理を動的生成と静的生成、どちらで管理するかも悩ましいですし、コンテナ間の Graceful Shutdown への対応も考慮する必要があります。 1 ただし mTLS などの要件は DaemonSet の方式では満たすことができないので注意が必要です。2 動作するプラットフォームは Kubernetes のみとなっていま

              やさしい Service Mesh を求めて、Maesh でできること - Qiita
            • 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
              • 2020-03-26 Kubernetes Meetup Tokyo #29 Cluster Upgrade 編 #k8sjp|諏訪真一

                →cluster migrationに絞ると5つ ●Cluster migrationの原則 ・クラスタをコード間 ・動作確認の省力化 ・非名前管理 ・バックアップ ・重複欠損管理 ●クラスタをコード管理 ・互換性がない場合変更が大きい クラスタの作成を楽にしたい ・クラスタの設定、作成もコード化 ・環境ごとの差分は明示的に比較できるように ●動作確認の省力化 ・ツールの恩恵が受けられない ・検証環境との差異をできるだけ減らす 本番でしか起きない問題を減らす ・クラスタへの変更はコードを元にする 意図しないリソースの変更を検知 ●非名前管理 ・複数クラスタの運用を考慮する場合 クラスタ名が同じだと識別できない 別の名前で立てることになる 監視やアラートも新しいクラスタ向けに必要 ロールバックをしやすく ・同一要素のリソースが複数立てられることを想定 production 本番で複数クラスタ

                  2020-03-26 Kubernetes Meetup Tokyo #29 Cluster Upgrade 編 #k8sjp|諏訪真一
                • Journey to libbpf 1.0

                  Libbpf 1.0 release is here! It has been a pretty long journey to get to libbpf 1.0, so to commemorate this event I decided to write a post that would highlight main features and API changes (especially breaking ones) and show large amount of work done by libbpf community that went into improved usability and robustness of libbpf 1.0. The idea to clean up and future-proof and shed some organically

                  • Introducing Falcon: a reliable low-latency hardware transport | Google Cloud Blog

                    Google opens Falcon, a reliable low-latency hardware transport, to the ecosystem At Google, we have a long history of solving problems at scale using Ethernet, and rethinking the transport layer to satisfy demanding workloads that require high burst bandwidth, high message rates, and low latency. Workloads such as storage have needed some of these attributes for a long time, however, with newer us

                      Introducing Falcon: a reliable low-latency hardware transport | Google Cloud Blog
                    • Everything you ever wanted to know about UDP sockets but were afraid to ask, part 1

                      Everything you ever wanted to know about UDP sockets but were afraid to ask, part 12021-11-25 Snippet from internal presentation about UDP inner workings in Spectrum. Who said UDP is simple! Historically Cloudflare's core competency was operating an HTTP reverse proxy. We've spent significant effort optimizing traditional HTTP/1.1 and HTTP/2 servers running on top of TCP. Recently though, we start

                        Everything you ever wanted to know about UDP sockets but were afraid to ask, part 1
                      • k6使ったら今までで一番負荷テストが捗った - Qiita

                        import http from 'k6/http'; import { sleep } from 'k6'; export default function () { http.get('http://localhost/'); sleep(1); } $ k6 run sample.js /\ |‾‾| /‾‾/ /‾‾/ /\ / \ | |/ / / / / \/ \ | ( / ‾‾\ / \ | |\ \ | (‾) | / __________ \ |__| \__\ \_____/ .io execution: local script: sample2.js output: - scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop): * default:

                          k6使ったら今までで一番負荷テストが捗った - Qiita
                        • Identifying and protecting against the largest DDoS attacks | Google Cloud Blog

                          Security threats such as distributed denial-of-service (DDoS) attacks disrupt businesses of all sizes, leading to outages, and worse, loss of user trust. These threats are a big reason why at Google we put a premium on service reliability that’s built on the foundation of a rugged network. To help ensure reliability, we’ve devised some innovative ways to defend against advanced attacks. In this po

                            Identifying and protecting against the largest DDoS attacks | Google Cloud Blog
                          • Kubernetes 1.18: SIG-CLI の変更内容 - Qiita

                            はじめに ここでは、Kubernetes 1.18 の CHANGELOG から SIG-CLI (kubectl) の取り組みについてまとめています。 https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.18.md https://relnotes.k8s.io/?areas=kubectl&releaseVersions=1.18.0 新たに追加されたコマンドとフラグ kubectl alpha debug: 実行中の Pod にデバッグコンテナをアタッチする。 --tls-server-name フラグ(全コマンド共通): サーバ証明書の検証に使用するサーバ名。指定されていない場合は、ホスト名が使われる。 kubectl drain --disable-eviction フラグ: evi

                              Kubernetes 1.18: SIG-CLI の変更内容 - Qiita
                            • systemd制御下で動作するプロセスの、リソース制御を行う - CLOVER🍀

                              これは、なにをしたくて書いたもの? Linuxにおけるリソース制御といえば、ulimitです。 limits.conf(5) - Linux manual page /etc/security/limits.confファイルや/etc/security/limits.dディレクトリ内に[任意の名前].confファイルを作成して nofileなどの値を設定すればOKです。 ですが、systemd制御下で動作するプロセスはこの事情が違います。前々からなんとなく知ってはいましたが、 自分で設定したことがなかったので試しておくことにしました。 環境 今回の環境は、こちら。Ubuntu Linux 20.04 LTSです。 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu

                                systemd制御下で動作するプロセスの、リソース制御を行う - CLOVER🍀
                              • Built-in AI  |  AI on Chrome  |  Chrome for Developers

                                When we build features with AI models on the web, we often rely on server-side solutions for larger models. This is especially true for generative AI, where even the smallest models are about thousand times bigger than the median web page size. It's also true for other AI use cases, where models can range from 10s to 100s of megabytes. Since these models aren't shared across websites, each site ha

                                  Built-in AI  |  AI on Chrome  |  Chrome for Developers
                                • 落ち着きのある洗練された香りと味わい、『吉助<黒>』☆ - ひなたのお酒レビューブログ

                                  遅ればせながら・・・ 皆さん、明けましておめでとうございます(*'ω'*) ゆるりとマイペースに、お酒とご縁を繋ぐお手伝いが出来たらと思っています。 今年もよろしくお願いします☆彡 2022年最初のお酒は、やっぱり宮崎県で造られたものです♬ 焼酎の『吉助<黒>』をいただきます。 【今回のお酒】 名前:吉助<黒> ジャンル:焼酎 製造者:霧島酒造株式会社 アルコール度数:25% 原材料:芋麹、さつま芋 価格:1412円(720ml) ※税抜価格 ◎どういうお酒? 厳選したさつま芋100%で仕込んだ芋麹焼酎。 芋本来の味わい・香りを持つ洗練された酒質です。 黒麹仕込みによるコクのある味に、落ち着いた香りと甘みを感じさせる、まさに「穏やかさ(GENTLE)」を思わせる味わいです。 【飲み方】 お湯割り 【感想】 焼酎なのですが、ウイスキーを彷彿(ほうふつ)させるような香り。 スッキリとした味わい

                                    落ち着きのある洗練された香りと味わい、『吉助<黒>』☆ - ひなたのお酒レビューブログ
                                  • Using the circuit breaker pattern with AWS Step Functions and Amazon DynamoDB | Amazon Web Services

                                    AWS Compute Blog Using the circuit breaker pattern with AWS Step Functions and Amazon DynamoDB This post is written by Anitha Deenadayalan, Developer Specialist SA, DevAx Modern applications use microservices as an architectural and organizational approach to software development, where the application comprises small independent services that communicate over well-defined APIs. When multiple micr

                                      Using the circuit breaker pattern with AWS Step Functions and Amazon DynamoDB | Amazon Web Services
                                    • k6でシナリオベースの負荷テストを試してみる

                                      k6 はGolang製のOSS負荷テストツールとGUIを備えるクラウドサービスでもあります。今回この負荷テストツールを試しました。k6の特筆すべきはテストシナリオをJavaScriptで書けることです。 JMeter, Gatlingを以前使ったことがありましたが、クライアント・サーバー両サイドともTypeScriptで近年開発することが多く、親和性の高そうな使いやすいツールを探していたところk6を見つけました。最近はAWS CDK等XMLやYAMLベースで定義を書くよりも、実行前にチェックが効きやすいコードで定義するタイプのツールが増えてきたように思います。 シナリオの定義 シナリオ ユーザー名とパスワードを取得 ログインAPIを呼ぶ ユーザー操作を想定した待ち ブックマークを追加APIを呼ぶ コード scenario.js これがメインスクリプトになります。default でエクスポー

                                        k6でシナリオベースの負荷テストを試してみる
                                      • 【ACADEMY】「創造的作業ができなくなる症候群」を優しさで克服する

                                        Gabby DeRienzo氏はスーパークラッシュKOの制作中に燃え尽き症候群から立ち直ったプロセスを語る。 2017年末,Gabby DaRienzo氏は2つの成功したゲームの出荷を終えた。A Mortician's TaleとGraceful Explosion Machineだ。彼女はさらに2つのゲームに取り組んでいた。Super Crush KOと,Laundry Bearの開発元による別の未発表のゲームだ。なかなか完璧に聞こえないか? しかし,DaRienzo氏がGDC 2020の講演「Super Crush KOでのクリエイティブブロックの克服」で説明したように,すべてが完璧とはほど遠いものだった。彼女はいつも疲れ果てていて,「ぼんやり」していて,集中するのに苦労していたという。8時間労働の日もあり,チームメイトと口論になり,自分の仕事を守ろうとしていた。 「私は本当にやる気が

                                          【ACADEMY】「創造的作業ができなくなる症候群」を優しさで克服する
                                        • The Linux Kernel Has Been Forcing Different Behavior For Processes Starting With "X" - Phoronix

                                          Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 19+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phor

                                            The Linux Kernel Has Been Forcing Different Behavior For Processes Starting With "X" - Phoronix
                                          • Building A Generative AI Platform

                                            After studying how companies deploy generative AI applications, I noticed many similarities in their platforms. This post outlines the common components of a generative AI platform, what they do, and how they are implemented. I try my best to keep the architecture general, but certain applications might deviate. This is what the overall architecture looks like. This is a pretty complex system. Thi

                                              Building A Generative AI Platform
                                            • JSUG勉強会で「Spring BootユーザのためのArmeria入門」というタイトルでLTしました #jsug

                                              JSUGスタッフの方にお声がけ頂いて、JSUG勉強会 2020年その6 LT大会!で「Spring BootユーザのためのArmeria入門」というタイトルでLTしました。 発表資料はこちらです。 発表で使ったサンプルアプリはここに置いています。 https://github.com/matsumana/armeria-example-for-jsug Youtube録画もあります。 https://www.youtube.com/watch?v=a7TDu8aOSUw&feature=youtu.be&t=71 Armeriaとは? ArmeriaはLINE社がOSSとして開発しているマイクロサービス向けのフレームワークです。 JavaやSpringユーザの皆さんにとってはおなじみのNettyというOSSがありますが、NettyプロジェクトのFounderであるTrustinさんが今はL

                                              • ARCHIVED: Modern Application Development on AWS

                                                Modern Application Development on AWS Cloud-Native Modern Application Development and Design Patterns on AWS October 2019 This paper has been archived. For the latest techincal guidance on the AWS Cloud, see the AWS Whitepapers & Guides page: https://aws.amazon.com/whitepapers/ Archived Notices Customers are responsible for making their own independent assessment of the information in this documen

                                                • GitHub - postcss/postcss-media-minmax: Writing simple and graceful Media Queries!

                                                  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 - postcss/postcss-media-minmax: Writing simple and graceful Media Queries!
                                                  • EKSでCluster Autoscalerを設定する - goodbyegangsterのブログ

                                                    Cluster Autoscalerとは、 The cluster autoscaler on AWS scales worker nodes within any specified autoscaling group. It will run as a Deployment in your cluster. との事で、EKS Worker Nodeの数をいい感じに管理してくれるものです。各種ドキュメントを参考に、利用方法を確認します。 AWS - Cluster Autoscaler GitHub - Cluster Autoscaler 環境 Kubernetes(EKS) 14.9 eksctl 0.13.0 Cluster Autoscalier v1.14.7 EKS Clusterの用意 eksctlを利用して、EKS Clusterを作成します。 Master Nodeの作

                                                      EKSでCluster Autoscalerを設定する - goodbyegangsterのブログ
                                                    • The end of Internet Explorer  |  Articles  |  web.dev

                                                      The end of Internet Explorer Stay organized with collections Save and categorize content based on your preferences. What ending support for Internet Explorer meant for the customers and developers at Maersk.com. I'm Steve Workman and I'm the Lead Engineer for Maersk.com. Maersk is the global leader in integrated supply chain logistics, helping customers to move goods around the world for 118 years

                                                      • 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
                                                        • IoT系のプロダクト開発の裏側って? 知られざる開発・運用ノウハウを2社のエンジニア6名が徹底解説! | gihyo.jp

                                                          IoT系のプロダクト開発の裏側って? 知られざる開発⁠⁠・運用ノウハウを2社のエンジニア6名が徹底解説! 電化製品や産業用機器など、あらゆるコンピューターやデバイスがインターネットを介して通信し、相互にやりとりする。そんな、IoT(Internet of Things)の技術を用いたサービス・ビジネスが注目を集めています。 2023年12月22日に開催されたイベント「IoT系のプロダクト開発の裏側って?知られざる開発・運用ノウハウを2社のエンジニア6名が徹底解説!」では、IoT技術を事業に活用するENECHANGE株式会社と株式会社スマートショッピングのエンジニア合計6名が登壇。プロジェクトから得られた知見を紹介しました。今回はそのレポートをお届けします。 今回登壇した発表者の集合写真 高度なモノの管理を実現⁠:SmartMatのエンジニアリング紹介 はじめに登壇したのは、スマートショッピ

                                                            IoT系のプロダクト開発の裏側って? 知られざる開発・運用ノウハウを2社のエンジニア6名が徹底解説! | gihyo.jp
                                                          • SRE / DevOps / Kubernetes Weekly Reportまとめ#1(2/2~2/8) - 運び屋 (A carrier(forwarder) changed his career to an engineer)

                                                            この記事は2020/2/2~2/8に発行された下記3つのWeekly Reportを読み、備忘録兼リンク集として残したものです。 DEVOPS WEEKLY ISSUE #475 February 2nd, 2020 SRE Weekly Issue #205 February 3rd, 2020 KubeWeekly #202 February 7, 2020 English Version of this blow is here. DEVOPS WEEKLY ISSUE #475 - 2nd February 2020 News For lots of people in large organisations, the CIO is the top role on the IT side. But the expectations, and the environment, are

                                                              SRE / DevOps / Kubernetes Weekly Reportまとめ#1(2/2~2/8) - 運び屋 (A carrier(forwarder) changed his career to an engineer)
                                                            • (小ネタ)Node.jsのWebアプリでclusterを使いながら定期的に子プロセスを再起動させる - Qiita

                                                              Node.jsでサーバサイドWebアプリを開発中、なぜかメモリリークがあるライブラリに遭遇してしまったので、ワークアラウンドとして、定期的にプロセスを再起動させて、メモリリークの問題を緩和したいと思いました。 コード: https://github.com/knjname/2020-04-05_restartClusterChild 参考: https://nodejs.org/api/cluster.html サーバサイド http://0.0.0.0:10080 をリスンするプロセスが4つ立ち上がり、5秒未満で子プロセスを停止させ、その後に再起動します。(実用上は、もっと長い時間でプロセスを殺すべきです。) const cluster = require("cluster"); const http = require("http"); const sleep = time => ne

                                                                (小ネタ)Node.jsのWebアプリでclusterを使いながら定期的に子プロセスを再起動させる - Qiita
                                                              • 成果物のデプロイ — 仕事ですぐに使えるTypeScript ドキュメント

                                                                成果物のデプロイ TypeScriptで作ったアプリケーションの開発環境の作り方を、バリエーションごとに紹介してきました。それぞれの環境でビルド方法についても紹介しました。本章ではデプロイについて紹介します。 npmパッケージとしてデプロイ この方法でデプロイする対象は以下の通りです。 Node.js用のライブラリ Node.js用のCLIツール Node.js用のウェブサービス ビルドしたらアーカイブファイルを作ってみましょう。これで、package.tgzファイルができます。npm installにこのファイルのパスを渡すとインストールできます。アップロードする前に、サンプルのプロジェクトを作ってみて、このパッケージをインストールしてみて、必要なファイルが抜けていないか、必要な依存パッケージが足りているかといったことを確認してみましょう。また、展開してみて、余計なファイルが含まれて

                                                                • On-Line Duloxetina # Duloxetina droghe online di notte - Domini e Registrazioni - Hosting Talk Forum

                                                                  Farmacia europea On-Line Duloxetina - Prezzi bassi e sconti! Visita oggi! Fai clic qui - Vai in farmacia - Prodotti legali al 100%. - Qualità e dosaggio farmaceutico. - Consegna veloce garantita. - Diversi metodi di pagamento: MasterCard / Visa / AMEX / PayPal / BitCoin Duloxetina droghe online di notte Massima uncomposable mg on banterers ezequa duloxetina oversimply, di superiori avvertenze, ela

                                                                  • [Node.js]Gulp3で「ReferenceError: primordials is not defined」が出た時の暫定対応策 | DevelopersIO

                                                                    [Node.js]Gulp3で「ReferenceError: primordials is not defined」が出た時の暫定対応策 t_o_dと申します。 あるGulp3を利用しているプロジェクトでNode10からNode14に上げてみたところ、開発サーバー起動の際にタイトルのようなエラーがでました。 そこで今回はgulp3からgulp4に上げる前の暫定対応策を記録いたします。 環境 mac OS Ventura 13.1 Node 14 Yarn 1.22 修正前の状態 修正前のpackage.jsonのgulpのバージョンは以下です。 "gulp": "^3.9.1", その状態でNode10からNode14に上げてyarnコマンドを実行すると、パッケージインストール自体は終わりますが、以下のようなwarningが出ます。 warning gulp > vinyl-fs > g

                                                                      [Node.js]Gulp3で「ReferenceError: primordials is not defined」が出た時の暫定対応策 | DevelopersIO
                                                                    • CGへの扉 Vol.7:AIによる差別やバイアスを避ける取り組み“PAIR” | モリカトロンAIラボ

                                                                      Google PAIR の登場PAIRとは People + AI Research の頭文字をとったもので、人とAIの関係性を考えて研究するためのプロジェクトです。Google が中心となって推進し、2017年7月に発表されて以来、現在も続いています。 Google PAIR https://ai.google/research/teams/brain/pair People + AI Guidebook https://pair.withgoogle.com/ Google Design PAIR https://design.google/library/ai/ PAIRでは”Making people + AI partnerships productive, enjoyable, and fair.”(人とAIの関係を実りある、楽しい、公平なものに)という目標を掲げ、AIに関係す

                                                                        CGへの扉 Vol.7:AIによる差別やバイアスを避ける取り組み“PAIR” | モリカトロンAIラボ
                                                                      • Traefik でお手軽に Docker コンテナの無停止 Blue/Green デプロイを実現した - にゃみかんてっくろぐ

                                                                        3 行でまとめると Traefik を使って Docker Compose だけで無停止デプロイを実現 docker-compose.yml に定義するだけ、他の設定ファイルは不要のお手軽さ コンテナは graceful shutdown するようにしておく docker-compose.yml ざっくり作り上げた docker-compose.yml がこちらです。 gist.github.com これだけで動きます。リクエストを投げながら nginx-blue, nginx-green のどちらか一方を落としてもエラーになることはありません。 nginx-blue を停止してもエラーなくレスポンスし続けている様子 Traefik とは Traefik はある種のリバースプロキシです。ただし、 HAProxy や nginx と違ってサービス検出機能が備わっているほか、環境変数やメタデー

                                                                          Traefik でお手軽に Docker コンテナの無停止 Blue/Green デプロイを実現した - にゃみかんてっくろぐ
                                                                        • Safely Drain a Node

                                                                          Safely Drain a NodeThis page shows how to safely drain a node, optionally respecting the PodDisruptionBudget you have defined. Before you beginThis task assumes that you have met the following prerequisites: You do not require your applications to be highly available during the node drain, orYou have read about the PodDisruptionBudget concept, and have configured PodDisruptionBudgets for applicati

                                                                            Safely Drain a Node
                                                                          • RFC 9114: HTTP/3

                                                                             Internet Engineering Task Force (IETF) M. Bishop, Ed. Request for Comments: 9114 Akamai Category: Standards Track June 2022 ISSN: 2070-1721 HTTP/3 Abstract The QUIC transport protocol has several features that are desirable in a transport for HTTP, such as stream multiplexing, per-stream flow control, and low-latency connection establishment. This document describes a mapping of HTTP semantics o

                                                                              RFC 9114: HTTP/3
                                                                            • systemdから出るjournalログをfluentdで扱う - 年中アイス

                                                                              Amazon Linux 2から、常駐サービスはsystemdで扱われるようになりました。systemdで動かしているアプリケーションのログをfluentdに取り込んで、kibanaやらS3やらに流したいので方法を調べてみました。結論を先に言うと、fluent-plugin-systemdを使ってやりましょう。 systemdで動かしているサービスは、標準でjournaldに出力され、journalctlコマンドを使ってログを見ることができます。sshで繋いで見る分にはいいのですが、fluentdなどで収集して扱うにはどうすればいいかなと。今回はアプリケーションに手を入れられないケースで行ったので、アプリケーションに直接ファイルにログを吐く機構があれば、それを使ってファイルに出して、in_tailで読み込むのもありです。 ファイルに出してin_tailすれば良いのでは systemdで動作

                                                                                systemdから出るjournalログをfluentdで扱う - 年中アイス
                                                                              • StopTask - Amazon Elastic Container Service

                                                                                Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits withi

                                                                                • TCP入門 - hayashier Tech Blogs

                                                                                  普段、Webサイトなどを運営しているといった場合に、おおよそアプリケーションを動作させる分には、アプリケーションレイヤーより下の部分については意識しなくても良いこともあるかもしれません。しかしながら、複数のコンポーネントを組み合わせたり、大規模になってきたり、特殊な環境、および複雑な問題に出くわすようになってきたりすると、それらを対処するためには、TCPなどのレイヤーについても、しっかりと理解しておく必要があります(雑に書き殴っているため、後半になるほどまとまりきっていませんが、ご容赦ください)。 以下の項目に分けて概要を説明します。 機能 状態遷移図 データ構造 その他 機能 概要 TCPの機能について、大きく以下の観点で説明していきます。 コネクション管理 シーケンス番号 再送制御 順序制御 ポート番号 ウィンドウ制御 フロー制御 輻輳制御 詳細 コネクション管理 目的: コネクション

                                                                                    TCP入門 - hayashier Tech Blogs