Ree-Imagine the REEST Server for Ree.js!
Published: 2022-09-01 07:13:51

Ever Used Next.js? I am sure you did if you call yourself a ReactJS Developer! Well, the thing is... it still uses... ExpressJS in what..? 2022? Are we still meant to use such a slow framework in today's "fast" world?

Well, Let's dive straight into the benchmarks for Next.js (such a "battle-tested" framework for "Production" servers) and compare it with Reejs' server:

## Next.js In Dev (because why not?)

![Nextjs Dev](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zbr6n3brymz2vojce6ou.png)

## Next.js in Production (this should interest you!)

![Nextjs Production](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tgdnsw3otuxyxhmlh3ys.png)

## 

## Fresh from Deno

![Fresh](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mui4r7z6x9jfp56f7hxu.png)
> (Its like Ree.js but on Deno, btw Ree.js runs on Deno incase you don't know!)

## Ree.js in Dev

![Reejs Dev](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uvpcip3mhlx6u7iftrch.png)
> `console.log` is a good bottleneck for the loggings :(


## Ree.js in Production (Game-breaking mode activated I mean!)

![Reejs Production](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nkinosiyeuoa6umvajc8.png)
> Gas Gas Gas, ReeJS is so freaking FAST!

---

So you might wonder why am I running Next.js in dev and even comparing it with Ree.js in dev?

My answer would be, why are we devs not thinking about DevX (Developer eXperience) and only focusing on UX (User Experience)?
Are all the devs in our world having a beefy PC to code on? I don't think so 🥲... And to backup my point, Let's go a month back...

Ever heard of Bun? [Bun](https://bun.dev) - The new Nodejs/Deno alternative that aims to be more fast. I give a huge round of applause for them to make something that will be faster, but my point brings to the github issue which still ranks #1 to this day on Google Search 😅

![https://github.com/oven-sh/bun/issues/282](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xvl0i3tm98wt68n5xc1r.png)

While Bun now provides builds that don't need AVX2 Requirement, we can see that issue that a lot of devs actually use a old pc to code on, and my PC is 11yrs old (Yet, I managed to run Windows 11 on my old pc with some optimizations to use 1.2gb ram on startup 😅) But you get the idea... Not everyone has access to latest resources!

So why we are devs acting as if we all have Beefy PCs? Just because "you" have doesn't mean everyone has it! (No hate to anyone btw)

### My thoughts

We should really focus on DevX along with UX. I mean it's pretty much not bad... Both Reejs & Fresh doesn't build anything, so why are we still "building" in dev mode?

---

### Oh sheesh...
Did you just realise I just moved the topic from one part to another? Ah my bad, shall we go back to the server topic?

Thanks to [h3](https://github.com/unjs/h3) for their awesome server framework that helps us reach newer limits! They (UnJS) currently have Nitro server (That's used In NuxtJS incase you wondered why do they have that lol) but the problem is Nitro server still requires you to build...

![What Da Hail?](https://c.tenor.com/9PoIZUx13ogAAAAC/steven-he-what-the-hell.gif)

## Meet REEST
**Ree Server Takeover** - Don't let the words deceive you!
This new upcoming server will be itself based on **h3** server, provide all the features of [Nitro](https://nitro.unjs.io) server, without **"building"** because it's ree-ally not necessary to build!
But why the name "Takeover"? This takes over "your" problems and tries its best to fix it! You can now go and "take reest!"
### Some Noticeable Features 🎏
- Host more servers on different ports that run their own service, and they run on different threads rather than on the main JS thread so it's more efficient 🎯
- Be as Fast as Serverless ~~so you don't need serverless lol~~
- Host on Serverless (Reejs currently can't run as SSR mode on serverless, you have to choose the static mode deployment and REEST shall work to fix that!)
- Aim to be Beginner-Friendly 😌
- Aim to be "Ree"-quality friendly (I mean how you scream "reeeeeee!!!" when your code doesn't work; Reejs can help you fix that, or scream "reeeeee!!!" on your behalf 😉👏)
- Comment down below what else would you like to see!
- **REX-MODE** Coming Soon™️! *Spoiler Alert: you will love the way it handles the server efficiently!* 😏

---

## Thanks for sticking around! 🤝

Come Talk with us, and help us shape the futuree of Reejs on our Discord Server at https://dscrdly.com/server !
Hit a star on our Github repo to show support 🤗 https://github.com/rovelstars/reejs

Making a new open-source "general" template project with Reejs? You may want to check out building on https://github.com/ree-js , Join our Discord server to notify us about it!

Have a "REE"-free Day! 😅

![Example: You being in REE mode](https://c.tenor.com/iAYT_x-sh9sAAAAd/computer-rage.gif)
> I don't want to see you do this, that's why I made Reejs in the first place! 😉