記事一覧
All writingsบทความทั้งหมด
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- ทำไม ElysiaJS ถึงเร็ว? เบื้องหลังการสร้าง Handler เฉพาะ Routeเจาะกลไก Sucrose และการสร้าง request handler ของ Elysia แยก framework JIT, engine JIT และ build-time AOT พร้อมข้อจำกัดและวิธีประเมินผลกับ API จริง
- M.Sc. in Financial Engineering คืออะไร? เรียนอะไร และควรมีพื้นฐานแบบไหนFinancial Engineering คืออะไร เรียนอะไร ค่าเทอมเท่าไหร่ และควรเตรียมพื้นฐานแบบไหน บันทึกจาก 3–4 สัปดาห์แรกของการเรียนปริญญาโทที่ UTCCSeries · ตอน 01
- deploy พัง ทั้งที่ผมไม่ได้แก้อะไรเลยเดือนสิงหาคม deploy ผ่าน แต่เดือนกันยายน pipeline เดิมกลับ build พังสองครั้ง ต้นเหตุคือเครื่องมือที่ CI ดาวน์โหลดใหม่ทุกรอบ และตอบคำถาม setup ของตัวเองว่า yes
- Elysia vs Hono กับ PostgreSQL บน MacBook Air M5ผมวัด Elysia กับ Hono บน PostgreSQL ชุดเดียวกัน 160 รอบ ผลคือห่างกันไม่ถึง 2% ซึ่งน้อยกว่าความแกว่งของการรันซ้ำบนเครื่องตัวเองเสียอีก
- Framework ที่ช้าที่สุด กลับดึงกำลังไฟน้อยที่สุดผมลองวัดพลังงานต่อ HTTP request ของ 5 Framework บน Bun ผลคือ Express ช้ากว่า Elysia 2.3 เท่า แต่ใช้พลังงานมากกว่าเพียง 1.8 เท่า และตัวยิงโหลดกลับใช้ CPU มากกว่าเซิร์ฟเวอร์ที่กำลังทดสอบเสียอีก
- วัด Bun HTTP Framework บน MacBook Air M5แค่กลับลำดับรายการที่ทดสอบ อันดับก็พลิก นี่คือเรื่องที่โน้ตบุ๊กไม่มีพัดลมวัดได้จริง ๆ ตอนเรา benchmark framework แปดตัวติดกัน และตัวเลขหน้าตาเป็นอย่างไรเมื่อเลิกทำแบบนั้น