No Image

Using Free SSL/TLS Certificates from Let’s Encrypt for NGINX

2016-02-18 KENNETH 0

Using Free SSL/TLS Certificates from Let’s Encrypt for NGINX Let’s Encrypt is a new certificate authority (CA) offering free and automated SSL/TLS certificates. Certificates issued by Let’s Encrypt are trusted by most browsers in production today, including Internet Explorer on Windows Vista. Simply download and run the Let’s Encrypt client to generate a certificate (there are a few more steps than that, of course, though not many). Before issuing a certificate, Let’s Encrypt validates ownership of your domain. First, The Let’s Encrypt client running on your host creates a temporary file (a token) with the required information in it. The Let’s Encrypt validation server makes an HTTP request to retrieve the file and validates the token, which serves to verify that the DNS record for your domain resolves to the server running the Let’s Encrypt client. The Let’s Encrypt client does not yet officially support NGINX and NGINX Plus [ more… ]

No Image

Making GET_LOCK behavior more predictable cross version with query rewrite

2016-02-16 KENNETH 0

Making GET_LOCK behavior more predictable cross version with query rewrite MySQL has supported the GET_LOCK() function for a large part of its history. As the manual notes, GET_LOCK() can be used to implement application locks or to simulate record locks. Changes in MySQL 5.7 In MySQL 5.7 we improved GET_LOCK() to be based on our internal meta-data locking system (MDL).… Source: Making GET_LOCK behavior more predictable cross version with query rewrite

Maximizing Drupal 8 Performance with NGINX – Part II: Caching and Load Balancing

2016-02-16 KENNETH 0

Maximizing Drupal 8 Performance with NGINX – Part II: Caching and Load Balancing The following is adapted from a webinar hosted on January 20th, 2016 by Floyd Smith and Faisal Memon. This blog post is the second of two parts, and is focused on caching and using NGINX as a load balancer; the first part, focused on site architecture and configuring NGINX for Drupal 8, can be found here. Table of Contents 22:18 Introduction 23:20 Why Cache with NGINX? 24:26 Microcaching with NGINX 26:06 Configuring NGINX for Microcaching 28:00 Optimized Microcaching with NGINX 30:48 Cache Purging with NGINX Plus 32:00 Load Balancing with NGINX 35:23 Session Persistence with NGINX Plus 38:51 SSL Offloading with NGINX 40:57 HTTP/2 With NGINX 42:30 Summary 22:18 Introduction Faisal: Once you have a server running Drupal 8 and NGINX properly, you can start looking at [ more… ]

kakao의 오픈소스 Ep2 – MRTE(MySQL Realtime Traffic Emulator)

2016-02-16 KENNETH 0

kakao의 오픈소스 Ep2 – MRTE(MySQL Realtime Traffic Emulator) “카카오의 오픈소스를 소개합니다” 두번째는 matt.lee와 동료들이 개발한 MySQL Realtime Traffic Emulator(MRTE)입니다. MRTE는 실서비스용 MySQL 서버의 트래픽을 수집하는 MRTE-Collector와, 수집한 데이터를 테스트용 MySQL 서버에서 재현하는 MRTE-Player 두 개의 툴로 구성되어 있습니다. 카카오에서도 효율적인 MySQL 운영에 큰 도움이 되고 있는 유용한 소프트웨어입니다. 특히 MRTE-Collector는 Go로 작성되어 Go로 네트웍 프로그래밍을 하려는 개발자들에게 유용할 것입니다. MySQL 서버를 사용하면서, 가끔씩 실 서비스용 MySQL 서버(Production mysql server)로 유입되는 쿼리들을 똑같이 흉내낼 수 없을까 하는 생각들을 많이 했습니다. 실 서비스용 MySQL 서버에서는 MySQL 시스템 변수 하나도 조정해보기 어려운 경우가 많고, 때로는 업그레이드나 통합 또는 하드웨어 테스트를 하는 경우에는 이런 도구들이 절실했죠. 이를 위해서 MRTE (MySQL Real Traffic Emulator) 도구를 생각하기 시작했는데, 조금만 고민해보니 사실 이는 그다지 어려운 일이 아니었다. 여기에서는 MRTE에 대한 간략한 아키텍쳐와 사용법을 간단히 소개하도록 하겠습니다. MRTE는 크게 유저 트래픽을 수집하는 MRTE-Collector와 수집된 SQL을 재현하는 MRTE-Player로 구성되어 [ more… ]

AWS Lambda 함수에서 VPC내 자원 접근 기능 출시

2016-02-12 KENNETH 0

몇 달 전에 곧 AWS Lambda 함수에서 VPC내 자원을 접근할 수 있을 거라고 예고해 드렸습니다. 오늘 부터 이 기능을 사용하실 수 있습니다. Lambda 함수를 통해 Amazon Redshift 데이터웨어 하우스, Amazon ElastiCache 클러스터, Amazon Relational Database Service (RDS) 인스턴스 및 특정 VPC 내에서만 접근할 수 있는 서비스 엔드 포인트에 접근할 수 있습니다. 이를 위해 자신의 VPC를 하나 선택하고 적절한 서브넷과 보안 그룹을 지정하면 됩니다. Lambda 함수가 VPC 내의 리소스에 접근할 수 있도록 하기 위해 Lambda는 이러한 정보를 바탕으로 Elastic Network Interfaces (ENI)와 사설 IP 주소를 지정합니다. VPC내 리소스 접근하기 새로운 함수를 만들 때 설정하거나, VPC 접근을 위해 기존 함수를 업데이트 할 수 있습니다. Lambda 콘솔 또는 CLI에서 기능을 구성 할 수 있으며, 아래는 콘솔에서 설치 방법입니다. 위의 화면에 따라 설정하면 되며, 더 자세한 것은 Configuring a Lambda Function to Access Resources in an Amazon VPC의 문서를 참고하시기 바랍니다. 알아 두실 점 [ more… ]