ICERUST氷錆Thoughts on software,
systems, and experiments.
บันทึกเรื่องซอฟต์แวร์
ระบบ และการทดลอง

記事一覧

All writingsบทความทั้งหมด

  1. Why is ElysiaJS fast? Inside its route-specific handlersA look inside Sucrose and how Elysia generates request handlers, separating framework JIT, engine JIT and build-time AOT, with the trade-offs and how to evaluate the gains on a real API.
    • Elysia
    • ElysiaJS
    • Bun
    • JavaScript
    • TypeScript
    • Performance
    • AOT
    • JIT
  2. What is an M.Sc. in Financial Engineering? What you study, and what background helpsWhat Financial Engineering is, what you study, what it costs, and how to prepare — notes from the first 3–4 weeks of an M.Sc. at UTCC.Series · ตอน 01
    • Financial Engineering
    • Quant
    • Master's Degree
    • UTCC
    • Learning Journal
  3. My deploy broke and my repository did not changeA green deploy in August, an identical pipeline in September, and a build that failed twice. The cause was a tool my CI downloads fresh on every run, answering its own setup prompt with yes.
    • Cloudflare
    • CI
    • Astro
  4. Elysia vs Hono with PostgreSQL on a MacBook Air M5A repeated, single-machine comparison using a shared Bun SQL database layer, with downloadable measurement evidence.
    • Elysia
    • Hono
    • PostgreSQL
    • Benchmark
  5. The slowest framework drew the least powerI measured what an HTTP request costs in joules on a fanless MacBook Air M5. Express is 2.3x slower than Elysia but only 1.8x hungrier — because it cannot draw as much power. Then I found out the load generator was using four times more CPU than the server it was measuring.
    • Bun
    • Energy
    • Benchmark
  6. Benchmarking Bun HTTP frameworks on a MacBook Air M5Reversing the order of the target list reversed the ranking. What a fanless laptop actually measures when you benchmark eight Bun HTTP frameworks back to back, and what the numbers look like once you stop doing that.
    • Bun
    • Benchmark
    • Performance
  1. ทำไม ElysiaJS ถึงเร็ว? เบื้องหลังการสร้าง Handler เฉพาะ Routeเจาะกลไก Sucrose และการสร้าง request handler ของ Elysia แยก framework JIT, engine JIT และ build-time AOT พร้อมข้อจำกัดและวิธีประเมินผลกับ API จริง
    • Elysia
    • ElysiaJS
    • Bun
    • JavaScript
    • TypeScript
    • Performance
    • AOT
    • JIT
  2. M.Sc. in Financial Engineering คืออะไร? เรียนอะไร และควรมีพื้นฐานแบบไหนFinancial Engineering คืออะไร เรียนอะไร ค่าเทอมเท่าไหร่ และควรเตรียมพื้นฐานแบบไหน บันทึกจาก 3–4 สัปดาห์แรกของการเรียนปริญญาโทที่ UTCCSeries · ตอน 01
    • Financial Engineering
    • วิศวกรรมการเงิน
    • Quant
    • ป.โท
    • UTCC
    • Learning Journal
  3. deploy พัง ทั้งที่ผมไม่ได้แก้อะไรเลยเดือนสิงหาคม deploy ผ่าน แต่เดือนกันยายน pipeline เดิมกลับ build พังสองครั้ง ต้นเหตุคือเครื่องมือที่ CI ดาวน์โหลดใหม่ทุกรอบ และตอบคำถาม setup ของตัวเองว่า yes
    • Cloudflare
    • CI
    • Astro
  4. Elysia vs Hono กับ PostgreSQL บน MacBook Air M5ผมวัด Elysia กับ Hono บน PostgreSQL ชุดเดียวกัน 160 รอบ ผลคือห่างกันไม่ถึง 2% ซึ่งน้อยกว่าความแกว่งของการรันซ้ำบนเครื่องตัวเองเสียอีก
    • Elysia
    • Hono
    • PostgreSQL
    • Benchmark
  5. Framework ที่ช้าที่สุด กลับดึงกำลังไฟน้อยที่สุดผมลองวัดพลังงานต่อ HTTP request ของ 5 Framework บน Bun ผลคือ Express ช้ากว่า Elysia 2.3 เท่า แต่ใช้พลังงานมากกว่าเพียง 1.8 เท่า และตัวยิงโหลดกลับใช้ CPU มากกว่าเซิร์ฟเวอร์ที่กำลังทดสอบเสียอีก
    • Bun
    • Energy
    • Benchmark
  6. วัด Bun HTTP Framework บน MacBook Air M5แค่กลับลำดับรายการที่ทดสอบ อันดับก็พลิก นี่คือเรื่องที่โน้ตบุ๊กไม่มีพัดลมวัดได้จริง ๆ ตอนเรา benchmark framework แปดตัวติดกัน และตัวเลขหน้าตาเป็นอย่างไรเมื่อเลิกทำแบบนั้น
    • Bun
    • Benchmark
    • Performance