English | 简体中文
GF(GoFrame) is a modular, powerful, high-performance and production-ready application development framework
of golang. Providing a series of core components and dozens of practical modules, such as:
cache, logging, containers, timer, resource, validator, database orm, etc.
Supporting web server integrated with router, cookie, session, middleware, logger, configure,
template, https, hooks, rewrites and many more features.
If you're a newbie to
Go, you may considerGoFrameeasy and great asLaravelinPHP,SpringBootinJavaorDjangoinPython.
go get -u -v github.com/gogf/gf
suggested using go.mod:
require github.com/gogf/gf latest
golang version >= 1.11
-
Primary
The
gfrepository maintains some basic and most commonly used packages, keeping it as lightweight and simple as possible. -
Community
The community packages are contrinuted and maintained by community members, which are reposited in
gogforganization. Some of the community packages are seperated from thgfrepository, which are not of common usage or are with heavy dependecies.
Here's the most popular Golang frameworks and libraries performance testing result in WEB Server. Performance testing cases source codes are hosted at: https://github.com/gogf/gf-performance
OS : Ubuntu 18.04 amd64
CPU : AMD A8-6600K x 4
MEM : 32GB
GO : v1.13.4
ab: Apache HTTP server benchmarking tool.
Command:
ab -t 10 -c 100 http://127.0.0.1:3000/hello
ab -t 10 -c 100 http://127.0.0.1:3000/query?id=10000
ab -t 10 -c 100 http://127.0.0.1:3000/json
The concurrency starts from 100 to 10000.
Run
5times for each case of each project and pick up the best testing result.
| Throughputs | Mean Latency | P99 Latency |
|---|---|---|
![]() |
![]() |
![]() |
| Throughputs | Mean Latency | P99 Latency |
|---|---|---|
![]() |
![]() |
![]() |
- 中文官网: https://goframe.org
- GoDoc API: https://godoc.org/github.com/gogf/gf
- QQ Group:116707870
- WX Group:Add friend
389961817in WeChat, commentingGF - Issues:https://github.com/gogf/gf/issues
It's recommended learning
GoFramethrough its awesome source codes and API reference.
GF is licensed under the MIT License, 100% free and open-source, forever.
This project exists thanks to all the people who contribute. [Contributors].







