All Projects → alperhankendi → Devnot Workshop

alperhankendi / Devnot Workshop

Licence: apache-2.0
[email protected] Summit 2020

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Devnot Workshop

Mgodatagen
Generate random data for MongoDB
Stars: ✭ 206 (+1187.5%)
Mutual labels:  mongodb, scalability
Reactivemongo
🍃 Non-blocking, Reactive MongoDB Driver for Scala
Stars: ✭ 825 (+5056.25%)
Mutual labels:  mongodb
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+48100%)
Mutual labels:  mongodb
Goodskill
🐂基于springcloud +dubbo构建的模拟秒杀项目,模块化设计,集成了分库分表、elasticsearch🔍、gateway、mybatis-plus、spring-session等常用开源组件
Stars: ✭ 786 (+4812.5%)
Mutual labels:  mongodb
Awesome Sre
A curated list of Site Reliability and Production Engineering resources.
Stars: ✭ 7,687 (+47943.75%)
Mutual labels:  scalability
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+4862.5%)
Mutual labels:  mongodb
Stream Reactor
Streaming reference architecture for ETL with Kafka and Kafka-Connect. You can find more on http://lenses.io on how we provide a unified solution to manage your connectors, most advanced SQL engine for Kafka and Kafka Streams, cluster monitoring and alerting, and more.
Stars: ✭ 753 (+4606.25%)
Mutual labels:  mongodb
Nodepress
😎 RESTful API service for Blog/CMS, powered by @nestjs
Stars: ✭ 829 (+5081.25%)
Mutual labels:  mongodb
Treestats.net
Player tracking for Asheron's Call
Stars: ✭ 5 (-68.75%)
Mutual labels:  mongodb
Eve
REST API framework designed for human beings
Stars: ✭ 6,421 (+40031.25%)
Mutual labels:  mongodb
Cocorico
👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/en/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
Stars: ✭ 765 (+4681.25%)
Mutual labels:  mongodb
Nice Front End Tutorial
🌍 Constantly updated front-end resources, tutorials, opinions(与时俱进版前端资源,教程和意见。)
Stars: ✭ 755 (+4618.75%)
Mutual labels:  mongodb
Dbkoda
State of the art MongoDB IDE
Stars: ✭ 795 (+4868.75%)
Mutual labels:  mongodb
Generator Angular Fullstack
Yeoman generator for an Angular app with an Express server
Stars: ✭ 6,135 (+38243.75%)
Mutual labels:  mongodb
Blog
🤣本项目有不同开发版本,最新版底层基于 abp vNext 搭建和免费开源跨平台框架 .NET5 进行开发,使用 MongoDB 存储数据,Redis 缓存数据。项目采用前后端分离的模式进行开发,API 遵循 RESTful 接口规范,页面使用 Blazor 进行开发,可作为 .NET Core 入门项目进行学习。If you liked `Blog` project or if it helped you, please give a star ⭐️ for this repository. 👍👍👍
Stars: ✭ 827 (+5068.75%)
Mutual labels:  mongodb
Mall Swarm
mall-swarm是一套微服务商城系统,采用了 Spring Cloud Hoxton & Alibaba、Spring Boot 2.3、Oauth2、MyBatis、Docker、Elasticsearch、Kubernetes等核心技术,同时提供了基于Vue的管理后台方便快速搭建系统。mall-swarm在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。文档齐全,附带全套Spring Cloud教程。
Stars: ✭ 7,874 (+49112.5%)
Mutual labels:  mongodb
Young
A full-featured forum software built on Tornado and MongoDB.
Stars: ✭ 764 (+4675%)
Mutual labels:  mongodb
Mongo Cxx Driver
C++ Driver for MongoDB
Stars: ✭ 792 (+4850%)
Mutual labels:  mongodb
Geek Navigation
❤️ 极客猿梦导航-独立开发者的导航站!
Stars: ✭ 832 (+5100%)
Mutual labels:  mongodb
Szt Bigdata
深圳地铁大数据客流分析系统🚇🚄🌟
Stars: ✭ 826 (+5062.5%)
Mutual labels:  mongodb

Developer summit [email protected]

tools & libraries

struct

Doc

folder structure

❯ tree
.
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── build
│   ├── deployment.yaml
│   └── service.yaml
├── cmd
│   ├── command.go
│   ├── query.go
│   └── root.go
├── docs
│   ├── api.png
│   └── api.puml
├── go.mod
├── internal
│   └── movies
│       ├── controller
│       │   ├── dispatcher.go
│       │   ├── endpoint.go
│       │   └── transport.go
│       ├── mongo
│       │   └── mongo_repository.go
│       ├── service.go
│       └── types.go
├── load-post.js
├── load.js
├── main.go
└── pkg
    ├── echoextention
    │   ├── gate_logger.go
    │   ├── healthcheck
    │   │   ├── healthcheck.go
    │   │   ├── healtycheck_test.go
    │   │   └── mongoChecker.go
    │   ├── instrument.go
    │   ├── recovery.go
    │   └── shutdown.go
    ├── errors
    │   ├── error.go
    │   ├── error_definition.go
    │   ├── errors.go
    │   └── statusCode.go
    ├── httpclient
    │   └── client.go
    ├── log
    │   └── logrus.go
    ├── mongoextentions
    │   ├── errors.go
    │   ├── mongo.go
    │   └── mongo_test.go
    └── utils
        └── mytime.go

build

$ git clone https://github.com/alperhankendi/devnot-workshop.git
$ git checkout api-final
$ cd devnot-workshop
$ make build
$ ./devnot-workshop
Application is starting. Version:Devnote workshop application

Usage:
  devnot-workshop [flags]
  devnot-workshop [command]

Available Commands:
  command     Command Service
  help        Help about any command
  query       Query Service

Flags:
  -c, --conn string     database connection string (default "mongodb://root:[email protected]:27017")
  -d, --dbname string   database name (default "imdb")
  -h, --help            help for devnot-workshop
  -p, --port string     Service Port (default "5001")

Use "devnot-workshop [command] --help" for more information about a command.
setup stuff
$ make dev-env-stop
docker stop demo-mongo demo-mongo-express
demo-mongo
demo-mongo-express

$ make dev-env-start
docker run --rm --name demo-mongo \
                -e MONGO_INITDB_ROOT_USERNAME=root -e  MONGO_INITDB_ROOT_PASSWORD=example -d \
                -p 27017:27017 mongo
f91e89e3432a21de34ae153a96d5a7f4b7bcbc2be7d38c8c8b354fcf7fbe8baf
docker run --rm --name demo-mongo-express \
                -e ME_CONFIG_MONGODB_SERVER=172.17.0.2 -e ME_CONFIG_MONGODB_PORT=27017 \
                -e ME_CONFIG_MONGODB_ADMINUSERNAME=root -e ME_CONFIG_MONGODB_ADMINPASSWORD=example -d \
                -p 8081:8081 mongo-express
d855275e34f666b46ad597c9471d9f9df39822a4e450549bd85fc199468dce23
 
run services

Command Service

./devnot-workshop api command -p 5001 -c mongodb://root:[email protected]:27017 -d imdb

Query Service

./devnot-workshop api query -p 5000 -c mongodb://root:[email protected]:27017 -d imdb

tests

post some data

k6 run --duration 60s --vus 150 load-post.js 

get some data

k6 run --duration 60s --vus 150 load-get.js -e ID=7lf1ly4khsnhzfqsntec

running (1m00.1s), 000/150 VUs, 3126018 complete and 0 interrupted iterations
default ✓ [======================================] 150 VUs  1m0s
    ✗ status is 200
     ↳  99% — ✓ 3125731 / ✗ 287
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].