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
A lot of people use React context as some kinds of build-in redux. Jack is one of them. Jack combined all global state to get a big object to get a ‘single source of data’ and put it into a provider. Then he went to a child component, call useContext and pick properties from the context. Everything seems worked fine until one day he found the app is too slow to use. A Bad Example Consider the foll
EngineeringMeasuring Git performance with OpenTelemetryUse our new open source Trace2 receiver component and OpenTelemetry to capture and visualize telemetry from your Git commands. When I think about large codebases, the repositories for Microsoft Windows and Office are top of mind. When Microsoft began migrating these codebases to Git in 2017, they contained 3.5M files and a full clone was more
NodeJS and GraphQL are popular technologies for building web applications, but in my experience, they come with certain scaling and performance tradeoffs to be aware of. tl;dr: GraphQL's modular structure generally leads to code that instantiates excessive promises, which degrades request performance. Benchmarks show a 2-3x latency increase. Thanks for reading Software at Scale! Subscribe for free
こんにちは、スタメンでバックエンドのエンジニアをしている河井です。 私の所属するバックエンドチームでは、普段からサービスのパフォーマンス監視とチューニングを継続的に行っています。 今回は、データベース負荷のモニタリングに使っている Performance Insights というツールの活用方法をまとめてみます。 Peformance Insights についてPerformance Insights(パフォーマンスインサイト)とは、Amazon RDS で提供されている機能で、DB の負荷のモニタリングが簡単にできます。 ざっくりとまとめると、 指標がシンプルなので DB の負荷状況を直感的に把握できる SQL クエリが表示されるため問題箇所の特定がしやすい リアルタイム更新なので即座に負荷内容を分析できる といったメリットがあります。 有効化についてはこちらを参照ください。 ダッシュボ
June 22, 2021 SiFive Performance P550 Core Sets New Standard as Highest Performance RISC-V Processor IP New SiFive Performance Family of application processors offers best in class performance, area, and efficiency for a wide variety of markets SAN MATEO, Calif., June 22, 2021 – SiFive, Inc., the industry leader in RISC-V processors and silicon solutions, today launched the new SiFive Performance
Netflix is used by 222 million members and runs on over 1700 device types ranging from state-of-the-art smart TVs to low-cost mobile devices. At Netflix we’re proud of our reliability and we want to keep it that way. To that end, it’s important that we prevent significant performance regressions from reaching the production app. Sluggish scrolling or late rendering is frustrating and triggers acci
RuboCop Performance 1.10 をリリースした。 JST で 3月1日に 1.10.0 をリリースして、3月2日に 1.10.1 をバグフィックスリリースした。以下、2つの新 Cop が目玉です。 Performance/RedundantSplitRegexpArgument cop 機能リクエストがあがっていた Cop をコントリビュータが実装してくれました。split メソッドの引数について正規表現ではなく文字列で十分というケースを検出する Cop です。 # bad 'a,b,c'.split(/,/) # good 'a,b,c'.split(',') 1.10.0 の時点だと 'oneSplittwo'.split(/split/i) といった ignore case オプションも警告する偽陽性があったため、1.10.1 で修正リリースしています。 Perfo
※画像24枚※ 去年9月、無事に開催された「はいさいFESTA」が、デルタ株の蔓延した今年は中止になり。 緊急事態宣言が延長される中、このカフェライブの開催も危ぶまれましたが。 吉祥寺駅から徒歩圏内 久々の吉祥寺、台風が来ていなければ井の頭公園にも寄りたかったところですが。 (今回も美織ちゃんは台風女) 美織ちゃんが描いた作品 記念写真を撮る時に、これを真ん中にすればディスタンスが確保できるというアイデアです。 開演1時間前から入場可 ライブ前に食事を終えればより安全との気遣いが。 今回はポストカードを貰いました。 本番前の精神統一 マスク姿なのに、素顔に思えるひととき。 スモーキングエリア 開演前は普通に喫煙所でしたが、ライブ中は開放してずっと換気されていました。 歌の世界へ 田中秀樹さんと金城美織さん 〜セットリスト〜 tomorrow beautiful day ナイトサイト 泥だら
"国家のWell-Being"を目指すスコットランドの《National Performance Framework》を読み解く【NGG Research #1】 昨年12月に黒鳥社から刊行された、これからの行政府を考えるための手引書『NEXT GENERATION GOVERNMENT 次世代ガバメント 小さくて大きい政府のつくり方』。刊行以後も世界の「次なる行政」に向けた動きは日々更新され、COVID-19のパンデミックによって私たちの生活の前提が揺らぎ迅速な変化を求められるいま、なおさらスピードを増している。黒鳥社noteの新シリーズ「NGG Research」では、『次世代ガバメント』で共有した前提の上に現在進行形で積み上げられている世界の行政府、そして関連機関の動きを紹介する。 第1回は、スコットランドが策定する〈National Performance Framework〉につ
RubyKaigi 2024 LT で 6年振り にLT発表させて頂きました。 今回の内容は、おおよそ naitoh.hatenablog.com を5分に縮めた内容になります。 具体的には、下記になります。 自分が作成している RBPDF gem で SVG 画像(XMLで記述されています。)を処理したいので、XML処理ライブラリの中でインストールの容易な REXML を使いたい。 REXML は C拡張の gem の libxml-ruby と比較して dom で65倍、sax でも 21倍遅いので、速くしたい。 Ruby 3.3 で YJIT を有効にするだけで dom で65倍→44倍、sax で 21倍→14倍の性能差まで改善されるが、まだ遅いのでさらに改善したい。 RubyKaigi 2019 の Better CSV processing with Ruby 2.6 で、St
On November 22, 2019, Coldplay premiered their new album, Everyday Life, live at the Amman Citadel, Jordan. The first half was performed at sunrise, the second at sunset. It was the first and only time the album was performed in full, broadcast live around the world. (hear the album at https://everydaylife.coldplay.com/) Watch the entire Amman broadcast at https://youtu.be/tO7CCP7liwI Subscrib
Announcing .NET Community Toolkit 8.0! MVVM, Diagnostics, Performance, and more! We’re happy to announce the official launch of the new .NET Community Toolkit, which is now live on NuGet with version 8.0.0! This is a major release including a ton of new features, improvements, optimizations, bug fixes and many refactorings to also reflect the new project structure and organization, which this blog
As businesses grow, managing their large data volumes becomes increasingly crucial. One of the most famous tools for managing and storing data is Google Bigquery. Due to its unique architecture and seamless integration with other services from GCP, Google BigQuery is considered the most viable choice. However, migrating data to bigquery is a difficult task. Therefore, certain practices must be fol
AWS Compute Blog Improving performance of PHP for Arm64 and impact on AWS Graviton2 based EC2 instances This post is contributed by Sebastian Pop, Senior Software Engineer, Amazon Web Services. AWS recently launched the Amazon EC2 M6g, C6g, and R6g instances powered by the AWS Graviton2 processors. Compared to similar-sized M5 instances, Graviton2 based instances provide up to 40% better price per
CORS is a necessity for many APIs, but basic configurations can create a huge number of extra requests, slowing down every browser API client, and sending unnecessary traffic to your backend. This can be a problem with a traditional API, but becomes a much larger issue with serverless platforms, where your billing is often directly tied to the number of requests received, so this can easily double
JavaScript is a single-threaded language, to perform large computation & operations, the preference will be multi-threading. We can achieve multi-threading in JavaScript with the help of HTML Web Workers API. A web worker is a JavaScript that runs in the background, independently of other scripts. To know more about web workers please read here How did it start?Back in 2015, I was working on a pro
By James Newton-King gRPC is designed for high-performance services. This document explains how to get the best performance possible from gRPC. Reuse gRPC channels A gRPC channel should be reused when making gRPC calls. Reusing a channel allows calls to be multiplexed through an existing HTTP/2 connection. If a new channel is created for each gRPC call then the amount of time it takes to complete
In the last six months the Firefox performance team has implemented changes to improve startup, responsiveness, security (Fission), and web standards. Startup and perceived startup Doug Thayer and Emma Malysz implemented work to improve the perceived startup of Firefox on Windows using a concept called the skeleton UI. Users on Windows may click the Firefox icon and not get visual feedback in the
With many people being forced to work from home, there’s increased load on consumer ISPs. You may be asking yourself: how well is my ISP performing with even more traffic? Today we’re announcing the general availability of speed.cloudflare.com, a way to gain meaningful insights into exactly how well your network is performing. We’ve seen a massive shift from users accessing the Internet from busy
Amazon RDS Performance Insights は、PostgreSQL 互換の Amazon Aurora、Amazon RDS for PostgreSQL、Amazon RDS for MySQL、および Amazon RDS for MariaDB でのクエリプランの収集と追跡をサポートしています。これにより、クエリプランの変更が、長時間実行されているクエリまたはスタッククエリの原因であるかどうかを簡単に識別できます。 クエリプランは、リレーショナルデータベース管理システム (DBMS) のデータにアクセスするために使用する一連の手順です。DBMS クエリオプティマイザーは、さまざまな方法を選択して特定のクエリを実行しており、そのパフォーマンスはまちまちです。クエリオプティマイザーは不完全であるため、データベースのユーザーと管理者は、パフォーマンスを向上させるために
Networking & Content Delivery Amazon EC2 instance-level network performance metrics uncover new insights Introduction Amazon EC2 provides instance-level metrics that measure CPU, disk, and network performance. These metrics include bytes and packets in/out and collected by default and can be viewed in Amazon CloudWatch. Amazon EC2 has recently announced additional high-resolution instance level ne
The New Generation of Performance Metrics for Better User Experience Traditional performance metrics like load time or DOMContentLoaded focus on details that are easy to measure, but these milestones don’t translate well to what the users care about. If you optimize only for fast loading time, you can quickly end up with sites that still have a poor user experience. A site can have fast total load
Sensei Monitor is a brand new way to monitor your Mac performance. Featuring a state-of-the-art realtime statistics engine, stunning modern design and amazing customisation, it has never been easier to monitor every aspect of your Mac. Monitor every aspect of your Mac. Sensei Monitor is the culmination of over a decade of Mac systems research. Featuring a broad range of metrics ranging from softwa
Ceph is a Software-Defined Storage system. It’s very feature-rich: it provides object storage, VM disk storage, shared cluster filesystem and a lot of additional features. In some ways, it’s even unique. It could be an excellent solution which you could take for free, immediately solve all your problems, become a cloud provider and earn piles of money. However there is a subtle problem: PERFORMANC
It's not hard to make Windows 10 faster. Here are several methods to improve the speed and performance of Windows 10. Making Windows 10 or 11 perform faster is easy. You just need a few simple tips and tricks. This article covers several methods to make Windows 10 and 11 faster and improve its performance. The Main Focus Areas to Make Windows Run Faster There are three umbrella categories for opti
EngineeringHow we tripled max concurrent jobs to boost performance of GitHub ActionsThe GitHub Actions team has done lots of work to improve the performance and resource consumption of Actions on GHES in the past year. GitHub Actions became generally available on GitHub Enterprise Server (GHES) with the 3.0 release about two years ago. Since then, we’ve made many performance improvements to the pr
Quick Summary This article aims to explain how to write efficient and performant React components along with some common profiling techniques at our disposal that we can use to figure out unoptimized rendering behaviors in our app and improve the performance. Audience The targeted audience for this article is mid-senior level React engineers who are well familiar with the library and have a good u
AWS Big Data Blog Amazon EMR now provides up to 30% lower cost and up to 15% improved performance for Spark workloads on Graviton2-based instances Amazon EMR now supports M6g, C6g and R6g instances with Amazon EMR versions 6.1.0, 5.31.0 and later. These instances are powered by AWS Graviton2 processors that are custom designed by AWS using 64-bit Arm Neoverse cores to deliver the best price perfor
AWS Open Source Blog Improving zlib-cloudflare and comparing performance with other zlib forks We worked with the maintainers of the Cloudflare fork of zlib (zlib-cloudflare) to improve the decompression performance on Arm and x86. With the changes, at level 6: On Arm: Compression performance: ~90 percent faster than zlib-madler (original zlib). Decompression performance: ~52 percent faster than z
Optimized, cache-friendly columnar data layout that minimizes cache-misses. Optimized for zero heap allocation during querying (see benchmarks below). Optimized batch updates/deletes, an update during a transaction takes around 12ns. Support for SIMD-enabled aggregate functions such as "sum", "avg", "min" and "max". Support for SIMD-enabled filtering (i.e. "where" clause) by leveraging bitmap inde
Currying is a functional programming technique that allows you to partially apply a function’s arguments and return a new function that takes the remaining arguments. This is widely used in functional programming languages like Haskell, as a fundamental tool for many design patterns. However, today we use the technique in Rust to improve the performance of our functions. TL;DR: You can also take a
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く