You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
How we migrated application servers from Unicorn to Puma It's been a long journey but with the release of GitLab 13.0 Puma is our default application server. Here's what we did and learned along the way. Itâs been years in the making, but our journey to migrate our application servers from Unicorn to Puma is complete. With the Gitlab 12.9 release Puma was running on GitLab.com and now with 13.0 it
Rubyã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®ã¨ã³ã·ã¹ãã ã¯ãUnicornãPumaãPassenger 5 ã®3ã¤ãä¸å¿ã«åºæ¥ä¸ãã£ã¦ãã¾ããRubyã«ããã¦ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã解決ããªããã°ãªããªãå ·ä½çãªåé¡ã¯ãªãã§ãããããã©ã®ããã«ãã¦æé©ãªã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãé¸æããã°ããã§ããããã2019å¹´ã«ã¯ãããã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®ãã¼ãºã¯ããã§ããããã ãã®è¨äºã§ã¯ããå ¨ã¦ãåãä¸ããRubyã®ä¸»è¦ãªã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãæ¯è¼ãã¦ããã¾ãã How important is an app server's raw speed? ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãã®ãã®ã®é度ãã¢ããªã±ã¼ã·ã§ã³ã®é度ã«å¯¾ãã¦å¤ãã®è¦å ã¨ãªããã¨ã¯ã»ã¨ãã©ããã¾ãããã¢ããªã±ã¼ã·ã§ã³ã³ã¼ãããã¼ã¿ãã¼ã¹ã®ã¯ã¨ãªãHTTPã³ã¼ã«ã®Rubyã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã¨ã®éã®å¿çé度ãããã¤ã¯ãç§ãªã
UPDATE: You can watch a video of me giving this talk at Gophercon 2019:
Rubyãæ¸ãã¦ããã¨ããµã¼ããæ¸ããããªããã¨ãããã¾ããçãããããã ã¨æãã¾ãã ã¨ãããã¨ã§ä»æ¥ã¯Rubyã§ã¹ãã¨ãµã¼ããæ¸ãããã®gemãserverengineã®ç°¡åãªä½¿ãæ¹ã¡ã¢ã github.com Rubyã§ãµã¼ããæ¸ããããªã£ãæ ããããçã«ãRubyã§ãã ãµã¼ããæ¸ãã®ã¯é常ã«ç°¡åã§ãããå ·ä½çã«ã¯ Kernel#loop ãªã©ãåãã¦ãã®ä¸ã§ãªã¯ã¨ã¹ããå¾ ã£ãããä½ãããå¦çãè¡ãã°çµãããç¹å¥ãªgemã¯å¿ è¦ãªãããTCPãæ±ãã¯ã©ã¹ãªã©ãçµã¿è¾¼ã¿ã§ç¨æããã¦ããã 以ä¸ã®ãããª9è¡ã®ã¹ã¯ãªãããèµ·åããã°ããµã¼ããæ¸ããã¨è¨ãããã¨ãã㧠TCPServer#accept_nonblockã§ãªãã¨ãacceptã§ãããã¯ãã¦ãã¾ã£ã¦çµäºå¦çãé ãããããã®ã§ãã³ããããã³ã°ã®æ¹ã®APIã好ãã§ä½¿ãã®ãããã ããã require 'socket' server
I've recently moved the site you're reading right now from a Sinatra/Ruby application to an (almost) static site served by Go. So while it's fresh in my head, here's an explanation of principles behind creating and serving static sites with Go. Let's begin with a simple but real-world example: serving vanilla HTML and CSS files from a particular location on disk. Start by creating a directory to h
What is Perfect? Perfect is a web server and toolkit for developers using the Swift programming language to build applications and other REST services. It lets developers build using only Swift to program both the client-facing and server-side of their projects. Itâs the ideal backbone for cloud and mobile technologies. Developers can be more productive and efficient using Perfect to write less co
ã¯ããã« CentOS 6ä¸ã§epelããyumã§ã¤ã³ã¹ãã¼ã«ã§ããApache Traffic Server v5.3.0ã試ãã¦ã¿ã¾ãã (*1)ãAnsibleã®ãã¬ã¼ããã¯ã https://github.com/hnakamur/trafficserver-ansible-playbook ã«ç½®ãã¦ãã¾ããè¨äºå·çæç¹ã®ãã¼ã¸ã§ã³ã¯ https://github.com/hnakamur/trafficserver-ansible-playbook/tree/8efa6790d29bd8e62e488ceb7486a435e327d795 ã§ãã *1: å½åepelããyumã§trafficserverãã¤ã³ã¹ãã¼ã«ãã¦ããã®ã§ãããCache Inspectorãè¤æ°ã®URLãåå²ããå¦çã«ãã°ï¼å¾è¿°ãã¾ãï¼ããã£ãããã ä¿®æ£çãCoprä¸ã®hnakamur/apache-
æ¦è¦ èªç¤¾ãµã¼ãã¹ã®éçºä¸ãå¿ è¦ã«ãããã¦GOã§ç°¡åãªãªãã¼ã¹ãããã·ãã¼ã«ãä½ã£ã話ãæ¸ãã¦ã¿ã¾ãã åæ èªç¤¾ãµã¼ãã¹ã®éçºãã次ã®ãããªæ§æã§é²ãã¦ãã¾ãã ããã³ãã¨ã³ãã¨ããã¯ã¨ã³ãï¼APIãªã©ï¼ããã¹ã§æ¯ãåã /ã®ä¸ã¯ããã³ãã¨ã³ã /api/ã®ä¸ã¯API ãã®ä»ã«ãè²ã ã»ã»ã» ããã³ãã¨ã³ãã¨ããã¯ã¨ã³ãã¯ãæ å½è ããªãã¸ããªããåãã¦ãããµã¼ããå¥ ãããããµã¼ããéçºç°å¢ãæ¬çªç°å¢ã¨ãã¹ãç°å¢ãã®ããã«è¤æ°ã®ç°å¢ããã£ã¦ãã ããããã㨠åæã®ç°å¢ããã£ã¦ãããéçºããããã¨ãã¼ã«ã«ç°å¢ãæ§ç¯ããã¨ãªãã°ã ãã¼ã«ã«ã«nginxã§ãªãã¼ã¹ãããã·ãç«ã¦ã¦ç®¡çããã®ã¯é¢åããã ã¡ãã£ã¨ããç°å¢ã®å¤æ´ãããã¨å ±æããã¡ãã¡é¢åããã ããã³ãã¨ã³ãæ å½è ãããããããã¯ã¨ã³ããcloneã ã®pullã ã®é¢åããã ç°å¢éã§ãã¹ãããããã«ããããnginxã®è¨å®æ¸ãæã
å°ãåã«Starletã«Graceful Restartãæãã¾ä¸æãåããªãåé¡ãä¿®æ£ããpullreqãæãã¾ããã åå ã¯å²ãè¾¼ã¿ãã³ãã©å ã§exitãå¼ãã§ããããã§ããã ãå²ãè¾¼ã¿ãã³ãã©å ã§ã¯ãã©ã°ã建ã¦ãã ãã ãã¡ã¤ã³ã®ããã°ã©ã å ã§ãã®ãã©ã°ãè¦ã¦åå²ãããã¨ããååãããã®ã§ããããããå®ãã®ã¯é£ããã¨ãããã¨ã§ããã (ãããæ°ããªåé¡ãç£ãã§ãã¾ãrevertããã¦ãã¾ãã¾ãããã»ã»ã» ã¾ãä¿®æ£å¾ã®ã³ã¼ããèãæ¹ã¯ä¸ç·ã§ããå²ãè¾¼ã¿ãã³ãé£ããã»ã»ã») ãã®pullreqãåãè¾¼ãã§ãããã¨ãã«åç¾å®é¨ããã£ã¦ã¿ãã®ã§ããã Goã§ãã¡ããã¨åãã®ããªï¼ã¨æ°ã«ãªã£ãã®ã§ Goè¨èªã§Graceful Restartãããã§ç´¹ä»ãã ããã°ã©ã ã«åããã¹ãããã£ã¦ã¿ã¾ããã 2017-01-22追è¨: Go1.8以éã§Graceful Shutdownãbuild-i
Makefile p� �� � �� obj-m += tcp_svr_sample.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clea tcp_svr_sample.c @�� �� u �� #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/kthread.h> #include <linux/errno.h> #include <linux/types.h> #include <
What is it? Faye is a publish-subscribe messaging system based on the Bayeux protocol. It provides message servers for Node.js and Ruby, and clients for use on the server and in all major web browsers. Who uses it? 1. Start a server var http = require('http'), faye = require('faye'); var server = http.createServer(), bayeux = new faye.NodeAdapter({mount: '/'}); bayeux.attach(server); server.listen
1. Copyright (C) 2015 DeNA Co.,Ltd. All Rights Reserved. H2O making  HTTP  better DeNA  Co.,  Ltd. Kazuho  Oku 1 2. Copyright (C) 2015 DeNA Co.,Ltd. All Rights Reserved. â¾èªâ¼°å·±ç´¹ä» nï®â¯ 奥  â¼ä¸ç©ï¼æ ªå¼ä¼ç¤¾ãã£ã¼ã»ã¨ãã»ã¨ã¼  CTOå®¤ï¼ nï®â¯ ããã¾ã§ã®ä»äºï¼ â⯠Palmscape  /  Xiino â¢â¯ ä¸çåã®Palm  OS⽤ç¨æ¬æ ¼çã¦ã§ããã©ã¦ã¶ â⯠IPAæªè¸ã¹ã¼ãã¼ã¯ãªã¨ã¼ã¿ï¼Webã¢ããªéçºç°å¢ï¼ â⯠Q4M,  mycached  ç  MySQL  æ¡å¼µ â⯠picohttpparser,  Server::Starter,  Starlet,  ⦠â¢â¯ Perl  ã®Webã¢ã
å ææ«ã®è©±ã«ãªãã¾ãããSAPã¸ã£ãã³ãããä¼å ´ã«éå¬ããããã¼ã¿è»¢éããã«ã¦ã§ã¢åå¼·ä¼ã§ãç§ãä¸å¿ã«ãªã£ã¦éçºãã¦ããHTTPãµã¼ããH2Oãã«ã¤ãã¦è©±ãæ©ä¼ãããã ããç»å£ãã¦ãã¾ããã 以ä¸ã¯å½æ¥ä½¿ç¨ããã¹ã©ã¤ãã§ãããªãä»H2Oãéçºãã¦ããã®ãããã®èæ¯ã«ããç¾ç¶èªèã¨å°æ¥ã®æ¹éã«ã¤ãã¦ãæ¥æ¬èªã§èª¬æãã¦ããã®ã§ãèå³ããæ¹ã¯ã覧ãã ããã çºè¡¨ã®æ©ä¼ããã ãã£ã@repeatedlyããã¨@frsyukiãããä¼å ´ãæä¾ãã¦ãã ãã£ãSAPã¸ã£ãã³ããããããã¨ããããã¾ããã H2Oã®éçºã¯é 調ã«é²ãã§ãããHTTP/2ãµã¼ãããã·ã¥ã¸ã®å¯¾å¿ãå®äºããã¾ããªã次ã®ãã¼ã¸ã§ã³ããªãªã¼ã¹ã§ãããã¨æãã¾ããä»å¾ã¨ããããããé¡ããããã¾ãã
[Ann] Initial release of H2O, and why HTTPD performance will matter in 2015 Happy Holidays! Today I am delighted to announce the first release of H2O, version 0.9.0; this is a christmas gift from me. H2O is an optimized HTTP server with support for HTTP/1.x and the upcoming HTTP/2; it can be used either as a standalone server or a library. Built around PicoHTTPParser (a very efficient HTTP/1 parse
Live Upgrading Thousands of Servers from an Ancient Red Hat Distribution to 10 Year Newer Debian Based One Google maintains many servers and employs a file level sync method with applications running in a different partition than the base Linux distribution that boots the machine and interacts with hardware. This experience report first gives insights on how the distribution is setup, and then tac
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}