Кстати вот вам еще утренний лонгрид от Filip Hracek, разраба в Google на тему Веб Фреймворков - https://medium.freecodecamp.com/how-google-builds-a-web-framework-5eeddd691dea#.ad3k3figr
freeCodeCamp
How Google builds web frameworks
It’s public knowledge that Google uses a single repository to share code — all 2 billion lines of it — and that it uses the trunk-based…
Как Evernote перенесли 3 петабайта данных из собственного ДЦ в GCP (Google Cloud Platform)
Статья интересна по многим причинам, например как именно удалось инженерам Evernote за всего 70 дней перенести:
- 300,000 Evernote пользователей
- front end web service которые живут на Tomcat
- все БД которые живут на MySQL
https://blog.evernote.com/tech/2017/02/08/part-1-evernote-service-options-migrate-google-cloud-platform-gcp/
СТАТЬЯ №1
Статья интересна по многим причинам, например как именно удалось инженерам Evernote за всего 70 дней перенести:
- 300,000 Evernote пользователей
- front end web service которые живут на Tomcat
- все БД которые живут на MySQL
https://blog.evernote.com/tech/2017/02/08/part-1-evernote-service-options-migrate-google-cloud-platform-gcp/
СТАТЬЯ №1
Evernote Tech Blog
Part 1 – The Evernote Service and our options to migrate to Google Cloud Platform (GCP)
Part 1 of the deep dive on our cloud migration
Как Evernote защищают клиентские данные в GCP
https://blog.evernote.com/tech/2017/02/08/part-2-protecting-customer-data-gcp/
СТАТЬЯ №2
https://blog.evernote.com/tech/2017/02/08/part-2-protecting-customer-data-gcp/
СТАТЬЯ №2
Evernote Tech Blog
Part 2 – Protecting Customer Data on GCP
Part 2 of the deep dive on our cloud migration
Все привет, спешу поделиться с вами Production Ready конфигом для веб сервера Nginx. Именно такая конфигурация используется мной на сайте где ежемесечная посесещаемость более 7 000 000 юников.
# nginx file configured for Optimized Performance
# proudly by DevOps 90min ¯\_(ツ)_/¯
user nginx nginx;
# auto - nginx will detect number of cpu and make ideal number of workers
worker_processes auto;
# # [ debug | info | notice | warn | error | crit | alert | emerg ]
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
# Changes the limit on the maximum number of open files (RLIMIT_NOFILE) for worker processes.
# Used to increase the limit without restarting the main process.
worker_rlimit_nofile 8192;
# use epoll - is a scalable I/O event notification mechanism to trigger on events and make sure that I/O is utilized to the best of its ability.
# multi_accept in order for a worker to accept all new connections at one time.
events {
worker_connections 66536;
use epoll;
multi_accept on;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
# sendfile - optimizes serving static files from the file system, like logos.
sendfile on;
# tcp_nopush - optimizes the amount of data sent down the wire at once by activating the TCP_CORK
# option within the TCP stack. TCP_CORK blocks the data until the packet reaches the MSS,
# which is equal to the MTU minus the 40 or 60 bytes of the IP header.
tcp_nopush on;
# tcp_nodelay - allows nginx to make TCP send multiple buffers as individual packets.
tcp_nodelay on;
# keepalive_timeout and keepalive_requests control the keep alive settings.
keepalive_timeout 65;
keepalive_requests 100000;
# server_names_hash_max_size - Sets the maximum size of the server names hash tables.
server_names_hash_max_size 512;
# client_header_timeout - sends directives for the time a server will wait for a header body to be sent.
client_header_timeout 3m;
# client_body_timeout - sends directives for the time a server will wait for a body to be sent.
client_body_timeout 3m;
# send_timeout - specifies the response timeout to the client.
send_timeout 3m;
# client_header_buffer_size - handles the client header size.
client_header_buffer_size 1k;
# client_max_body_size - sets the max body buffer size.
client_max_body_size 10m;
# client_body_buffer_size - handles the client buffer size.
client_body_buffer_size 128k;
# large_client_header_buffers - shows the maximum number and size of buffers for large client headers.
large_client_header_buffers 4 4k;
# output_buffers - sets the number and size of the buffers used for reading a response from a disk.
output_buffers 1 32k;
# postpone_output - client data will be postponed until nginx has at least size bytes of data to send.
postpone_output 1460;
# gzip compression
gzip on;
gzip_disable "MSIE [1-6]\.";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length 1000;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon;
include /etc/nginx/conf.d/*.conf;
}
Google первыми стали предлагать облачные сервера на базе новейших Intel Xeon процессоров под кодовым названием Skylake.
https://cloudplatform.googleblog.com/2017/02/Google-Cloud-Platform-is-the-first-cloud-provider-to-offer-Intel-Skylake.html
https://cloudplatform.googleblog.com/2017/02/Google-Cloud-Platform-is-the-first-cloud-provider-to-offer-Intel-Skylake.html
Google Cloud Platform Blog
Google Cloud Platform is the first cloud provider to offer Intel Skylake
By Urs Hölzle, Senior Vice President, Google Cloud Infrastructure I’m excited to announce that Google Cloud Platform (GCP) is the first ...
Вышло четвертое издание книги Learn Python the Hard Way - https://learnpythonthehardway.org/python3/
Сервис Cloudflare должен защищать сайты. Но он месяцами сливал данные пользователей в открытый доступ Среди клиентов сервиса — Uber, 1Password и «Авито»
- заголовок желтый, но юзввимость интересная.
https://meduza.io/feature/2017/02/24/servis-cloudflare-dolzhen-zaschischat-sayty-no-on-mesyatsami-slival-dannye-polzovateley-v-otkrytyy-dostup
- заголовок желтый, но юзввимость интересная.
https://meduza.io/feature/2017/02/24/servis-cloudflare-dolzhen-zaschischat-sayty-no-on-mesyatsami-slival-dannye-polzovateley-v-otkrytyy-dostup
Meduza
Сервис Cloudflare должен защищать сайты. Но он месяцами сливал данные пользователей в открытый доступ
23 февраля крупнейшая сеть доставки контента Cloudflare объявила о выявлении серьезной уязвимости. Как оказалось, сервис, который должен защищать сайты, передавал информацию о пользователях в открытом виде, и ее мог получить любой, кто знал об уязвимости.…
тут подробнее с технической точки зрения - https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
Если вдруг кто пропустил (как и я) вышел Git 2.12.0 - http://www.opennet.ru/opennews/art.shtml?num=46105
www.opennet.ru
OpenNews: Выпуск распределенной системы управления исходными текстами Git 2.12.0
24.02 был представлен Бета-выпуск Ubuntu 17.04. Выглядит сочно!
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2017-February/001203.html
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2017-February/001203.html
Из нового:
* GNOME 3.24
* Ubuntu Budgie
* Ubuntu Studio
* Xubuntu
* Kubuntu (KDE Plasma 5.9)
* Ubuntu MATE 1.16
* Ядро обновлено до 4.9
* LibreOffice до версии 5.3
* Добавлен systemd-resolved по умолчанию
* GNOME 3.24
* Ubuntu Budgie
* Ubuntu Studio
* Xubuntu
* Kubuntu (KDE Plasma 5.9)
* Ubuntu MATE 1.16
* Ядро обновлено до 4.9
* LibreOffice до версии 5.3
* Добавлен systemd-resolved по умолчанию
Интересный концепт, идея и реализация:
netcode.io is a simple protocol for creating secure client/server connections over UDP.
It has the following features:
- Connection oriented
- Encrypts and sign packets
- All packets are delivered over UDP
- Only authenticated clients can connect to dedicated servers
https://github.com/networkprotocol/netcode.io
netcode.io is a simple protocol for creating secure client/server connections over UDP.
It has the following features:
- Connection oriented
- Encrypts and sign packets
- All packets are delivered over UDP
- Only authenticated clients can connect to dedicated servers
https://github.com/networkprotocol/netcode.io
Опубликованы Linux From Scratch 8.0 и Beyond Linux From Scratch 8.0
Linux From Scratch -
http://www.linuxfromscratch.org/lfs/view/8.0/
Beyond Linux From Scratch -
http://www.linuxfromscratch.org/blfs/view/8.0/
Linux From Scratch -
http://www.linuxfromscratch.org/lfs/view/8.0/
Beyond Linux From Scratch -
http://www.linuxfromscratch.org/blfs/view/8.0/
www.linuxfromscratch.org
Beyond Linux From Scratch
This book follows on from the Linux From Scratch book. It introduces and guides the reader through additions to the system including networking, graphical interfaces, sound support, and printer and scanner support.