Skip to content

Instantly share code, notes, and snippets.

@pwim
Created September 14, 2012 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwim/3720942 to your computer and use it in GitHub Desktop.
Save pwim/3720942 to your computer and use it in GitHub Desktop.
sapporo kaigi room 2 log
yokolet has joined (~yokolet@flets-b188.hbb.jp)
sorah has joined (~sorah@flets-b188.hbb.jp)
shyouhei
OK lets start
shyouhei
sqale is a PaaS
shyouhei
i'll talk about is core, backend
shyouhei
not that ruby related sorry :P
willnet has left IRC (Remote host closed the connection)
volpe_hd28v has joined (~volpe_hd2@flets-b188.hbb.jp)
agrimm has joined (~agrimm@flets-b188.hbb.jp)
shyouhei
Bのサブスクリーン近くて、Aとかなり雰囲気変わるねえ
drbrain has joined (~drbrain@flets-b188.hbb.jp)
shyouhei
I have 5 children
shyouhei
I ware YAPC t-shirt
shyouhei
architect of sqale
shyouhei
facebook page is fashon here so I created this page an hour ago
shyouhei
bit lower layer than ruby
shyouhei
if you would talk ruby-related
shyouhei
another session is good.
shyouhei
sqale is targeted for lighter users
itochan is now known as itochan_off
shyouhei
heroku people, please be tender
shyouhei
service at a glance
shyouhei
AWS, tokyo region
shyouhei
SSH router is what a developer would use
shyouhei
Web proxy is for end users.
shyouhei
lower ones are background
shyouhei
containers are virtual environments
shyouhei
where an application runs
shyouhei
I heard dotcloud also uses lxc
shyouhei
OSes.
shyouhei
all components run on Linux
shyouhei
this original patch is to handle something grsecurity cannot handle
shyouhei
very simple
shyouhei
cgroup = process group
shyouhei
ELB front, routes to nginx, then to containers.
shyouhei
use of nginx modules
shyouhei
redis serves which URL maps to which container
shyouhei
then nginx routes to that container
shyouhei
look at the code
shyouhei
lua code is in separate file (for simplicity)
yaotti has joined (~yaotti@flets-b188.hbb.jp)
shyouhei
this is where we extract random one container from the containers returned from redis.
shyouhei
this is conf to fail-over
shyouhei
it assigns downed_containers variale.
shyouhei
this is same as the normal path (avoid downed ones)
shyouhei
503 is returned only when no container is left
shyouhei
the bitly URL is a blog about it
shyouhei
SSH router overview
shyouhei
git access toutes to File repo, SFTP to another, ...
willnet has joined (~willnet@flets-b188.hbb.jp)
shyouhei
routing.
yaotti has left IRC (Ping timeout: 240 seconds)
shyouhei
AuthorizedKeysScript instead of AuthorisedKeysFile
shyouhei
the script returns a key
darashi
https://github.com/mizzy/openssh-script-auth
shyouhei
who to do routing
shyouhei
first ruby code in the slide!
shyouhei
simple match
shyouhei
when git access comes,
shyouhei
the script runs,
shyouhei
then it searches MySQL DB,
shyouhei
to know where to access.
shyouhei
the script returns a key line with command= modified.
shyouhei
simple.
shyouhei
this is a screenshot
shyouhei
of actual connection
shyouhei
it's hard to talk deeply
shyouhei
I have to return to tokyo because I'm a student
shyouhei
I take a class there.
shyouhei
so please ask me now if you have questions.
shyouhei
Q. nginx fallback
shyouhei
how do you watch container health?
shyouhei
A. we do not now.
shyouhei
we would like to.
shyouhei
Thank you.
shyouhei
==== Next 5:15 ====
kbaba1001 has left IRC (Remote host closed the connection)
makimoto has left IRC (Remote host closed the connection)
kbaba1001 has joined (~kbaba1001@flets-b188.hbb.jp)
atgw has left IRC (Ping timeout: 240 seconds)
willnet has left IRC (Remote host closed the connection)
agrimm has left IRC (Quit: agrimm)
shuji_w6e has left IRC (Remote host closed the connection)
yokolet has left IRC (Remote host closed the connection)
itochan_off is now known as itochan
igaiga has left IRC (Remote host closed the connection)
ryopeko has left IRC (Remote host closed the connection)
willnet has joined (~willnet@flets-b188.hbb.jp)
shuji_w6e has joined (~shuji_w6e@flets-b188.hbb.jp)
volpe_hd28v has left IRC (Remote host closed the connection)
willnet has left IRC (Remote host closed the connection)
miio has left IRC (Remote host closed the connection)
sorah has left IRC (Remote host closed the connection)
willnet has joined (~willnet@flets-b188.hbb.jp)
kbaba1001 has left IRC (Ping timeout: 240 seconds)
volpe_hd28v has joined (~volpe_hd2@flets-b188.hbb.jp)
znz_ has left IRC (Read error: Connection reset by peer)
smcchoi has left IRC (Remote host closed the connection)
sorah has joined (~sorah@flets-b188.hbb.jp)
drbrain has left IRC (Ping timeout: 240 seconds)
skuroki has left IRC (Ping timeout: 240 seconds)
sorah has left IRC (Remote host closed the connection)
niku has left IRC (Remote host closed the connection)
shuji_w6e has left IRC (Ping timeout: 240 seconds)
znz_ has joined (~znz_@flets-b188.hbb.jp)
drbrain has joined (~drbrain@flets-b188.hbb.jp)
mohya has left IRC (Remote host closed the connection)
ryopeko has joined (~ryopeko@flets-b188.hbb.jp)
rgravina has joined (~rgravina@flets-b188.hbb.jp)
yokolet has joined (~yokolet@flets-b188.hbb.jp)
yokolet has left IRC (Remote host closed the connection)
mohya has joined (~mohya@flets-b188.hbb.jp)
shuji_w6e has joined (~shuji_w6e@flets-b188.hbb.jp)
smcchoi has joined (~smcchoi@flets-b188.hbb.jp)
miio has joined (~miio@flets-b188.hbb.jp)
okkez_ has left IRC (Ping timeout: 240 seconds)
sorah has joined (~sorah@flets-b188.hbb.jp)
volpe_hd28v has left IRC (Read error: Connection reset by peer)
pwim has left ()
You have left the channel
You have joined the channel
pwim has joined (~pwim@flets-b188.hbb.jp)
Mode: +nt
Created at: Sep 12, 2012 1:08 PM
pwim
Hello
yaotti has joined (~yaotti@flets-b188.hbb.jp)
rgravina has left IRC (Quit: rgravina)
yokolet has joined (~yokolet@flets-b188.hbb.jp)
volpe_hd28v has joined (~volpe_hd2@flets-b188.hbb.jp)
pwim
Welcome
pwim
I will talk about writing iphone apps using ruby
pwim
with a new framework
pwim
my nickname is masuidrive
pwim
my hobby is OSS
h_hiro_ has joined (~h_hiro_@flets-b188.hbb.jp)
pwim
I made a movie about using rails
niku has joined (~niku@flets-b188.hbb.jp)
agrimm_ has joined (~agrimm@flets-b188.hbb.jp)
pwim
I write code in the bath
pwim
who has downloaded?
pwim
no one
moro has left IRC (Ping timeout: 240 seconds)
pwim
i released this week
pwim
using mruby
pwim
we can use native features directly
pwim
such as 3d
pwim
I released a demo app to the app store
pwim
this is my iphone
pwim
the framerate is a bit slow
pwim
but I released this game
itochan is now known as itochan_off
pwim
if you have interest in it, search for mobi ruby
pwim
there is a memory leak
pwim
i didn't have time to fix it
pwim
who has made an iphone app?
pwim
android?
drbrain has left IRC (Ping timeout: 240 seconds)
drbrain has joined (~drbrain@flets-b188.hbb.jp)
pwim
with AR, you can query DB even if you don't know SQL so well
suzuki has joined (~suzuki@flets-b188.hbb.jp)
pwim
the goal was similar with mobiruby
pwim
even if you don't know so much details about how native stuff works
volpe_hd_ has joined (~volpe_hd2@flets-b188.hbb.jp)
pwim
you should still be able to write an app with mobiruby
pwim
who uses mac?
pwim
almost everyone
pwim
so you can try it
suzuki has left IRC (Quit: Leaving)
suzuki has joined (~suzuki@flets-b188.hbb.jp)
pwim
i'm looking for people to help out
pwim
i just released
pwim
this is really alpha
rgravina has joined (~rgravina@flets-b188.hbb.jp)
pwim
you need to know about GC + iphone
pwim
so maybe its challenging
pwim
who knows mruby
pwim
used ruby
pwim
some people who made it raised their hands
agrimm_ has left IRC (Quit: agrimm_)
pwim
remade ruby from scratch
pwim
with a focus on devices without much memory of CPU
volpe_hd28v has left IRC (Ping timeout: 240 seconds)
pwim
focus on being simple
yokolet has left IRC (Remote host closed the connection)
pwim
there are lots of features that you are used to that are missing
yokolet has joined (~yokolet@flets-b188.hbb.jp)
pwim
kept asking about release of ritvm
pwim
my company makes something for translating js to native
itochan_off is now known as itochan
pwim
i wanted to do ruby to native
pwim
most companies would say i couldn't do this
pwim
but my company let me
pwim
who knows c?
Disconnected
You have joined the channel
pwim_ has joined (~pwim@flets-b188.hbb.jp)
Mode: +nt
Created at: Sep 12, 2012 1:08 PM
pwim_
The most difficult part - memory management
pwim_
I want to show the source fcode
pwim_
Can people see?
rgravina has joined (~rgravina@flets-b188.hbb.jp)
pwim_
This is like objective c
pwim_
We are using reflection to automatically delegate
drbrain has left IRC (Ping timeout: 240 seconds)
pwim_
If you begin with underscore, you can call an objective c method
pwim_
you can't use any of this if you don't know both ruby + ios
drbrain has joined (~drbrain@flets-b188.hbb.jp)
y_ogagaga has left IRC (Remote host closed the connection)
pwim_
There is no plan to implement threads in mobiruby
pwim_
includes wrapping classes to make it more like writing ruby
rgravina has left IRC (Quit: rgravina)
suzuki has left IRC (Ping timeout: 240 seconds)
sorah has left IRC (Remote host closed the connection)
pwim_
file operations, random number generation, etc will be shared
pwim_ is now known as pwim
pwim
I write github commits mostly in english
yokolet has left IRC (Remote host closed the connection)
znz_
s/commit/issue/ ?
pwim
@znz yes
moro has joined (~moro@flets-b188.hbb.jp)
pwim
i wanted to release a schedule application for this conference
yokolet has joined (~yokolet@flets-b188.hbb.jp)
pwim
unfortunately there wasn't enough time
pwim
i don't write tests much
pwim
so i need people to help out with this
pwim
i know its bad...
17:45 darashi has left IRC (Remote host closed the connection)
quicy has left IRC (Quit: See you...)
pwim
rubymotion has been getting a lot of buzz recently
smcchoi has left IRC (Remote host closed the connection)
okkez_ has joined (~kenji@flets-b188.hbb.jp)
pwim
i spent about half a year on this
pwim
despite this its quite compact
darashi has joined (~darashi@flets-b188.hbb.jp)
pwim
mruby has a lot less source code then ruby
pwim
so easier to get involved
pwim
you can't do a stack trace
igaiga has joined (~igaiga@flets-b188.hbb.jp)
drbrain has left IRC (Ping timeout: 240 seconds)
drbrain has joined (~drbrain@flets-b188.hbb.jp)
pwim
uses objective c 2.0
pwim
i've mostly been working on this on my own
pwim
well at first it was private
pwim
but now I've opened it up
pwim
I'm also trying to get people from overseas involved
pwim
Matz is working on mruby
pwim
so there's a good chance this will succeed
pwim
i made this because i though mruby was interesting
pwim
and through my job, i had been working on something similar
k_tsj has joined (~UserID@flets-b188.hbb.jp)
pwim
the logo was made by this person from france
tenderlove has joined (~tenderlov@flets-b188.hbb.jp)
pwim
i want you all to like my fb page!
pwim
thank you
volpe_hd_ has left IRC (Read error: No route to host)
volpe_hd28v has joined (~volpe_hd2@flets-b188.hbb.jp)
koichiro has left IRC (Remote host closed the connection)
pwim
there is some ios stuff that hasn't been released as open source, how do you use it?
igaiga has left IRC (Remote host closed the connection)
pwim
there are ways to inspect the runtime
agrimm has joined (~agrimm@flets-b188.hbb.jp)
pwim
i would recommend against using mobi ruby if speed is important
pwim
i don't like html based interfaces
pwim
i prefer native
pwim
i'll be at the after party
pwim
so feel free to talk to me there
hokkai7go
だれか、にほんご、たのむ
pwim
who has interest in mruby?
tenderlove has left IRC (Ping timeout: 240 seconds)
pwim
matz/matsuidrive question time
pwim
let's talk about the plan for mruby
pwim
more than adding new features, i'd rather focus on refining what is there
pwim
i want fibers
pwim
useful for games
pwim
more than threads, I want fibers
pwim
in games, the characters could work well as fibers
pwim
threads are too heavy
pwim
event driven is hard to write
pwim
so i want fibers
pwim
masui wants debugging features
willnet has left IRC (Remote host closed the connection)
pwim
masui wants something like be able to connect via nw and debug
Disconnected
You have joined the channel
pwim_ has joined (~pwim@flets-b188.hbb.jp)
Mode: +nt
Created at: Sep 12, 2012 1:08 PM
itochan is now known as itochan_off
willnet has left IRC (Remote host closed the connection)
rgravina has joined (~rgravina@flets-b188.hbb.jp)
noplans has left IRC (Remote host closed the connection)
mohya has left IRC (Remote host closed the connection)
yokolet has left IRC (Remote host closed the connection)
rgravina has left IRC (Quit: rgravina)
pwim has left IRC (Ping timeout: 240 seconds)
pwim_
The sessions for the day are over
znz_ has left IRC (Quit: Leaving)
k_tsj has left IRC (Ping timeout: 240 seconds)
sandinis_ has left IRC (Remote host closed the connection)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment