AXES 2.0 First Stress Test

Jan 26, 2021

Prologue

First off, my sincere apologies to those who’ve heard this story before. But hey, every epic tale deserves to be retold!

Introduction

Hi there! I’m Yahwho, and Medieval Realms (MR) is my labour of love. Some might call me a geek—and they’re not wrong. I’m passionate about computers, history (especially the Middle Ages), and solving problems through technology.

I first taught myself programming at 15, reverse-engineering HTML and JavaScript. Since then, coding has been my fascination, and MR has been the perfect way to blend my love for medieval history with my curiosity for tech.

The Origins of Medieval Realms

MR was born out of frustration. I stumbled upon a game called Rising World, where I could build my dream fortress. But just as I was getting into it, the multiplayer server disappeared, taking my castle with it.

Determined to avoid that happening again, I started my own server and called it Medieval Realms—a persistent medieval world where players could build freely without fear of losing their creations.

At first, it was just me, but gradually, other players joined (special shoutout to Old Badger!). Naturally, people wanted protection for their builds. Back then, the only land protection plugin was World Protection by KingGenius.

Now, here’s the thing—I enjoy programming far more than managing a server. Admin work? Not my idea of fun. So, I created the first-ever Player Controlled Land Claim System: AXES (Accolades eXtended Ensconce System). It wasn’t just a land claim system—it also introduced Rising World’s first currency system, crowns, predating even iConomy.

In truth, MR was born out of laziness. I wanted to automate everything, so I didn’t have to micromanage!

 

Prologue

First off, my sincere apologies to those who’ve heard this story before. But hey, every epic tale deserves to be retold!

Introduction

Hi there! I’m Yahwho, and Medieval Realms (MR) is my labor of love. Some might call me a geek—and they’re not wrong. I’m passionate about computers, history (especially the Middle Ages), and solving problems through technology.

I first taught myself programming at 15, reverse-engineering HTML and JavaScript. Since then, coding has been my fascination, and MR has been the perfect way to blend my love for medieval history with my curiosity for tech.

The Origins of Medieval Realms

MR was born out of frustration. I stumbled upon a game called Rising World, where I could build my dream fortress. But just as I was getting into it, the multiplayer server disappeared, taking my castle with it.

Determined to avoid that happening again, I started my own server and called it Medieval Realms—a persistent medieval world where players could build freely without fear of losing their creations.

At first, it was just me, but gradually, other players joined (special shoutout to Old Badger!). Naturally, people wanted protection for their builds. Back then, the only land protection plugin was World Protection by KingGenius.

Now, here’s the thing—I enjoy programming far more than managing a server. Admin work? Not my idea of fun. So, I created the first-ever Player Controlled Land Claim System: AXES (Accolades eXtended Ensconce System). It wasn’t just a land claim system—it also introduced Rising World’s first currency system, crowns, predating even iConomy.

In truth, MR was born out of laziness. I wanted to automate everything, so I didn’t have to micromanage!

The Present Day

Over the years, Medieval Realms has grown into a rich world filled with unique features:

  • AXES: A player-controlled land claim system (P to claim, V to view, C to clear view, B to sell).
  • Gemstones: Discover inventory gemstones while mining.
  • Coins: Earn them by defeating bandits and skeletons.
  • Shops: Both server-controlled and player-controlled.
  • Custom GUIs: A tabbed menu (R key) and custom HUD (showing land status, balance, and elevation).
  • Animal Breeding: Raise your own livestock.
  • XP and Rankings: Includes leaderboards like Legendary Champions, Rich List, and Tournament Leaders.
  • Online Stats: View your in-game stats via the MR website.
  • Fast Travel: Define your own travel points.
  • Community Camera: Upload screenshots directly to the Player Gallery on the MR website.
  • Potions: Craftable, usable, and game-changing.
  • And much more!

This evolution wasn’t without growing pains. The original MR plugin was a single, monolithic class file (a coder’s nightmare). Thankfully, it has since been restructured into smaller, specialized classes.

Looking to the Future

With Rising World transitioning to the Unity engine, it’s the perfect time to rebuild MR from scratch. This isn’t just a copy-paste job—I’m learning from past mistakes. As my friend Solveign once said, “You look back at old code and think, did I really write that?”

The transition to MR 2.0 is a chance to redesign everything, starting with AXES 2.0. This new version features a backend system with management tools and performance monitoring. It’s already undergone its first stress test, hitting a milestone on January 23rd.

Stress Test Insights

MR relies heavily on a database to function, so I’ve implemented a custom caching system to optimize performance. The stress test simulated players trying to overload the system with random, chaotic inputs. AXES 2.0 handled it beautifully, limiting database queries to 5.33 per second per user. For context, MySQL can handle 25,000 queries per second, meaning we’d need over 4,600 players keyboard-smashing simultaneously to overwhelm the server.

Here’s a fun little video I made to showcase the stress test results:

Final Thoughts

Medieval Realms has come a long way since its humble beginnings. With the move to Unity, the best is yet to come. AXES 2.0 is just the start of what will be a new era for MR.

Thank you for joining me on this journey—and for your patience as I continue to build a world worthy of your adventures.

Yours, always beavering away (because beavers are the best animals),
Yahwho