The document discusses optimizations to TCP and HTTP/2 to improve responsiveness on the web. It describes how TCP slow start works and the delays introduced in standard HTTP/2 usage from TCP/TLS handshakes. The author proposes adjusting the TCP send buffer polling threshold to allow switching between responses more quickly based on TCP congestion window state. Benchmark results show this can reduc
掴んで離さぬコネクション。どうも、かわしんです。しがみつかずに適切なタイミングで離しましょう。 この1週間で RFC を読みながら TCP/IP プロトコルスタックを自作した 1 のですが、その時にコネクションの終了処理でハマったので後学のために書き残しておきます。 一言でまとめると FIN -> FIN/ACK -> ACK は間違っていて、正しくは FIN/ACK -> FIN/ACK -> ACK であったという話です。 ちなみに、僕が自作した TCP/IP プロトコルスタックはこれです。 github.com 現象 それは TCP のリスナーと close 処理が出来上がってコネクション管理のテストをしていた時のことでした。 自作 TCP スタックでポートを Listen して Accept したらすぐにサーバ側からコネクションを切断するというテストコードを書いて実行し、Linux
Optimizing HTTP/2 prioritization with BBR and tcp_notsent_lowat2018-10-12 Getting the best end-user performance from HTTP/2 requires good support for resource prioritization. While most web servers support HTTP/2 prioritization, getting it to work well all the way to the browser requires a fair bit of coordination across the networking stack. This article will expose some of the interactions betwe
Linux kernel TCP 実装にサービス運用妨害 (DoS) の脆弱性(CVE-2018-5390) について解説Linuxkernel脆弱性vulnerability はじめに JVNVU#91510483 複数の TCP 実装にサービス運用妨害 (DoS) の脆弱性 がアナウンスされましたのでどういう脆弱性か調査してみます。 リソース枯渇の脆弱性 (CWE-400) - CVE-2018-5390 Linux カーネルに対し、tcp_collapse_ofo_queue() や tcp_prune_ofo_queue() 関数による処理がパケット毎に行われるよう細工したパケットを送りつけることで、サービス運用妨害 (DoS) 攻撃が可能であることが報告されています。 この脆弱性に対し、攻撃者は TCP セッション中に細工したパケットを送ることで攻撃を行います。DoS 状態を維持
やっと形になってきました。 github.com 「データベースのクエリログを取得したい」 例えば、データベース(RDBMS)のクエリログを取得したいとき一番確実な方法は、そのRDBMSに備わっているログ機構を利用することです。 一方で、全てのクエリログを出力するとなるとそれなりにIO負荷がかかることが予想されるので、負荷状況によってはクエリログ出力(のIO負荷)を別サーバに分離したくなります。 では、どうすればよいかというと、例えば アプリケーションサーバとデータベースサーバの間にプロキシサーバを挟んでそこで記録することでIO負荷を分離する アプリケーションサーバ側で(notアプリケーションで)記録することで(大抵、サーバ台数の多い)アプリケーション側にIO負荷を分散する というような方法を思いつきます。 そこで、「もし、TCPコネクション上に流れている(例えば)クエリログを解析してログ
2018年5月15日紙版発売 2018年5月9日電子版発売 小俣光之 著 A5判/272ページ 定価2,728円(本体2,480円+税10%) ISBN 978-4-7741-9744-9 Gihyo Direct Amazon 楽天ブックス ヨドバシ.com 電子版 Gihyo Digital Publishing Amazon Kindle ブックライブ 楽天kobo honto 本書のサポートページサンプルファイルのダウンロードや正誤表など この本の概要 普段あたりまえのようにネットワークを使っていますが,「IPアドレスを持っている」とはどういったことか,本当に理解できているでしょうか。本書では,IPやUDP,TCPを自作し,ネットワークの仕組みを体験。pingのやりとりを行うプログラムを,DHCPクライアント機能の実装,TCPの送受信と切断を行うものへと拡張していくことで,RFCを
概要 TCPView はネットワークの接続状況を確認するためのツールで、netstat コマンドを実行することで得られる結果をリアルタイムで取得することができます。TCPView.exe はダブルクリックして実行することで、利用開始できます。 画面構成 TCPView の画面構成は netstat コマンドを実行したときの画面に非常に似ており、ネットワーク上のコンピューターとの接続状況 (プロトコル種類、ローカルアドレス、リモート アドレス) や待ち受け状況などが表示されます。ただし、netstat コマンドとは異なり、ネットワーク接続を利用しているプロセスの名前が同時に表示されます。そのため、TCPView では特定のネットワーク接続を利用しているプロセスを簡単に確認できます。 使用法 TCPView はネットワーク接続の一覧を参照するだけでなく、接続を終了させることが可能です。接続を終
C++言語およびネットワークプログラミング(TCP/IP)の基礎的な知識<br />オンラインゲームの開発経験、もしくは興味があるプログラマ セッションの内容 ファンタシースターオンラインシリーズにおけるデータ通信の手法について説明します。 従来の弊社タイトル(PSO、PSU等)では、C++の構造体を直接バイナリデータとして送信してました。この方法ではパフォーマンスに優れる反面、可変長データや異なる機種間で通信するための対応を手動で行う必要があり、非常に大きな労力を必要としていました。 PSO2では従来手動で実装していた処理を自動生成するツールを開発しました。具体的には、データ圧縮処理や可変長データのシリアライズ処理などを自動生成し、高機能かつパフォーマンスの高い通信処理を実現しています。 また、インハウスツールを使用し10万アカウントでの同時接続テストを1人で行った事例についても説明しま
2. ©Internet Initiative Japan Inc. ‐ 2 ‐‐ 2 ‐ 本日のテーマは「通信速度」 通信速度はロマン • 技術革新によりサービスの理論値(規格上の最大値)が上がるとワクワクしますよね? • 話者の理論値遍歴: • 1.2-56kbps(アナログ)、64/128kbps(INS)、1.5Mbps(T1) • 0.5-135Mbps(ATM)、156M-9.6Gbps(POS) • 10M-1Gbps(ADSL/VDSL/FTTH)、10M-100Gbps(Ethernet)、 • 9.6kbps(PDC)、32kbps(PHS)、2-14Mbps(W-CDMA)、37.5-375Mbps(LTE) 理論値と実効速度 • コンシューマ向けサービスの多くでは「最大xxMbps」はあくまで理論値 • 常にこの速度が得られることを保証はしていない • いわ
印刷する メールで送る テキスト HTML 電子書籍 PDF ダウンロード テキスト 電子書籍 PDF クリップした記事をMyページから読むことができます 全国銀行協会(全銀協)は5月16日、企業や銀行間のオンラインデータ交換の新たな標準通信プロトコル「全銀協標準通信プロトコル(TCP/IP手順・広域IP網)」の仕様書を公開した。広域IP網をベースとした新たな全銀プロトコルとなる。 全銀協は、2016年秋にNTT東西が一般公衆電話網(PSTN)から広域IP網への移行とISDNサービスの廃止時期について具体的な検討を開始したことを受け、これらの廃止後に必要となる広域IP網に対応したプロトコルの制定を進めていた。 新たな全銀プロトコルは、既存の全銀プロトコルが企業と銀行や銀行間だけでなく、企業間のデータ交換にも使用されている実態を踏まえ、全銀プロトコル(TCP/IP手順)で規定された電文シーケ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く