mirror of
https://github.com/foomo/foomo-docs.git
synced 2025-10-16 12:35:40 +00:00
feat: add go profiling scaffold
This commit is contained in:
parent
e1baecd6a5
commit
5a882ccd1f
@ -2,13 +2,19 @@
|
|||||||
id: index
|
id: index
|
||||||
sidebar_position: 1
|
sidebar_position: 1
|
||||||
---
|
---
|
||||||
import { GoPlayground } from '../../src/components/GoPlayground';
|
|
||||||
|
|
||||||
# Backend Guide
|
# Backend Guide
|
||||||
|
|
||||||
|
A collection us useful resources for Go backend developers
|
||||||
|
|
||||||
|
- [links to useful Go resources in other places](backend/rtfm)
|
||||||
|
|
||||||
|
## Stack
|
||||||
|
|
||||||
|
- https://nats.io/
|
||||||
|
- https://www.mongodb.com/
|
||||||
|
- https://www.postgresql.org/
|
||||||
|
- https://temporal.io/
|
||||||
|
|
||||||
|
And of course "[Stuff](projects) we wrote, because nobody else wanted to"
|
||||||
|
|
||||||
|
|
||||||
<GoPlayground
|
|
||||||
id="_HLNjk_HaBE"
|
|
||||||
proportion={16/10}
|
|
||||||
/>
|
|
||||||
4
foomo/docs/backend/profiling/index.mdx
Normal file
4
foomo/docs/backend/profiling/index.mdx
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Profiling Go applications
|
||||||
|
|
||||||
|
A general overview can be found here: https://go.dev/doc/diagnostics#profiling
|
||||||
|
|
||||||
7
foomo/docs/backend/profiling/pprof.mdx
Normal file
7
foomo/docs/backend/profiling/pprof.mdx
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# runtime pprof
|
||||||
|
|
||||||
|
- https://pkg.go.dev/runtime/pprof
|
||||||
|
- https://pkg.go.dev/net/http/pprof
|
||||||
|
- https://github.com/google/pprof
|
||||||
|
|
||||||
|
|
||||||
@ -4,9 +4,10 @@ sidebar_position: 2
|
|||||||
---
|
---
|
||||||
# External documentation resources
|
# External documentation resources
|
||||||
|
|
||||||
## go
|
## Go
|
||||||
|
|
||||||
- https://go.dev
|
- https://go.dev
|
||||||
|
- https://github.com/avelino/awesome-go#readme
|
||||||
|
|
||||||
## http
|
## http
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ When it comes to writing backend services we have decided for Go https://go.dev
|
|||||||
|
|
||||||
### Foomo projects supporting development with Go
|
### Foomo projects supporting development with Go
|
||||||
|
|
||||||
- [keel](libraries/keel) - opinionated way to run services
|
- [keel](keel) - opinionated way to run services
|
||||||
- [gotsrpc](gotsrpc) - rpc framework / code generator
|
- [gotsrpc](gotsrpc) - rpc framework / code generator
|
||||||
- [gograpple](gograpple) - human friendly way to debug go programs running in k8s
|
- [gograpple](gograpple) - human friendly way to debug go programs running in k8s
|
||||||
- [webgrapple](webgrapple) - a development proxy
|
- [webgrapple](webgrapple) - a development proxy
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Sometimes things go wrong and a service does not respond anymore. Be it because
|
|||||||
|
|
||||||
Simply put a circuit breaker has three different states:
|
Simply put a circuit breaker has three different states:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
We did not re-invent the wheel (yet), but rather used an existing circuit breaker. However, we extended the functionality a bit. More on that later. For referance, here are links to the [underlying circuit breaker](https://github.com/sony/gobreaker) and some more [information on circuit breakers in general](https://learn.microsoft.com/en-us/previous-versions/msp-n-p/dn589784(v=pandp.10)?redirectedfrom=MSDN).
|
We did not re-invent the wheel (yet), but rather used an existing circuit breaker. However, we extended the functionality a bit. More on that later. For referance, here are links to the [underlying circuit breaker](https://github.com/sony/gobreaker) and some more [information on circuit breakers in general](https://learn.microsoft.com/en-us/previous-versions/msp-n-p/dn589784(v=pandp.10)?redirectedfrom=MSDN).
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 404 KiB After Width: | Height: | Size: 404 KiB |
2660
foomo/yarn.lock
2660
foomo/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user