GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - blackbeans/turbo: turbo is a lightweight network framework for golang

BranchesTags
Open more actions menu

Latest commit

 

History

178 Commits
178 Commits

Folders and files

NameName
Last commit message
Last commit date
benchmark
benchmark
 
 
README.md
README.md
 
 
binary_v2.go
binary_v2.go
 
 
future.go
future.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
gopool.go
gopool.go
 
 
gopool_test.go
gopool_test.go
 
 
lru.go
lru.go
 
 
lru_cache.go
lru_cache.go
 
 
lru_cache_test.go
lru_cache_test.go
 
 
tclient.go
tclient.go
 
 
tclient_manager.go
tclient_manager.go
 
 
tclient_reconnect.go
tclient_reconnect.go
 
 
tcodec.go
tcodec.go
 
 
tconfig.go
tconfig.go
 
 
tconn_listener.go
tconn_listener.go
 
 
tnetstat.go
tnetstat.go
 
 
tpacket.go
tpacket.go
 
 
tserver.go
tserver.go
 
 
tserver_test.go
tserver_test.go
 
 
tsession.go
tsession.go
 
 
turbo_bursty_limiter.go
turbo_bursty_limiter.go
 
 
turbo_bursty_limiter_test.go
turbo_bursty_limiter_test.go
 
 
turbo_context.go
turbo_context.go
 
 
turbo_context_test.go
turbo_context_test.go
 
 
turbo_event.go
turbo_event.go
 
 
turbo_handler.go
turbo_handler.go
 
 
turbo_remote_handler.go
turbo_remote_handler.go
 
 
turbo_timewheel.go
turbo_timewheel.go
 
 
turbo_timewheel_test.go
turbo_timewheel_test.go
 
 

Repository files navigation

turbo

turbo is a lightweight network framework for golang

Install

go get github.com/blackbeans/turbo

benchmark

main/turbo_server_demo.go

main/turbo_client_demo.go

env:

2.5 GHz Intel Core i7  16GRAM  macbook pro

1 connection 1 groutine  70000 tps

协议定义

总包长(不包含本4B) 请求的seqId 类型  协议的版本号  扩展预留字段  body的长度	Body
---------------------------------------------------------------------------
|Length(4B)|Opaque(4B)|CmdType(1B)|Version(2B)|Extension(8B)|BodyLen(4B)|Body|
---------------------------------------------------------------------------
quickstart
main/turbo_server_demo.go

main/turbo_client_demo.go

About

turbo is a lightweight network framework for golang

Resources

Readme
Activity

Stars

73 stars

Watchers

12 watching

Forks

16 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.