Skip to content

Commit ea9387a

Browse files
committed
docs: improve readme with adding benchmarks
1 parent 38d7557 commit ea9387a

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

README.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,38 @@
22
> this project under development, **Using it is your responsibility**.
33
44
<div align="center">
5-
<h1>MetaSSR</h1>
6-
5+
<img src="assets/logo.png" h alt="MetaSSR">
76
<p align='center'> SSR framework for React.js built on <a href="https://github.com/metacall/core">MetaCall</a> </p>
87
</div>
98

109

11-
MetaSSR is a powerful Server-Side Rendering (SSR) framework crafted for high-performance, dynamic web applications. Built on Rust and leveraging the Axum web framework, MetaSSR integrates seamlessly with the Metacall platform, showcasing a real-world use case for polyglot programming.
10+
MetaSSR is a powerful Server-Side Rendering (SSR) framework crafted for high-performance, dynamic web applications. Built on Rust and leveraging the Axum web framework, MetaSSR integrates seamlessly with the Metacall Runtime, showcasing a real-world use case for polyglot programming. It was created as part of [Google Summer of Code 2024](https://summerofcode.withgoogle.com/archive/2024/projects/yRWw2gPh) by [Mohamed Emad](https://github.com/hulxv), to demonstrate the capabilities of polyglot programming.
1211

1312
## Why MetaSSR?
1413

15-
MetaSSR combines the robustness of Rust with the flexibility of Metacall and the simplicity of Axum to deliver a framework that's both fast and versatile. Whether you're building complex web applications or straightforward static sites, MetaSSR provides the tools and performance you need.
14+
MetaSSR delivers exceptional performance that sets it apart from traditional SSR solutions. Built with Rust and optimized for speed, it significantly outperforms conventional Node.js-based SSR frameworks.
15+
16+
Here's how MetaSSR compares to Next.js under high load (12 threads, 1000 connections, 30s):
17+
18+
<center>
19+
20+
| Metric | MetaSSR | Next.js | Performance Gain |
21+
| ------------------- | :-------: | :----------: | ---------------- |
22+
| **Requests/sec** | 98,420.11 | 3,170.95 | **31x faster** |
23+
| **Average Latency** | 8.63ms | 119.90ms | **14x lower** |
24+
| **Transfer/sec** | 4.98GB | 37.95MB | **134x higher** |
25+
| **Total Requests** | 2,962,418 | 95,326 | **31x more** |
26+
| **Max Latency** | 65.22ms | 1.99s | **30x lower** |
27+
| **Socket Errors** | 0 | 239 timeouts | **Zero errors** |
28+
29+
</center>
30+
31+
1632

17-
### Key Features
33+
## Key Features
1834

1935
- **Rust-Powered Performance**: Enjoy the speed and safety of Rust in your server-side rendering tasks.
20-
- **High Performance with Axum.rs**: Achieve fast load times and excellent user experiences with optimized server-side rendering.
36+
- **High Performance**: Achieve fast load times and excellent user experiences with optimized server-side rendering.
2137
- **Comprehensive CLI**: Manage your MetaSSR projects effortlessly using our powerful command-line interface.
2238
- **API Route with Polyglot Programming (SOON)**: Integrate multiple languages seamlessly with Metacall's support.
2339

@@ -55,9 +71,6 @@ To ensure a positive and inclusive environment, please review our [Code of Condu
5571

5672
## Community
5773

58-
Stay connected and updated with MetaSSR:
59-
60-
- **GitHub**: [MetaSSR Repository](https://github.com/metacall/metassr)
6174
- **Discussion Forum**: [Join the Conversation](https://github.com/metacall/metassr/discussions)
6275
- **Twitter**: [Follow US](https://twitter.com/metacallio)
6376
- **Metacall Community**:
@@ -68,12 +81,3 @@ Stay connected and updated with MetaSSR:
6881
## License
6982

7083
MetaSSR is licensed under the [MIT License](LICENSE). See the LICENSE file for more details.
71-
72-
## Acknowledgments
73-
74-
A big thank you to the Metacall team for their incredible platform, and to the Rust and Axum communities for their tools and support. We also appreciate all contributors and supporters of the project.
75-
76-
---
77-
78-
We hope you enjoy working with MetaSSR as much as we do. Happy coding!
79-

assets/logo.png

181 KB
Loading

0 commit comments

Comments
 (0)