Jiayi's Chronicles

Home About
  • Load testing SignalR + Protobuf with k6

    Mar 9, 2026 10 min read

    How to build a custom SignalR client for k6 to load test real-time WebSocket applications using MessagePack and Protobuf
  • Comprehensive guide to JavaScript performance analysis using Chrome DevTools

    May 16, 2024 28 min read

    Let's see how to navigate the Chrome Devtools Performance tab to effectively analyse and improve the performance of your JavaScript while avoiding common errors. Our use case will be improving the rendering FPS of a real-world canvas library.
  • Install k3s with Alpine Linux on Raspberry Pi 3B+

    Dec 19, 2020 8 min read

    A step to step guide to run k3s on Alpine Linux using Ansible playbook
  • Gmail Smart Compose in Keras and Tensorflow.js

    Jun 2, 2020 15 min read

    A Proof-of-Concept implementation using a sequence-to-sequence model in Keras and Tensorflow.js
  • The past, present and future of virtualization

    Apr 27, 2020 15 min read

    Let's have a look at the current dominant solutions in cloud virtualization in terms of how they originated and have spread in the last years, along with future directions.
  • How to validate Express requests using io-ts

    Apr 26, 2020 5 min read

    Combine io-ts runtime type system within an Express middleware to handle request validation
  • CSS Custom Properties performance in 2018

    Sep 11, 2018 6 min read

    How are CSS Custom Properties performing in 2018?
  • CSS resets in Shadow DOM

    Sep 5, 2018 5 min read

    How to apply reset.css or normalize.css with Web Components encapsulated in Shadow DOM
  • What I've learnt reading Jason Miller's source code

    Jun 24, 2018 8 min read

    A tour of useful JavaScript tricks from his minimal open-source projects
  • Testing Observables in RxJS6

    Jun 18, 2018 9 min read

    Introduction to RxJS marble testing, TestScheduler and how to improve Observable testing experience
  • Using and automating GitHub issues as blog comments

    Jul 27, 2017 6 min read

    Practical guide in pure Javascript to replace Disqus blog comments using automated GitHub issues
  • Angular AOT compilation with Webpack

    Jul 22, 2017 7 min read

    Set up AOT compilation in Webpack to avoid runtime compilation, reduce bundle size and improve application start
© 2026 Jiayi Hu. All rights reserved.
Follow Astro on Twitter Go to Jiayi's GitHub repo Go to Jiayi's LinkedIn page