並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 39 件 / 39件

新着順 人気順

asynchronousの検索結果1 - 39 件 / 39件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

asynchronousに関するエントリは39件あります。 Rusttechfeedrust などが関連タグです。 人気エントリには 『JavaScriptはなぜシングルスレッドでも非同期処理ができるのか/Why Can JavaSctipt Invoke Asynchronous in Single Thread?』などがあります。
  • JavaScriptはなぜシングルスレッドでも非同期処理ができるのか/Why Can JavaSctipt Invoke Asynchronous in Single Thread?

    JavaScriptはシングルスレッドであることが知られています。そして、Promiseを用いた非同期処理ができることは周知の事実です。では、なぜシングルスレッドで非同期処理ができるのでしょうか? その点について、非同期処理のための2種類のQueuesについて触れつつ、コードベースでの説明も行います。

      JavaScriptはなぜシングルスレッドでも非同期処理ができるのか/Why Can JavaSctipt Invoke Asynchronous in Single Thread?
    • Asynchronous over Synchronous / 同期という思い込み�世界は非同期で構成されている

      サーバーレスサービスである API Gateway や Lambda を使って 同期的な REST API を構築されている方は多いのではないでしょうか。サーバーレスで REST APIをつくると、リクエストの分だけの課金であったり、デフォルトの可用性が与えられたりメリットは大きいです。ただし、サーバーレスの真価は非同期アーキテクチャにあります。このセッションではさまざまなサーバーレスの非同期パターンを紹介するとともに、実際の顧客事例においてどのようなユースケースで非同期系サーバーレスが利用されているかをご紹介いたします。

        Asynchronous over Synchronous / 同期という思い込み�世界は非同期で構成されている
      • GitHub - TanStack/query: 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

        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 - TanStack/query: 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
        • Announcing Tokio 1.0 | Tokio - An asynchronous Rust runtime

          We are pleased to announce the 1.0 release of Tokio, an asynchronous runtime for the Rust programming language. Tokio provides the needed building blocks for writing reliable networking applications without compromising speed. It comes with asynchronous APIs for TCP, UDP, timers, a multi-threaded, work-stealing scheduler, and more. Over the years, we have been delighted watching our users build am

          • Making the Tokio scheduler 10x faster | Tokio - An asynchronous Rust runtime

            Making the Tokio scheduler 10x fasterOctober 13, 2019 We've been hard at work on the next major revision of Tokio, Rust's asynchronous runtime. Today, a complete rewrite of the scheduler has been submitted as a pull request. The result is huge performance and latency improvements. Some benchmarks saw a 10x speed up! It is always unclear how much these kinds of improvements impact "full stack" use

            • 14 Linting Rules To Help You Write Asynchronous Code in JavaScript

              Debugging asynchronous code in JavaScript can feel like navigating a minefield at times. You don't know when and where the console.logs will print out, and you have no idea how your code is executed. It's hard to correctly structure async code so it executes in the right order as you intend it to. Wouldn't it be nice if you had some guidance while writing asynchronous code, and to get a helpful me

                14 Linting Rules To Help You Write Asynchronous Code in JavaScript
              • Asynchronous HTMLRewriter for Cloudflare Workers

                Last year, we launched HTMLRewriter for Cloudflare Workers, which enables developers to make streaming changes to HTML on the edge. Unlike a traditional DOM parser that loads the entire HTML document into memory, we developed a streaming parser written in Rust. Today, we’re announcing support for asynchronous handlers in HTMLRewriter. Now you can perform asynchronous tasks based on the content of

                • Tutorial | Tokio - An asynchronous Rust runtime

                  Tokio is an asynchronous runtime for the Rust programming language. It provides the building blocks needed for writing networking applications. It gives the flexibility to target a wide range of systems, from large servers with dozens of cores to small embedded devices. At a high level, Tokio provides a few major components: A multi-threaded runtime for executing asynchronous code. An asynchronous

                  • What is asynchronous communication? Plus, how to implement it

                    What the heck is asynchronous communication anyway? And what you can do to start implementing it, whether you're an individual contributor or a team leader. Illustration by Yin WeihungStudy after study after study into remote work has clarified that remote workers are more productive than their office-bound counterparts. What’s not entirely clear is why. Yes, people gain back time (and sanity) by

                      What is asynchronous communication? Plus, how to implement it
                    • Getting Started - Asynchronous Programming in Rust

                      Getting Started Welcome to Asynchronous Programming in Rust! If you're looking to start writing asynchronous Rust code, you've come to the right place. Whether you're building a web server, a database, or an operating system, this book will show you how to use Rust's asynchronous programming tools to get the most out of your hardware. What This Book Covers This book aims to be a comprehensive, up-

                      • Why asynchronous Rust doesn't work

                        In 2017, I said that “asynchronous Rust programming is a disaster and a mess”. In 2021 a lot more of the Rust ecosystem has become asynchronous – such that it might be appropriate to just say that Rust programming is now a disaster and a mess. As someone who used to really love Rust, this makes me quite sad. I’ve had a think about this, and I’m going to attempt to explain how we got here. Many peo

                        • Announcing Tokio Console 0.1 | Tokio - An asynchronous Rust runtime

                          Today, we, the Tokio team, are announcing the initial release of Tokio Console (Github), enabling Rust developers to gain deeper insight into the runtime behavior of their applications. And just like that, we get to peek under the hood. —niedzejkob Tokio Console is a diagnostics and debugging tool for asynchronous Rust programs. It gives you a live, easy-to-navigate view into the program's tasks a

                          • Getting Started - Asynchronous Programming in Rust

                            Getting Started Welcome to Asynchronous Programming in Rust! If you're looking to start writing asynchronous Rust code, you've come to the right place. Whether you're building a web server, a database, or an operating system, this book will show you how to use Rust's asynchronous programming tools to get the most out of your hardware. What This Book Covers This book aims to be a comprehensive, up-

                            • Announcing Axum | Tokio - An asynchronous Rust runtime

                              Today we are happy to announce axum: An easy to use, yet powerful, web framework designed to take full advantage of the Tokio ecosystem. High level features Route requests to handlers with a macro free API. Declaratively parse requests using extractors. Simple and predictable error handling model. Generate responses with minimal boilerplate. Take full advantage of the tower and tower-http ecosyste

                              • Latency in Asynchronous Python

                                This week I was debugging a misbehaving Python program that makes significant use of Python’s asyncio. The program would eventually take very long periods of time to respond to network requests. My first suspicion was a CPU-heavy coroutine hogging the thread, preventing the socket coroutines from running, but an inspection with pdb showed this wasn’t the case. Instead, the program’s author had mad

                                • はじめに - Asynchronous Programming in Rust

                                  Getting Started ようこそ Rust の非同期プログラミングへ! 非同期の Rust コードを作りたいなら、キミは適切な本を探し当てたね! Web サーバーやデータベース、オペレーティングシステムのいずれかを構築している場合でも、このドキュメントは、Rust の非同期プログラミングツールを使用してハードウェア性能を最大限に活用する方法を示します。 What This Book Covers この本は、Rust の非同期な言語機能、ライブラリを使用するための、初心者と熟練者に適した、最新の、包括的なガイドを目指しています。 初期の章では、非同期プログラミングの一般的な概要と、それに対して Rust がどのように取り組んでいるか話します。 中間章では、非同期なコードを書く時に使うことのできる、主なユーティリティと制御フローツールについて説明し、パフォーマンスと再利用性を最大限発揮

                                  • Using asynchronous web APIs from WebAssembly  |  Articles  |  web.dev

                                    Using asynchronous web APIs from WebAssembly Stay organized with collections Save and categorize content based on your preferences. The I/O APIs on the web are asynchronous, but they're synchronous in most system languages. When compiling code to WebAssembly, you need to bridge one kind of APIs to another—and this bridge is Asyncify. In this post, you'll learn when and how to use Asyncify and how

                                    • Asynchronous Ruby

                                      Applications that process many simultaneous requests are an area where Ruby struggles. The traditional request-per-process/thread model does not scale well. Explicit concurrency, including promises/futures, impose a significant cognitive burden and their use pollutes code all the way up the call chain. We present async, a gem for Ruby that implements the reactor pattern using stackful coroutines (

                                      • GitHub - static-web-server/static-web-server: A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡

                                        Built with Rust, which focuses on safety, speed and concurrency. Memory-safe and significantly reduced CPU and RAM overhead. Blazing fast static files-serving and asynchronous powered by the latest Hyper, Tokio and a set of awesome crates. Single 4MB (uncompressed) and fully static binary with no dependencies (Musl libc). Suitable for running on any Linux distro or Docker container. Optional GZip,

                                          GitHub - static-web-server/static-web-server: A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
                                        • Catching Asynchronous Errors in React using Error Boundaries

                                          Photo by Thomas Park on UnsplashReact 16.0 introduced Error Boundaries. Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed. Take this example: If we run this code, the ErrorBoundary will catch the error, render the fallback UI (Something went wrong) and log

                                            Catching Asynchronous Errors in React using Error Boundaries
                                          • GitHub - marlonrichert/zsh-autocomplete: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.

                                            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 - marlonrichert/zsh-autocomplete: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
                                            • Asynchronous streams in Rust (part 1) - Futures, buffering and mysterious compilation error messages | Blog | Guillaume Endignoux

                                              If you are already reading my blog, you may have noticed that I see a lot of potential in the Rust programming language. The safety and efficiency properties of Rust make it the programming language of “fearless concurrency”, and in particular the async/.await syntax that was stabilized about a year ago really make asynchronous programming a core feature of Rust. The downside of this new asynchron

                                              • Asynchronous Sorting in Go

                                                When we began working on Dolt we made the decision to build on top of Noms. Noms stores data in a content addressable DAG, and has countless applications. It was a great starting point for us to build Dolt, and it let us hit the ground running. Once we had a working prototype of the product we began importing data. Every dataset we imported taught us something new about the product. It helped us f

                                                  Asynchronous Sorting in Go
                                                • GitHub - vmihailenco/taskq: Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends

                                                  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 - vmihailenco/taskq: Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends
                                                  • GitHub - line/decaton: High throughput asynchronous task processing on Apache Kafka

                                                    Decaton is a streaming task processing framework built on top of Apache Kafka. It is designed to enable "concurrent processing of records consumed from one partition" which isn't possible in many Kafka consumer frameworks. Here is the list of property that Decaton enables by default: Concurrent (either multi-threaded or asynchronous) processing of records consumed from one partition Preserve order

                                                      GitHub - line/decaton: High throughput asynchronous task processing on Apache Kafka
                                                    • New AWS Lambda controls for stream processing and asynchronous invocations | Amazon Web Services

                                                      AWS Compute Blog New AWS Lambda controls for stream processing and asynchronous invocations Today AWS Lambda is introducing new controls for asynchronous and stream processing invocations. These new features allow you to customize responses to Lambda function errors and build more resilient event-driven and stream-processing applications. Stream processing function invocations When processing data

                                                        New AWS Lambda controls for stream processing and asynchronous invocations | Amazon Web Services
                                                      • GitHub - giannitedesco/minotaur: A pythonic, asynchronous, inotify interface

                                                        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 - giannitedesco/minotaur: A pythonic, asynchronous, inotify interface
                                                        • Event-Based Processing for Asynchronous Communication | Amazon Web Services

                                                          AWS Architecture Blog Event-Based Processing for Asynchronous Communication In the first post in this series on messaging patterns, we gave an overview of messaging and the benefits and challenges of both synchronous and asynchronous service communication. In this post, we will look at common characteristics to consider when evaluating messaging channel technologies. We will also introduce Amazon

                                                            Event-Based Processing for Asynchronous Communication | Amazon Web Services
                                                          • Announcing Tokio Metrics 0.1 | Tokio - An asynchronous Rust runtime

                                                            Today, we are happy to announce the initial release of tokio-metrics, a crate for getting a Tokio application's runtime and task level metrics. Tokio Metrics makes it easier for Tokio users to debug performance problems with their applications by providing visibility into runtime behaviors in production. Today, Tokio is used successfully in large-scale production deployments at companies like Amaz

                                                            • The evolution of asynchronous programming in JavaScript - LogRocket Blog

                                                              Introduction By design, JavaScript is single-threaded, which means that it can only handle one operation at a time. Because there is a single execution thread for our program to run, a question then arises: How do we go about executing a long-running operation without blocking the thread of execution? Well, welcome to asynchronous programming. Asynchronous programming in JavaScript offers a great

                                                                The evolution of asynchronous programming in JavaScript - LogRocket Blog
                                                              • GitHub - threadfly/ListenRain: Go network programming framework, supports multiplexing, synchronous and asynchronous IO mode, modular design, and provides flexible custom interfaces。The key is the transport layer, application layer protocol has nothing to

                                                                The parallelogram represents the interface. It can be seen from the figure that the interface is fully reused on both the server and the client. A brief introduction to the functions of the next few interfaces: EncodePacket/DecodePacket: Responsible for solving the sticky packet problem of data receiving and sending. Through this interface, memory can be reclaimed when sending and receiving data,

                                                                  GitHub - threadfly/ListenRain: Go network programming framework, supports multiplexing, synchronous and asynchronous IO mode, modular design, and provides flexible custom interfaces。The key is the transport layer, application layer protocol has nothing to
                                                                • TusaCentral - MySQL Asynchronous SOURCE auto failover

                                                                  If you have a business no matter how small, you are collecting data, and you need to have your data accessible to make informed decisions about how to make your business better. The more successful you become the more data you are producing and the more you become dependent by it. This is when you start to realize your must have your data in a safe place like a database instead some spreadsheet. B

                                                                  • Announcing Tokio 0.2 and a Roadmap to 1.0 | Tokio - An asynchronous Rust runtime

                                                                    Announcing Tokio 0.2 and a Roadmap to 1.0November 26, 2019 We are very excited to announce Tokio 0.2. This is a ground up rework of Tokio based on async / await and experience gained over the past three years. Add the following to Cargo.toml: tokio = { version = "0.2", features = ["full"] } This is a major update, and as such there are changes to almost all parts of the library. To highlight a few

                                                                    • Announcing tokio-uring: io-uring support for Tokio | Tokio - An asynchronous Rust runtime

                                                                      Announcing tokio-uring: io-uring support for TokioJuly 19, 2021 Today, we published the first release of the “tokio-uring” crate, providing support for the io-uring system API on Linux. This release provides asynchronous File operations, and we will be adding support for more operations in subsequent releases. To use tokio-uring, first, add a dependency on the crate: tokio-uring = "0.1.0" Then, st

                                                                      • Rust Asynchronous Runtime Tokio Reaches 1.0

                                                                        How to Use Multiple GitHub Accounts Git is a popular tool for version control in software development. It is not uncommon to use multiple Git accounts. Correctly configuring and switching Git accounts is challenging. In this article, we show what Git provides for account configuration, its limitations, and the solution to switch accounts automatically based on a project parent directory location.

                                                                          Rust Asynchronous Runtime Tokio Reaches 1.0
                                                                        • A Proposal for an asynchronous Rust GUI framework

                                                                          It’s an exciting time for GUI in Rust. There are now quite a few, well written windowing libraries in Rust. winit is the leader of the pack, with the best platform support and a newly merged keyboard support PR that positions it to become the dominant windowing system in the ecosystem. There are a couple of other contenders, but none of them are serious contenders. Nowadays there’s a pretty good i

                                                                            A Proposal for an asynchronous Rust GUI framework
                                                                          • A look back at asynchronous Rust

                                                                            In 2013, I discovered the Rust programming language and quickly decided to learn it and make it my main programming language. In 2017, I moved to Berlin and joined Parity as a Rust developer. The task that occupied my first few months was to build rust-libp2p, a peer-to-peer library in asynchronous Rust (~89k lines of code at the moment). Afterwards, I integrated it in Substrate (~400k lines of co

                                                                              A look back at asynchronous Rust
                                                                            • Asynchronous computing @Facebook: Driving efficiency and developer productivity at Facebook scale

                                                                              Asynchronous computing @Facebook: Driving efficiency and developer productivity at Facebook scale People use our apps and services every day for a wide spectrum of use cases, including sharing pictures; following the latest news and sports updates; sharing life-changing events, such as the birth of a child; or marking themselves safe via Safety Check. Now, more than ever, people are also using our

                                                                                Asynchronous computing @Facebook: Driving efficiency and developer productivity at Facebook scale
                                                                              • ​Asynchronous programming with JavaScript

                                                                                JavaScript is a single-threaded language (single call stack). So, how can it be asynchronous? Are you also having the same thoughts? This article will explain how we can do asynchronous programming in JavaScript. However, before getting into that, let us first understand what asynchronous programming is and the difference between synchronous and asynchronous coding. What is Asynchronous Programmin

                                                                                  ​Asynchronous programming with JavaScript
                                                                                1

                                                                                新着記事