Skip to content

sellooh/space-desert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I used this project to learn golang concurrency.

As the project evolved I've added:

  • Created an Hexagonal project structure, also known as Ports and Adapters
  • Setup sam serverless deployment
  • Performed lambda ideal sizing with Lambda Power Tools
# run cli
$ go run cmd/game-cli/*.go data/1k-automata.txt

# sam build
$ sam build -t infrastructure/template.yaml

# sam deploy (simplified)
$ sam deploy --config-file infrastructure/samconfig.toml

# sam deploy (with parameters)
$ sam deploy --stack-name space-desert -t infrastructure/template.yaml --parameter-overrides MountDataLayer=false

# sam invoke
$ sam remote invoke LAMBDA_ARN --event-file events/10k.json
sam local invoke

sam local doesn't evaluate cloudformation conditionals. Avoid using It issue.

About

Golang project to explore concurrency and serverless deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published