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