Skip to content

Instantly share code, notes, and snippets.

View rabelais88's full-sized avatar
🧊
diving in 3d

Park Sungryeol rabelais88

🧊
diving in 3d
View GitHub Profile
@rabelais88
rabelais88 / DEVIEW2019-review.md
Created November 10, 2019 05:17
네이버 DEVIEW 2019 후기

naver DEVIEW 2019 후기

곽철용 짤만 4번은 봄...

1. Multi Tenancy on baremetal k8s

  • Multi-Tenancy: 싱글 클러스터 도는 머신에서 에서 여러개의 네임스페이스를 이용하여 자원을 유동적으로 공유하는 방식.
  • Bare-metal: GCP나 AKS처럼 별도의 전용 가상화/오케스트레이션 서비스를 사용하지 않고 직접 서버에 구현하는 방식.
  • 하나의 머신/클러스터 안에서 여러 서비스를 돌리다보니 특정 서비스에서 자원이 남을 경우 다른 서비스로 자원을 재분배할 수 있음. 스케일 업/다운이 쉽다는 것. → 공개할 Docker-swarm이 오히려 여기에 적합할 수 있음.
@rabelais88
rabelais88 / aws-basics.md
Last active September 16, 2019 19:33
amazon aws basics

aws basics

Terminology

  • Elastic Beanstalk: Load Balancer + Orchestrator
  • EC2(Elastic Container): Linux Container
  • RDS: Relational Database(Postgres, MySQL...)
  • ElastiCache: Cache Database(Redis...)
  • VPC: regional cloud group with subnet(datacenter model)
  • S3: file clouds
  • IAM: Identity + Authorization manager

Structure

@rabelais88
rabelais88 / typecheck.md
Last active August 14, 2019 03:32
Typecheck in Javascript without Typescript Compilation

Typecheck in Javascript without Typescript Compilation

For anyone who wants eslint typecheck without actually using typescript, read this. I've been using this on my project to track any complicated data structure and it's been working perfectly. It supports both autocompletion and type lint. and it compiles without any performance drop as it doesn't affect the actual compilation. you don't need a complicated setup, just put *.d.ts file on your work directory.

the only downside of this, is that type conversion is awkward in this method.(the type conversion still does work though) I think the community should invent newer style of JSDOC and IDEs should support it: something similar to above(typescript + JSDOC) and leaner.

action.types.d.ts