21 April 2014

The Ruby Reflector

Topic

WebSockets

  Source Favicon
By Hongli Lai of Phusion Corporate Blog 6 months ago.
Email

…platform also synchronizes data automatically across all connected clients by using long polling, WebSockets etc. It's definitely worth checking out.

Are "traditional"[1] frameworks like Rails in danger? We at Phusion tend to believe that each framework has its own strengths and weaknesses, with no single framework being a silver bullet for all possible use cases. But there are many Meteor advocates out there who believe differently. Josh Owens from from Differential …

blog.phusion.nl Read
  Source Favicon
By Jacob of Heroku 6 months ago.
Email

Next we'll look at a more interesting example of what you can build with WebSockets.

WebSocket Geolocation App

The map below uses WebSockets and the browser Geolocation API to plot a point for every client currently viewing this post. The Node.js app powering this map is open-source and available on GitHub at heroku-examples/geosockets .

Note: If you do not see your location on the map, your browser may be configured to block location services.

The geosockets …

blog.heroku.com Read
  Source Favicon
Email

…Get ready to open your apps to a whole new world of interaction and functionality. Topics we will cover: * Live Streaming API * EventMachine vs Rails 4.0 * Node.js vs Rails 4.0 * Polling vs Live Streaming * Websockets & Rails 4.0 * Puma

From: Confreaks

Views: 333

12 ratings Time: 28:13 More in Science & Technology

youtube.com Read
  Source Favicon
By miraculous1 of mir.aculo.us 1 year ago.
Email

…the front-end, and Rails 2.3, Postgres, memcached, redis, resque, and for websockets Sinatra, and a few other things. The front-end is communicating with the back-end via a JSON API.

I've come to the realization that this much client-side processing and decoupling is detrimental to both the speed of development, and application performance (a ton of JavaScript has to be loaded and evaluated each time you fire up the app). It's better to let the server handle HTML rendering …

mir.aculo.us Read
  Source Favicon
On igvita.com 1 year ago.
Email

…URLRequest, URLRequestContext, and URLRequestJob implementations net/ websockets WebSockets protocol implementation

Each of the above makes for a great read for the curious - the code is well documented, and you'll find plenty of unit tests for every component.

Architecture and performance on mobile platforms #

Mobile browser usage is growing at an exponential rate and even by modest projections, it will eclipse desktop browsing in the not so distant future. …

igvita.com Read
  Source Favicon
Email

…applications to take over the client socket and perform arbitrary operations on it, e.g. implementing WebSockets, streaming data to the client, etc.

Did Rack not support streaming? Actually yes it did, you can do it by returning a body object that outputs body chunks in the # each method, as explained in our past article Why Rails 4 Live Streaming is a Big Deal . But this API is a bit clunky. The socket hijacking API provides access to a Ruby IO object-like API.

Support …

blog.phusion.nl Read
  Source Favicon
On igvita.com over 1 year ago.
Email

Your browser is one of the most and best instrumented development platforms - you may just not realize it yet. Of course, you can inspect the source, walk the DOM, fiddle with the CSS, and evaluate and debug your JavaScript, but there is so much more! Granted, there is always room for improvement, but the exciting part is that much of this functionality is also built with the same technology we build our sites: HTML, CSS, JavaScript, and WebSockets. This means we can extend it, leverage …

igvita.com Read
  Source Favicon
On Coding Horror over 1 year ago.
Email

…by writing better components. For example, we just released universal login buttons that talk over WebSockets and are wired into the users table of the app's database. Since Markdown is increasingly ubiquitous for writing content, it's going to be part of the Meteor toolchain. I wouldn't be surprised if we end up releasing a component like Stack Overflow's editor , with the full " Meteor" standard of code quality, so that no one has to roll their …

codinghorror.com Read
  Source Favicon
By Jim Lindley of Engine Yard Developer Blog over 1 year ago.
Email

…allows Node.js to serve all TCP traffic, including HTTP and WebSockets. If you have a solo instance, little additional configuration is needed. On a cluster, your WebSocket backend must have a shared socket store: we do not currently have sticky sessions between application instances. If you're using socket.io , it includes a RedisStore option for just this case. We'll be improving and simplifying WebSocket support as we collect more information from our customers. …

engineyard.com Read
  Source Favicon
By Forrest Norvell of New Relic almost 2 years ago.
Email

…applications for Socket.IO and Engine.IO , a new implementation of Websockets and their alternative browser-server connection mechanisms that promise to ease some of the difficulty of working with Websockets. A couple of talks demonstrated how to combine Socket.IO with Browserify , SubStack's browser adaptor layer for Node code. Seeing Socket.IO combined with a multiplexer in the browser to allow multi-channel communication over a single connection …

newrelic.com Read