Skip to content

bsingr/golang-apache-fastcgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go + Apache + FastCGI = Go for Shared Hosting

Learning project to deploy a Go binary as FastCGI script on an Apache http server.

Examples

  • Vanilla
    • Starting point to make any go binary FastCGI compatible.
  • Beego

Getting Started

Please make sure you have Go and Beego installed. Then just do:

$ make

Then open your browser:

$ open http://localhost

When you are using docker-osx:

$ open http://localdocker

Why Apache HTTP?

The primary focus of this project is to demo the use of Go binaries in a shared hosting environment.

Also on web servers like Nginx there are seperate start/stop scripts required to spawn FastCGI processes.

Performance

benchmarks/static.jpg benchmarks/vanilla.jpg benchmarks/beego.jpg

Thanks / References

License

See LICENSE.

About

Learning project to deploy a go binary in shared hosting environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published