The source code for workshop Scalable architecture using Redis as backend database using Golang + Redis

# Scalable Architecture using Redis and Golang Workshop

Code a scalable API using Redis as backend database and Golang as programming language, to handle a million of loads.

## Workshop Lessons

### Chapter 1. Start Redis project

Lesson 1.1 Start Redis with docker
Lesson 1.2 Redis detail explain

### Chapter 2. Load test setup

Lesson 2.1 Setup our load test
Lesson 2.2 Run load test with SET, GET

### Chapter 3. Optimize SET, GET with MSET, MGET

Lesson 3.1 Optimize SET, GET with MSET, MGET

### Chapter 4. Optimize KEYS with SCAN

Lesson 4.1 Optimize KEYS with SCAN

### Chapter 5. Use hashes for group of keys

Lesson 5.1 Use hashes to manage group of keys

### Chapter 6. Build register API using Redis

Lesson 6.1 Build register API

### Chapter 7. INCR, DECR for counter

Lesson 7.1 Build popcat counter API

### Chapter 8. Custom shardings to scale write throughput

Lesson 8.1 Custom shardings

### Chapter 9. Eco memory using Bitfield

Lesson 9.1 Optimize memory with Bitfield

### Chapter 10. PUB/SUB

Lesson 10.1 Create message queue with PUB/SUB
Lesson 10.2 Optimize local cache using PUB/SUB

### Chapter 11. Data persistence
Lesson 11.1 Start and shutdown
Lesson 11.2 Config max memory and eviction policy


By Chaiyapong Lapliengtrakul
All right reserved
Similar Resources

Instagram Backend HTTP REST API using GO Lang and Mongo DB

Instagram Backend HTTP REST API using GO Lang and Mongo DB Project for Appointy Summer Internship . Project built within 25 hrs, with no prior knowled

Oct 10, 2021

Demo application to implement a REST api backend service for an android app using the Go aah framework.

aah-recycleview-backend This tutorial is based on the aah framework to implement a REST API form of CRUD application services, taking "IN-MEMORY" stor

Jan 28, 2022

Build a TodoList with Go Design and implement a backend RESTful service in golang with CRUD

May we ask Igor to do a little project in leu of sample code? If there is a hire, the hours spent should be invoiced, so please keep track of that. Th

May 5, 2022

Backend developer with gin framework (Golang)

Backend developer with golang Install Packages : $ go get -u github.com/gin-gonic/gin $ Building from source Install a Go compiler. Install Goland ide

Nov 21, 2022

Golang backend for online shop

Golang backend for online shop Local setup: Prerequisites: GOLang MySQL Steps: L

Feb 4, 2022

Gin-boilerplate - This repository contains boilerplate code of a REST service using Gin (golang) framework.

Boilerplate REST service using Gin web framework (golang) Introduction This repository contains a boilerplate REST API service using Gin web framework

Apr 28, 2022

a url shortener made using go and redis

__ | |--.--.--.----.-----. .-----.-----. | | | | _|-- __|__| _ | _ | |__|__|_____|__| |_____|__|___

Dec 10, 2020

Plenti Static Site Generator with Go backend and Svelte frontend

Plenti Static Site Generator with Go backend and Svelte frontend

Plenti Static Site Generator with Go backend and Svelte frontend Website: https://plenti.co Requirements ❗ You must have NodeJS version 13 or newer As

Jan 2, 2023

Gokkan is a dokkan (shop) backend written in Go

Gokkan is an online shop backend service written in Go. Setup Requirements # or docker-compose up make up Gokkan requires postgresql as databas

Sep 28, 2021
Clean Architecture using Golang with Gin framework

Clean Architecture using Golang with Gin framework Template Structure Gin is a web framework written in Go (Golang). It features a martini-like API wi

Dec 16, 2022
Sample Go REST API implementation with DDD using Clean Architecture.

This layer is a part developed for client-side (mobile, web, etc.) applications to access our domain. It will forward the requests from this layer to the application layer and expose the response it receives from the application layer.

Jan 3, 2023
GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework
GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework

GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework, it features a simple organized directory structure for your next project with a pleasant development experience, made for developing modern APIs and microservices.

Dec 29, 2022
Clean Architecture template for Golang services
Clean Architecture template for Golang services

Go Clean template Clean Architecture template for Golang services Overview The purpose of the template is to show: how to organize a project and preve

Oct 19, 2022
Implementation of clean architecture in golang with gin-gonic & gorm

Boilerplate API Boilerplate API template includes all the common packages and setup used for API development in this Company. Development Copy .env.ex

Feb 15, 2022
KubeGene : dedicated to making genome sequencing process simple, portable and scalable

KubeGene What is KubeGene The KubeGene is dedicated to making genome sequencing process simple, portable and scalable. It provides a complete solution

Dec 13, 2022
The 'Scalable' URL shortener

Chinnaswamy The 'Scalable' URL shortener Running tests To run end to end tests: CHINNASWAMY_TEST_HOST="<host:port>" go test -count=1 ./integration_tes

Dec 2, 2022
Go-gin-mongo-api - A backend RESTful API built using golang, gin and mongoDB

go-gin-mongo-API This is a RESTful backend API which is developed using the gola

Jul 19, 2022
🎬 The source code of https://asoul.video

?? asoul-video The source code of https://asoul.video/ Set up development environment Frontend TBD Backend The ASOUL-Video backend server binary is me

Nov 3, 2022
Go sql layer architecture sample

go-sql-rest-api-template To run the application go run main.go API Design Common HTTP methods GET: retrieve a representation of the resource POST: cre

Jan 15, 2022