See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
๐ Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
๐ Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
์ต๊ทผ ๊ฐ์์ค๋ฝ๊ฒ ์ง์ฅ์ ์ฌ์งํ๊ณ ์ด์ ๋ ๋ฌด์์ ํด์ผ ํ ์ง ์๊ฐ์ ๊ฐ๊ณ ๊ณ ๋ฏผ์ ํด์ผ์ง... ํ๋ค๊ฐ ๊ทธ๋์ ์ ์ ์์ด ์ด๋ค๋ณด๋ ํ๋กํ์ ์ด๋ค๊ฑฐ๋ ๊ฒฝ๋ ฅ์ ์ ๋ฆฌํด ๋ณผ ์๊ฐ์ ๋ณ๋ก ํ์ง ์์๊ตฌ๋ ์ถ์ ์๊ฐ์ด ๋ค์ด์ ์ ์ ํ๋กํ๊ณผ ํจ๊ป ์ ์๊ฐ๋ค, ์คํํธ์ CTO๋ฅผ ํ๋ฉด์ ์๊ฒ๋ ํน์ ํ์ํ ๊ธฐ์ ์ ๋ณด๋ค, ๊ทธ๋ฆฌ๊ณ ๊ฐ์ธ์ ์ธ ํ๋กํ์ ์ ๋ฆฌํ์ต๋๋ค.
์ค๋(2018๋ 6์ 29์ผ) ํ์ฌ ์์ง ๋๋ ทํ ๊ณํ์ด ์์ด์ ํ๋กํ ๋ฌธ์์ ๋ช ํํ ๋ชฉํ๋ฅผ ๋ง๋ค๊ธฐ๋ ์ด๋ ต์ง๋ง ๊ฐ์กฑ์ด ์๊ณ ๊ณต๋ถํ๋ ์์ด๋ค์ด ์์ด์ ๋์ ๋ฒ๋ ์ผ์ด ์ฐ์ ์ ๋ชฉ์ ์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค. ๋น์ฅ์ ์ทจ์ ์ ๋ชฉ์ ๋ณด๋ค๋ ์ธ์ฃผ๊ฐ๋ฐ ์ชฝ์ด ์ฌ์ด ์ ๊ทผ์ธ๊ฒ ๊ฐ์์ ์ ๊ฐ ํ ์ ์๋ ์ผ, ํ๋ ์ผ, ๊ทธ๋ฆฌ๊ณ ์๊ณ ์๋ ๊ฒ๋ค์ ์ ๋ฆฌํด ๋ดค์ต๋๋ค.
์งง์ ๊ธ์ ๋ง์ ๊ฒ์ ๋ด๊ธฐ๋ ์ด๋ ต์ต๋๋ค๋ง ์ ์ ๋ํ ์ ๋ณด ๊ทธ๋ฆฌ๊ณ ์ ๊ฐ ์๊ณ ์๊ณ ํด์๋ ์ผ์ ๋ํ ๊ธฐ๋ก์ด ๋ ์์๊ฒ ๋์์ด ๋์์ผ๋ฉด ์ข๊ฒ ์ต๋๋ค. ํน์ ๊ธ์ ๋ณด์๋ ๋ถ ์ค์ ์ธ์ฃผ ๊ฐ๋ฐ์ ๋งก๊ธฐ๊ธฐ๋ฅผ ์ํ์๊ฑฐ๋ ์คํํธ์ ๊ธฐ์ ๊ฐ๋ฐ ๊ด๋ จ ์ปจ์คํ ์ด ํ์ํ์ ๋ถ์ ์ฐ๋ฝ ์ฃผ์ธ์. ์, ๋ฌผ๋ก ์ข์ ํ์ฌ๊ฐ ์๋ค๋ฉด ์ธ์ ๋ ๋ง๋๋ณผ ์ฉ์๊ฐ ์์ต๋๋ค. ์๋ ์ด๋ฉ์ผ ํน์ ํ์ด์ค๋ถ์ ์น๊ตฌ ์ ์ฒญ์ ํ์๊ณ ๋ฉ์์ง๋ฅผ ๋ณด๋ด ์ฃผ์๋ฉด ๋ฉ๋๋ค.
import Alamofire | |
import Gzip // using https://github.com/1024jp/GzipSwift | |
public struct GZIPEncoding: ParameterEncoding { | |
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest { | |
var request = try urlRequest.asURLRequest() | |
guard let parameters = parameters else { return request } |
/** A fragment shader to convert NV12 to RGB. | |
* Input textures Y - is a block of size w*h. | |
* texture UV is of size w*h/2. | |
* Remember, both U and V are individually of size w/2*h/2, but they are interleaved. | |
* The layout looks like this : | |
* ---------- | |
* | | | |
* | Y | size = w*h | |
* | | | |
* |________| |
// | |
// JWScrollStateMachine.swift | |
// JWThumbnailsNavigation | |
// | |
// Created by Jongwon Woo on 26/03/2017. | |
// Copyright ยฉ 2017 CocoaPods. All rights reserved. | |
// | |
import UIKit |
์ต๊ทผ ์ธ๊ณต์ง๋ฅ์ ํ์ฉํ ์ฑ๋ด์ ๋ํ ๊ด์ฌ์ด ๋์์ง๊ณ ์์ต๋๋ค. ์ฑ๋ด ์ค๊ณ์ ๊ดํ ์ข์ ๊ธ์ด ์์ด ๋ฒ์ญ์ ํด๋ณด์์ต๋๋ค. ์ด ๊ธ์ IBM DeveloperWorks์ ๊ธฐ์ฌ๋ Michael Yuan์ ๊ธ์ ๋ฒ์ญํ ๊ฒ์ผ๋ก ์์ญ์ด ์์ต๋๋ค. - ๊น์ ์ฃผ([email protected])
์ฌ์ฉ์๋ ์ฑ๋ด์ด ๋งค์ฐ ๊ฐ๋จํ๊ณ ์ต์ํ์ ์๊ตฌ๋ง ํ๊ธฐ์ ์ข์ํฉ๋๋ค. ๊ทธ๊ฒ์ ๋ํ์ ๋ฌธ์ ๋ฉ์์ง์ฒ๋ผ ๊ฐ๋จํด์ง ์ ์์ต๋๋ค. ๋ํ, ์ฌ์ฉ์๋ ์์ ์ด ์ ํธํ๋ ๋ฉ์์ง ์ฑ์ ๊ณ์ ๋จธ๋ฌผ๊ธฐ๋ฅผ ์ ํธํฉ๋๋ค. ์ฑ, ์น URL, ๋ฉ๋ด, ๋ฒํผ, ๊ด๊ณ , ํฌ๋กฌ ๋ฐ ๊ธฐํ ์์๋ฅผ ํ์ํ์ง ์๊ณ ๋ฐ๋ก ๋ชฉํ๋ฅผ ๋ฌ์ฑํ๊ณ ์ ํฉ๋๋ค. ๊ทธ๋ฌ๋ ์ด ๋จ์์ฑ์ ํฐ ์ค๊ณ ๊ณผ์ ๋ ์ ์ํฉ๋๋ค. ์ฑ๋ด์ ์ฌ์ฉ์์ ๋ง์ ์ ํํ๊ฒ ์ดํดํ๊ณ ์ ์ ํ ํ๋ํด์ผ ํฉ๋๋ค. ์ด๊ฒ์ ์ค๋๋ ์ต๊ณ ์ ์์ฐ์ด AI (์ธ๊ณต ์ง๋ฅ)์๊ฒ๋ ๋งค์ฐ ์ด๋ ค์ด ๊ณผ์ ์ ๋๋ค.
ํ์ฌ ์ํ์ AI์์๋, ๋ํ์ ๋ฌธ์ ๋ฉ์์ง ๋๋ ๋ํ์(Conversational) UI, ์ฆ CUI๋ (์ํ๊น๊ฒ๋) ๊ฑฐ์ ํญ์ ์ ์ค๊ณ๋ ๊ทธ๋ํฝ UI(GUI)๋ณด๋ค ์ด๋ฑํฉ๋๋ค. GUI์ ๋น๊ตํ์ฌ CUI๋ ์ด๊ธฐ ๋จ๊ณ์ ์์ต๋๋ค. ์ปค๋ฎค๋ํฐ๋ก์ ์ฐ๋ฆฌ๋ ์ฌ์ ํ CUI์ ๋์์ธ ํจํด๊ณผ ์ฐ์ ์ฌ๋ก๋ฅผ ๋ชจ์ํ๊ณ ์์ต๋๋ค. ์ด ํํ ๋ฆฌ์ผ์์๋ ์ฑ๋ด์ด ์ ์คํจํ๊ณ ์ฑ๊ณตํ ์ ์๋์ง ์ค๋ช ํฉ๋๋ค.
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
AWS์์ docker๋ฅผ ์ธ ๋ high traffic server๋ผ๋ฉด ์ด๋ ๊ฒ ํ๋ ๊ฒ์ด ์ข๊ฒ ๋ค. amazon linux๋ฅผ ์ด๋ค๊ณ ํ์.
ulimit๋ฅผ ์ฌ๋ ค์ฃผ์ด์ผ ํ๋ค. /etc/security/limit.conf ์์ ๊ณ ์ณ์ฃผ์ด๋ docker์๋ ์ ์ฉ๋์ง ์๋๋ค.
limit.conf๋ PAM์ ํตํด์ ๋ก๊ทธ์ธํ์ ๋๋ง ๋จน๋ ์ค์ ์ด๋ผ ๊ทธ๋ ๋ค.
docker๋ก ๋์ด process์ pid๋ฅผ ์ฐพ๊ณ cat /proc/<pid>/limits
๋ฅผ ์คํํด์ ๋ณด๋ฉด ์ ์ฉ๋์๋์ง ์๋์ง ํ์คํ๊ฒ ์ ์ ์๋ค.
kernel์์ ์ง์ ๊ทธ ํ๋ก์ธ์ค์ ์ด๋ค ulimit์ด ์ ์ฉ๋์๋์ง ํ์ธํ๋ ๋ฐฉ๋ฒ์ด๋ค.
๊ทธ๋์ /etc/sysconfig/docker ํ์ผ์ ๋ง๋ค๊ณ ์๋๋ฅผ ์ถ๊ฐํ๋ค.
Lifecycle: | Update: | |
Mounting and Unmounting | New Props or State | |
--------------------------------+----------------------------------- | |
| | |
getDefaultProps() | componentWillReceiveProps()* | |
| | |
getInitialState() | shouldComponentUpdate() | |
| | |
componentWillMount() | componentWillUpdate() | |
| |
require('font-awesome/css/font-awesome.css'); | |
document.body.innerHTML = '<i class="fa fa-fw fa-question"></i>'; |