All Projects → savsgio → Atreugo

savsgio / Atreugo

Licence: apache-2.0
High performance and extensible micro web framework. Zero memory allocations in hot paths.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Atreugo

Geotic
Entity Component System library for javascript
Stars: ✭ 97 (-85.33%)
Mutual labels:  performance, fast
Fiber
⚡️ Express inspired web framework written in Go
Stars: ✭ 17,334 (+2522.39%)
Mutual labels:  performance, fast
Xseries
Library for cross-version Minecraft Bukkit support and various efficient API methods.
Stars: ✭ 109 (-83.51%)
Mutual labels:  performance, fast
Fast Elixir
💨 Writing Fast Elixir 😍 -- Collect Common Elixir idioms.
Stars: ✭ 924 (+39.79%)
Mutual labels:  performance, fast
koa-better-router
❤️ Stable and lovely router for `koa`, using `path-match`. Foundation for building powerful, flexible and RESTful APIs easily.
Stars: ✭ 88 (-86.69%)
Mutual labels:  fast, extensible
Foxify
The fast, easy to use & typescript ready web framework for Node.js
Stars: ✭ 138 (-79.12%)
Mutual labels:  performance, fast
Router
⚡️ A lightning fast HTTP router
Stars: ✭ 158 (-76.1%)
Mutual labels:  performance, fast
Bombardier
Fast cross-platform HTTP benchmarking tool written in Go
Stars: ✭ 2,952 (+346.6%)
Mutual labels:  performance, fast
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+326.78%)
Mutual labels:  micro-framework, performance
Router
Router implementation for fasthttp
Stars: ✭ 234 (-64.6%)
Mutual labels:  performance, fast
Neon
Intel® Nervana™ reference deep learning framework committed to best performance on all hardware
Stars: ✭ 3,855 (+483.21%)
Mutual labels:  performance, fast
Rz Go
Ripzap - Fast and 0 allocs leveled JSON logger for Go ⚡️. Dependency free.
Stars: ✭ 256 (-61.27%)
Mutual labels:  performance, fast
Orientdb
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries. OrientDB Community Edition is Open Source using a liberal Apache 2 license.
Stars: ✭ 4,394 (+564.75%)
Mutual labels:  performance, fast
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+708.77%)
Mutual labels:  fast
Moize
The consistently-fast, complete memoization solution for JS
Stars: ✭ 628 (-4.99%)
Mutual labels:  performance
Youku Sdk Tool Woodpecker
In-app-debug tool for iOS
Stars: ✭ 600 (-9.23%)
Mutual labels:  performance
Yappi
Yet Another Python Profiler, but this time thread&coroutine&greenlet aware.
Stars: ✭ 595 (-9.98%)
Mutual labels:  performance
Solid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Stars: ✭ 13,115 (+1884.11%)
Mutual labels:  performance
Perf Tooling
List of performance analysis, monitoring and optimization tools
Stars: ✭ 625 (-5.45%)
Mutual labels:  performance
React Virtual List
Super simple virtualized list React component
Stars: ✭ 597 (-9.68%)
Mutual labels:  performance

Atreugo

Build Status Coverage Status Go Report Card GoDev GitHub release

High performance and extensible micro web framework with zero memory allocations in hot paths.

It's built on top of fasthttp.

Install

go get github.com/savsgio/atreugo/v11

Supported Go versions:

  • 1.15.x
  • 1.14.x
  • 1.13.x
  • 1.12.x

Documentation

See: docs

Organization

Find useful libraries like middlewares, websocket, etc.

Feature Overview

  • Optimized for speed. Easily handles more than 100K qps and more than 1M concurrent keep-alive connections on modern hardware.

  • Optimized for low memory usage.

  • Easy 'Connection: Upgrade' support via RequestCtx.Hijack.

  • Server provides anti-DoS limits.

  • Middlewares support:

    • Before view execution.
    • After view execution.
  • Easy routing:

    • Path parameters (mandatories and optionals).
    • Views with timeout.
    • Group paths and middlewares.
    • Static files.
    • Serve one file like pdf, etc.
    • Middlewares for specific views.
    • fasthttp handlers support.
    • net/http handlers support.
  • Common responses (also you could use your own responses):

    • JSON
    • HTTP
    • Text
    • Raw
    • File
    • Redirect

Examples:

Go to examples to see how to use Atreugo.

Note:

*atreugo.RequestCtx is equal to *fasthttp.RequestCtx, but with extra functionalities, so you can use the same functions of *fasthttp.RequestCtx. Don't worry 😄

Benchmark

Best Performance: Atreugo is one of the fastest go web frameworks in the go-web-framework-benchmark.

  • Basic Test: The first test case is to mock 0 ms, 10 ms, 100 ms, 500 ms processing time in handlers.

  • Concurrency Test (allocations): In 30 ms processing time, the test result for 100, 1000, 5000 clients is:

* Smaller is better

Contributing

Feel free to contribute or fork me... 😉

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].