~/talk

Outside the (Web) Box: Using Ruby for Other Protocols

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, security]
slides:none on file

Shows Rails apps opening real TCP sockets via Ruby's stdlib (TCPSocket/TCPSERVER) to talk to barcode scanners, Zebra printers speaking ZPL label language and a shoe sorter, with a background job queue kicking off printer jobs and a separate daemon listener for scans. Covers keeping sockets private, one-connection device coordination, failure modes and manual testing. The system runs in production across multiple warehouses and handles printing and scan-to-database updates reliably.

AI-written summary · about

  1. 0:00Start
  2. 4:29What is an HTTP request? How does Rails handle requests?
  3. 8:47open a socket in order to communicate with hardware, a TCP socket needs to be established
  4. 11:01machines there are lots of types of servers and clients
  5. 20:01device protocols not all devices support the same protocol
  6. 22:04middleware shared code to handle different device protocols
  7. 28:20Testing Integration with hardware becomes difficult to mock and requires lots of manual testing.
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.