並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 127件

新着順 人気順

non-blockingの検索結果1 - 40 件 / 127件

  • Non-blocking STMについて頑張って説明してみる - くまメモ

    STMはソフトウェアトランザクショナルメモリの略です。 ↓とりあえずwikipedia http://ja.wikipedia.org/wiki/%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%E3%83%88%E3%83%A9%E3%83%B3%E3%82%B6%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%8A%E3%83%AB%E3%83%A1%E3%83%A2%E3%83%AA 日本でSTMの話題を検索すると「楽観的ロックでしょ?」といった発言を見かける事が多く、確かに実用的な手法の多くはロックベースだったりしていますが、正直なところロックベースな手法のSTMはデータベースでのトランザクションと似ているフシがあったりしてデータベースに詳しい人からするとそれほど驚くような手法ではない事が多いのです。その

      Non-blocking STMについて頑張って説明してみる - くまメモ
    • MongoDB 4.0: Non-Blocking Secondary Reads | MongoDB

      General InformationDocumentationDeveloper Articles & TopicsCommunity ForumsBlogUniversity

        MongoDB 4.0: Non-Blocking Secondary Reads | MongoDB
      • Non-blocking Asynchronous JSON.parse Using The Fetch API

        Update (June 2016) Right after I published this blog post I received this response from amazing Node.js developer Vladimir Kurchatkin that JSON parsing is not happening in a different thread and in fact it is blocking the main thread. In this tweet I admited I was wrong and I need to update my post. @j5bot I need to update that post. It's not really in a background thread. It's doing the process i

        • GitHub - apple/swift-nio: Event-driven network application framework for high performance protocol servers & clients, non-blocking.

          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 - apple/swift-nio: Event-driven network application framework for high performance protocol servers & clients, non-blocking.
          • non-blockingの意味するところ - くまメモ

            海外の文献を読み漁っていると気づくのですが 2003年を境にこの文脈で使われる言葉の定義が変わります。 ↑2003年ごろまでの構図 ↑現在の構図。*1 non-blocking = obstruction-free という理解でもおおよそ間違いではないとは思いますが 論文を読むに当たって non-blocking = ロックを使わないアルゴリズム全般 obstruction-free = 非lock-freeだけどロックだけはしない というニュアンスの違いを感じます。 以後、現在の構図の方を前提に話します。ご注意ください。 まずは3つの分類の違いから wait-free 操作が「他のスレッドの動向に関わらず有限ステップで完了できる」場合、そのアルゴリズムはwait-freeと呼ばれます。starvation-freeと呼んだりもします。 実際には初めからここに分類されるアルゴリズムは多くあ

              non-blockingの意味するところ - くまメモ
            • Fast portable non-blocking network programming with Libevent

              These documents are Copyright (c) 2009-2010 by Nick Mathewson, and are made available under the Creative Commons Attribution-Noncommercial-Share Alike license, version 3.0. Future versions may be made available under a less restrictive license. Additionally, the source code examples in these documents are also licensed under the so-called "3-Clause" or "Modified" BSD license. See the license_bsd f

              • Non-Blocking I/O, I/O Multiplexing, Asynchronous I/Oの区別 - Carpe Diem

                概要 各言語がC10K問題をどう解決してきたかを調べてみたところ、Non-Blocking I/O, I/O Multiplexing, Asynchronous I/Oの区別がよく分からなかったので調べてみました。 正直なところ人によってちょこちょこ定義が異なるのではっきりとした答えはなさそうですが、自分で調べてしっくりした形をまとめます。 前提 同期と非同期の違い 用語 説明 同期 OSにタスクを投げて、入出力の準備ができたら アプリケーションに処理が返ってくる 非同期 OSにタスクを投げて、入出力が完了したら通知をもらう ブロッキングとノンブロッキングの違い 用語 説明 ブロッキング OSへ依頼したタスクが完了するまで待つ ノンブロッキング OSへ依頼したタスクの完了を待たない Blocking I/O ref: java Selector is asynchronous or no

                  Non-Blocking I/O, I/O Multiplexing, Asynchronous I/Oの区別 - Carpe Diem
                • GitHub - cloudwego/netpoll: A high-performance non-blocking I/O networking framework focusing on RPC scenarios.

                  Netpoll is a high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance. RPC is usually heavy on processing logic and therefore cannot handle I/O serially. But Go's standard library net is designed for blocking I/O APIs, so that the RPC framework can only follow the One Conn One Goroutine design. It will waste a lot of cost for context switching,

                    GitHub - cloudwego/netpoll: A high-performance non-blocking I/O networking framework focusing on RPC scenarios.
                  • Non-blocking JavaScript Downloads

                    YUI Blog Development Non-blocking JavaScript Downloads Non-blocking JavaScript Downloads About the Author: Stoyan Stefanov is a Yahoo! web developer working for the Exceptional Performance team and leading the development of the YSlow performance tool. He also an open-source contributor, conference speaker and technical writer: his latest book is called Object-Oriented JavaScript. External JavaScr

                    • Non blocking and asynchronous

                      2015/11/12開催の 【ヒカ☆ラボ】Node.js×MongoDBでのサービス運用が1時間で分かる!3年間の運用での失敗談とその対策に加えて、運用のハマりどころやツールついてもお話します! 株式会社サイバーエージェント 橋本 純様の資料です。

                        Non blocking and asynchronous
                      • GitHub - ethereum/lahja: Lahja is a generic multi process event bus implementation written in Python 3.6+ to enable lightweight inter-process communication, based on non-blocking asyncio

                        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 - ethereum/lahja: Lahja is a generic multi process event bus implementation written in Python 3.6+ to enable lightweight inter-process communication, based on non-blocking asyncio
                        • EventMachine: Scalable Non-Blocking I/o in Ruby | PDF | Network Socket | Port (Computer Networking)

                          EventMachine is a Ruby library that implements non-blocking I/O using the reactor pattern similar to Python's Twisted. It allows Ruby applications to handle thousands of concurrent connections using a single process by avoiding blocking on I/O and using callbacks. EventMachine works across various Ruby implementations like MRI, YARV, Rubinius, and JRuby using different underlying reactors. It is c

                            EventMachine: Scalable Non-Blocking I/o in Ruby | PDF | Network Socket | Port (Computer Networking)
                          • Non-blocking ActiveRecord & Rails - igvita.com

                            By Ilya Grigorik on April 15, 2010 Rails and MySQL go hand in hand. ActiveRecord is perfectly capable of using a number of different databases but MySQL is by far the most popular choice for production deployments. And therein lies a dirty secret: when it comes to performance and 'scalability' of the framework, the Ruby MySQL gem is a serious offender. The presence of the GIL means that concurrenc

                            • Azul Systems - Cliff Click Jr.’s Blog: A Non-Blocking HashTable

                              A Non-Blocking HashTable March 27, 2007 I've been wrestling with concurrent algorithms again.  This time, it's a Non-Blocking (concurrent, lock-free) HashTable.  I've had it basically figured out for a few months now and I'm slowing widening the circle of people I expose it too.  This HashTable seems too good to be true, which is why I'm trying hard to vet it's correctness before claiming victory

                              • Non-blocking algorithm - Wikipedia

                                In computer science, an algorithm is called non-blocking if failure or suspension of any thread cannot cause failure or suspension of another thread;[1] for some operations, these algorithms provide a useful alternative to traditional blocking implementations. A non-blocking algorithm is lock-free if there is guaranteed system-wide progress, and wait-free if there is also guaranteed per-thread pro

                                • Goliath: Non-blocking, Ruby 1.9 Web Server - igvita.com

                                  By Ilya Grigorik on March 08, 2011 There are easily half a dozen of factors you need to consider when picking an app server: the choice of the VM, implementation model, performance and memory usage, driver and library availability, community support, and so forth. In other words, it is a complex set of requirements, and no one solution is likely to meet all of them. Not surprisingly, the Ruby ecos

                                  • Non-blocking Transactional Atomicity | Peter Bailis

                                    Peter Bailis :: Highly Available, Seldom Consistent Data management, distributed systems, and beyond Non-blocking Transactional Atomicity 28 May 2013 tl;dr: You can perform non-blocking multi-object atomic reads and writes across arbitrary data partitions via some simple multi-versioning and by storing metadata regarding related items. N.B. This is a long post, but it’s comprehensive. Reading the

                                    • GitHub - mitchellh/libxev: libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig an

                                      libxev is a cross-platform event loop. libxev provides a unified event loop abstraction for non-blocking IO, timers, signals, events, and more that works on macOS, Windows, Linux, and WebAssembly (browser and WASI). It is written in Zig but exports a C-compatible API (which further makes it compatible with any language out there that can communicate with C APIs). Project Status: 🐲 Unstable, alpha

                                        GitHub - mitchellh/libxev: libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig an
                                      • EventMachine: scalable non-blocking i/o in ruby at time to bleed by Joe Damato

                                        technical ramblings from a wanna-be unix dinosaur

                                        • GitHub - spray/spray: A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable

                                          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 - spray/spray: A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable
                                          • Go by Example: Non-Blocking Channel Operations

                                            Basic sends and receives on channels are blocking. However, we can use select with a default clause to implement non-blocking sends, receives, and even non-blocking multi-way selects.

                                            • GitHub - postrank-labs/goliath: Goliath is a non-blocking Ruby web server framework

                                              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 - postrank-labs/goliath: Goliath is a non-blocking Ruby web server framework
                                              • GitHub - jeremycw/httpserver.h: Single header library for writing non-blocking HTTP servers in C

                                                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 - jeremycw/httpserver.h: Single header library for writing non-blocking HTTP servers in C
                                                • Towards a Scalable Non-Blocking Coding Style(状態遷移機械の設計に関して)

                                                  Webinar: Managing the Security and Commercial Impact of Java Updates March 12, 2020 Live WebinarJoin Azul and SoftwareONE for this webinar about the security and commercial applications of Java...Read More dev.next March 24-27, 2020 Broomfield, CO, USAAzul is one of the sponsors at this event which brings together practitioners, experts, and...Read More

                                                  • C10k: Developing non-blocking REST services with Spring MVC | Callista

                                                    Blogg Här finns tekniska artiklar, presentationer och nyheter om arkitektur och systemutveckling. Håll dig uppdaterad, följ oss på Twitter 22 April 2014 // Magnus Larsson In this blog we will show you how to develop non-blocking REST services using Spring MVC. We will also demonstrate the vast difference in scalability that non-blocking services provide compared to traditional blocking services. W

                                                    • Non-blocking I/O With PHP-MIO

                                                      A couple of weeks ago I was thinking about non-blocking I/O in PHP, specifically about how clunky PHP's select implementation is. I say clunky because it's not bad, it's just not as easy to use as it could be. It's not as easy, for example, as the implementation found in Java's NIO package which is beautifully simple to use. The main issue I have with PHP's implementation is that I am responsible

                                                      • GitHub - etaty/rediscala: Non-blocking, Reactive Redis driver for Scala (with Sentinel support)

                                                        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 - etaty/rediscala: Non-blocking, Reactive Redis driver for Scala (with Sentinel support)
                                                        • GitHub - sri-rang/notifer.js: Not Actively Maintained - Javascript library for Gnome / Growl type non-blocking notifications

                                                          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 - sri-rang/notifer.js: Not Actively Maintained - Javascript library for Gnome / Growl type non-blocking notifications
                                                          • Basic non-blocking IO using epoll in Rust - zupzup

                                                            Basic non-blocking IO using epoll in Rust I’ve been using async, or non-blocking IO systems for years in multiple languages such as JavaScript (Node.js), Java/Kotlin and Rust. I couldn’t, however, explain very well how it works under the hood and while I heard about poll, select, epoll, event queues and the like before, I wouldn’t have been confident explaining how non-blocking IO actually works t

                                                            • [Vert.x]JVM上での非同期・Non Blockingフレームワーク – (1)開発環境構築とサンプルソース作成 | DevelopersIO

                                                              はじめに 最近はJavaにも興味を持ち始めている、t.hondaです。Javaに関するフレームワークでVert.xを見つけたので、それについて書きたいと思います。 Vert.xは「Node.jsの特徴を受け継ぐJVM上で動くフレームワーク」といった感じのものですが、他にも以下のような特徴を持ちます。 多言語で記述可能(JavaScript, Ruby, Groovy, Javaなど) ブロッキングが発生するような処理(JDBCなど)を独立した処理として切り出すことで、全体をブロックしないようにすることが可能 他にも多くの特徴を持ちますが、以下に挙げるサイトに詳しいので参考にしてください。 Vert.x Main Manual Vert.x がいいね!(第1回:入門する) Vert.xのアーキテクチャ 開発環境構築〜サンプルソース作成 では、Vert.xの開発環境の構築とソースの作成です。M

                                                                [Vert.x]JVM上での非同期・Non Blockingフレームワーク – (1)開発環境構築とサンプルソース作成 | DevelopersIO
                                                              • Node.js — Overview of Blocking vs Non-Blocking

                                                                Overview of Blocking vs Non-Blocking This overview covers the difference between blocking and non-blocking calls in Node.js. This overview will refer to the event loop and libuv but no prior knowledge of those topics is required. Readers are assumed to have a basic understanding of the JavaScript language and Node.js callback pattern. "I/O" refers primarily to interaction with the system's disk an

                                                                  Node.js — Overview of Blocking vs Non-Blocking
                                                                • Non-blocking UI's with interface previews | Callum Hart | Front-end Fanatic

                                                                  Improving the perceived speed of interfaces using skeleton loading screens plus other front-end/UX performance gains. What are they # I like to think of non-blocking interfaces as skating on ice and blocking ones as trudging through mud. A non-blocking interface should feel fast, responsive and continuous, regardless of network speed. Any action such as loading a new page or clicking a button shou

                                                                  • IO-Lambda-1.33 - non-blocking I/O as lambda calculus - metacpan.org

                                                                    The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

                                                                    • GitHub - reactphp/reactphp: Event-driven, non-blocking I/O with PHP.

                                                                      This simple web server written in ReactPHP responds with "Hello World!" for every request. ReactPHP is production ready and battle-tested with millions of installations from all kinds of projects around the world. Its event-driven architecture makes it a perfect fit for efficient network servers and clients handling hundreds or thousands of concurrent connections, long-running applications and man

                                                                        GitHub - reactphp/reactphp: Event-driven, non-blocking I/O with PHP.
                                                                      • GitHub - polygonplanet/chillout: Reduce CPU usage by non-blocking async loop and psychologically speed up in JavaScript

                                                                        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 - polygonplanet/chillout: Reduce CPU usage by non-blocking async loop and psychologically speed up in JavaScript
                                                                        • GitHub - nathansizemore/hydrogen: Multithreaded, non-blocking Linux server framework in Rust

                                                                          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 - nathansizemore/hydrogen: Multithreaded, non-blocking Linux server framework in Rust
                                                                          • JDBC っぽいけど non-blocking な DB アクセス #scalajp - seratch's weblog in Japanese

                                                                            を実現するライブラリをつくり、週末に公開しました。 概要 ScalikeJDBC の extension という位置づけで ScalikeJDBC-Async という名前です。 https://github.com/seratch/scalikejdbc-async 内部では postgresql-async/mysql-async という Netty ベースの独自ドライバーを使っています。 https://github.com/mauricio/postgresql-async ただし postgresql-async をそのまま使うのは結構プリミティブな感じなので、いかに隠蔽して使いやすくするかにこだわって実装しました。 とりあえずそれについてはまずまずうまくいったのではないかと思っています。 例えば postgreslq-async をそのまま使うとこのサンプルのようにsendQue

                                                                              JDBC っぽいけど non-blocking な DB アクセス #scalajp - seratch's weblog in Japanese
                                                                            • GitHub - fukamachi/woo: A fast non-blocking HTTP server on top of libev

                                                                              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 - fukamachi/woo: A fast non-blocking HTTP server on top of libev
                                                                              • NOBLE - a library of non-blocking synchronization protocols - Home Page

                                                                                http://www.noble-library.org Noble is a software package freely available for research and educational purposes. Main areas of applications are within the Parallel and Real-Time Systems community where concurrency is needed. Noble consists of several implementations of commonly used data structures. These kind of structures like stacks, queues, lists etceteras need some kind of synchronization whe

                                                                                • The non-blocking script loader pattern

                                                                                  Philip Tellis (@bluesmoon) is the Chief Architect of SOASTA where he works on the mPulse product to do Real User Measurement (formerly LogNormal). Philip writes code because it's fun to do. He loves making computers do his work for him and spends a lot of time trying to get the most out of available hardware. He is equally comfortable with the back end and the front end and his tech blog has artic

                                                                                    The non-blocking script loader pattern