並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 10 件 / 10件

新着順 人気順

javascript eventsource errorの検索結果1 - 10 件 / 10件

  • WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport | RxDB - JavaScript Database

    WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, long-polling was the only option available. It was then succeeded by Web

      WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport | RxDB - JavaScript Database
    • WebKit Features in Safari 16.4

      Mar 27, 2023 by Patrick Angle, Marcos Caceres, Razvan Caliman, Jon Davis, Brady Eidson, Timothy Hatcher, Ryosuke Niwa, and Jen Simmons ContentsWeb Push on iOS and iPadOSImprovements for Web AppsWeb ComponentsCSSHTMLJavaScript and WebAssemblyWeb APIImages, Video, and AudioWKWebViewDeveloper ToolingWeb InspectorSafari Web ExtensionsSafari Content BlockersNew Restrictions in Lockdown ModeMore Improve

        WebKit Features in Safari 16.4
      • サーバーレスでスケールするメール送信システムをAWS CDKで構築する - 365歩のテック

        概要 タイトル通りですが、AWSでサーバーレスなメール送信システムを、AWS CDKを使って構築してみました。 サーバーレスなので、スケールする良い感じの構成になります。 荒いところもありますが結構便利なのでよかったらぜひご参考に、またはそのまま使ってくださいという感じで読んでいただけたら光栄です。 Amazon SESを使用してメールを送信していますが、(少し変えれば)SES以外でも送信できるかと思います。 目次 目次 概要 目次 まとめ(AWS Dev Day 2022 Japan) 要件 前提 アーキテクチャ 構成図 使用AWSサービス コード アーキテクチャ解説と補足 AWS CDK aws_lambda_nodejs パラメータ用コンフィグファイル バリデーション Amazon SES SQS 標準キュー 可視性タイムアウト ロングポーリング 部分バッチ応答 S3 DynamoD

          サーバーレスでスケールするメール送信システムをAWS CDKで構築する - 365歩のテック
        • リアルタイムな情報をプッシュする技術「Server Sent Events」のフロントエンド実装方法とは?#SSE #フロントエンド #実装 - ハイパーマッスルエンジニア

          Server Sent Events (SSE)は、サーバからクライアントにリアルタイムで情報をプッシュするための技術です。この記事では、そのフロントエンドでの実装方法をいくつか紹介します。 完成品 今回実装したものは下記に収めてます。Next.jsを使っています。 github.com 下記で実際にブラウザで動作確認できます。 https://server-sent-events-example.vercel.app ChatGPTのようなUIを実装するのに色々な方法を試しました。 SSEのサーバー側のコード サーバーサイドの設定は以下のとおりです。 SSEをサポートするエンドポイントを作成します。 レスポンスのヘッダーに'Content-Type': 'text/event-stream'を設定し、接続を開いたままにします。 必要に応じて、特定の間隔でデータを送信します。 pages/

            リアルタイムな情報をプッシュする技術「Server Sent Events」のフロントエンド実装方法とは?#SSE #フロントエンド #実装 - ハイパーマッスルエンジニア
          • リアルタイムなwebアプリを実現する方法(ポーリング、Comet、Server Sent Events、WebSocket)

            リアルタイムなwebアプリを実現する方法(ポーリング、Comet、Server Sent Events、WebSocket)2016/1/17 人気記事 リアルタイムなwebアプリを実現する方法について、サンプルコードを作成しながら検証する。 注意点 この記事で記載している実現方法はいずれもHTTPレベルの仕組みで実現されるものであり、サンプルコードはあくまで実装例です。 サンプルコードは動作を確認するのが目的であり、プロダクション適用レベルの考慮は一切していません。 実現方法の一覧ポーリング 画面をフルでレンダリングするパターンAjaxでJSONやXMLでデータを取得するパターンComet(ロングポーリング) Server Sent Events WebSocket 詳細の理解は、以下の資料を参考にしてください。 参考 サーバPUSHざっくりまとめ サンプルコードポーリング(Ajax)リ

              リアルタイムなwebアプリを実現する方法(ポーリング、Comet、Server Sent Events、WebSocket)
            • Server-Sent Events: the alternative to WebSockets you should be using

              When developing real-time web applications, WebSockets might be the first thing that come to your mind. However, Server Sent Events (SSE) are a simpler alternative that is often superior. Contents Prologue WebSockets? What is wrong with WebSockets Compression Multiplexing Issues with proxies Cross-Site WebSocket Hijacking Server-Sent Events Let’s write some code The Reverse-Proxy The Frontend The

                Server-Sent Events: the alternative to WebSockets you should be using
              • HTMLRewriter

                No results found. Try a different search term, or use our global search. Overview Getting started CLI Dashboard Prompting Templates Examples Tutorials Demos and architectures Development & testing Overview Environment variables and secrets Vite Plugin ↗ Choosing between Wrangler & Vite Developing with multiple Workers Adding local data Supported bindings per development mode Testing ↗ Playground C

                  HTMLRewriter
                • How to monitor and query IAM resources at scale – Part 2 | Amazon Web Services

                  AWS Security Blog How to monitor and query IAM resources at scale – Part 2 In this post, we continue with our recommendations for using AWS Identity and Access Management (IAM) APIs. In part 1 of this two-part series, we described how you could create IAM resources and use them soon after for authorization decisions. We also described options for monitoring and responding to IAM resource changes f

                    How to monitor and query IAM resources at scale – Part 2 | Amazon Web Services
                  • Amplified exposure: How AWS flaws made Amplify IAM roles vulnerable to takeover | Datadog Security Labs

                    research Amplified exposure: How AWS flaws made Amplify IAM roles vulnerable to takeover April 15, 2024 aws vulnerability disclosure Key Points We identified two variants of a vulnerability in AWS Amplify that exposed identity and access management (IAM) roles associated with Amplify projects, allowing them to become assumable by anyone in the world. If the authentication component was removed fro

                      Amplified exposure: How AWS flaws made Amplify IAM roles vulnerable to takeover | Datadog Security Labs
                    • Release Notes for Safari Technology Preview 151

                      Safari Technology Preview Release 151 is now available for download for macOS Monterey 12.3 or later and macOS Ventura beta. If you already have Safari Technology Preview installed, you can update in the Software Update pane of System Preferences on macOS Monterey, or System Settings under General → Software Update on macOS Ventura. This release includes WebKit changes between: 252433@main…252998@

                      1