Hasty Briefsbeta

Bilingual

Making of Monkeys.zip

a year ago
  • #simulation
  • #database optimization
  • #web development
  • Monkeys.zip has gathered over 11,000 monkeys, writing over 6 billion words in one month.
  • The tech stack includes Supabase for backend, LitHTML for frontend, Three.JS for 3D, and Astro for the blog.
  • The simulation architecture is built as a pipeline with four steps: Ticks, generateTickText, processTick, and Archive.
  • Ticks are produced every 15 seconds to balance performance and reliability.
  • generateTickText uses deterministic random number generation to produce monkey text.
  • processTick updates database tables with valid words, word counts, and monkey items.
  • Archive optimizes performance by moving old data to a separate table.
  • The grid of monkeys is chunked into 64x64 sections for caching and query efficiency.
  • Future optimizations may include using a VPS with more RAM for faster processing.