Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories:
Computers
More group info »
Active older topics
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 672  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: EventMachine discussion, help for users, and development. EventMachine is a framework for writing fast, scalable event-driven programs in Ruby.
 

closing udp sockets 
  I'm having a problem of "no datagram socket" after 1016 sockets are opened and closed. The following prints out: [...] closed 1017=>no datagram socket it *appears* that the sockets are being closed, but I can't open any more after 1016. Any ideas on what I'm doing wrong? require 'eventmachine'... more »
By Joe  - May 25 - 2 new of 2 messages    

simple dns lookup over udp 
  I'm trying the following, but the receive_data is never called, any idea why? require "net/dns" require 'eventmachine' require 'pp' class DNSClient < EM::Connection def initialize(domain,ns) @domain = domain @ns = ns end def post_init packet = Net::DNS::Packet.new(@domain)... more »
By Joe  - May 23 - 3 new of 3 messages    

Increasing concurrent connections beyond ~1000 
  So I have an em-websocket server running and I'm trying to see how well it can scale. So I've written a small script that loops through and creates a ton of em-http-requests that each connect to the server. It scales just fine to around 1008 connections then the server blows up. I have already searched through this group and have tried the... more »
By Brian Cardarella  - May 23 - 6 new of 6 messages    

Beginner EM synchronization questions 
  Hi guys, I have a couple of questions that I hope you could help me with. Imagine my code is something like this: values = { } # some data here EM.run { EM.add_periodic_timer(10) do end EM.defer do end ... I'm concerned about the thread safety of accessing/manipulating the... more »
By GT  - May 22 - 8 new of 8 messages    

Encryption/SSL Error 
  Hej Folks, i really like Eventmachine but i somehow struggled today and don't know how get along ... I tried to connect to the Twitter Streaming-API with oAuth via https. Doing so i get the following output: terminate called after throwing an instance of 'std::runtime_error' what(): Encryption not available on this event-machine... more »
By Tobias Holz  - May 21 - 2 new of 2 messages    

Does current eventmachine happen to support ruby 1.0.3-p194 on windows? 
  Hi, We are using eventmachine coming with ruote and we are using ruby 1.9.3. I noticed that eventmachine supports ruby 1.8.7 & 1.9.2. Does it happen to support 1.9.3? Thanks. -emclab
By emc_lab  - May 14 - 1 new of 1 message    

EM HTTP request & proxy authorization 
  Howdy, I try to auth against a HTTP proxy for hours now. What's going wrong here? #!/usr/bin/env ruby require 'eventmachine' require 'em-http-request' EM::run do connection_opts = {:proxy => {:host => 'proxy.example.com', :port => 3128 }} request_opts = {:proxy => {:authorization => ['jdoe',... more »
By Christoph Pilka  - May 18 - 6 new of 6 messages    

How to execute same code for callback and errback? 
  In one of my cases I have to execute exactly the same code within callback as well as in errback. How would you avoid DRY in such situation?
By Christoph Pilka  - May 18 - 5 new of 5 messages    

Could GC cause periodic spikes when processing TCP messages? 
  Right now in our production server, we have a server Ubuntu 11.04 server running EM 1.0.0.beta.4 as one of our backends. For the most part, it receives a TCP message from one client, does some slight processing in EM::Connection#receive_data, and broadcasts that same message to other clients. On average, it takes anywhere from 1-3ms to process the message,... more »
By John Chow  - May 16 - 6 new of 6 messages    

Data type mismatch class method <-> EM reactor 
  Hi folks. I think it's a newbie question but why doesn't the EM loop get the same data struc the callback in the function above returns? [link] line 26 and 39 *confused*
By Christoph Pilka  - May 16 - 3 new of 3 messages    

1 - 10 of 672   « Newer | Older »

XML       Send email to this group: eventmachine@googlegroups.com