similar to: Performance with many look-up tables

Displaying 20 results from an estimated 2000 matches similar to: "Performance with many look-up tables"

2006 Sep 01
11
mongrel thread safety and global variables
In environment.rb file, I initialize a connection to some data vending servers, through TCP sockets. The connection object is global and hence the code: #environment.rb $generic_connection = ConnectionClass.instance (singleton class) $generic_connection.connect_me( this call will make the connection) The above approach is to make sure that, only one connection is made to the data vending
2008 Apr 14
6
Good news: BackgrounDRb now works on Windows
Hello all, I have some good news to announce. I have made some changes to a local copy of BackgrounDRb 1.0.3 (actually most of the changes were in Packet 0.1.5) and I''ve got it working on Windows. From what I''ve read, this is the first time it''s worked on Windows in a year and a half, since 0.2 was released. In my research I can see that a number of people have asked
2008 May 21
3
Does backgroundrb support SSL?
Does backgroundrb support SSL like drb? I was unable to find any sample configurations including SSL. Any help would be appreciated, thanks. -jim salinas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080521/9588825a/attachment.html>
2006 Sep 25
3
Engine Yard blog
Just received the news from Tom Mornini. Congrats Ezra for the new Engine Yard site and the blog you will be collaborating. Hope to read you there soon. http://www.engineyard.com/ Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060925/3f251fa4/attachment.html
2006 Aug 24
10
MongrelCluster - How can I make a request to a specific mongrel instance?
In our app we''ve a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc). In a webbrick environment this works ok, but we find in production we have a problem because we have 4 caches, one for each mongrel instance. This also isn''t a BIG problem, but our cache.reload() methods are kinda useless now, because we
2006 Jan 01
7
How to show progress
I''m looking for ideas on how you would implement a controller/view in Rails that needs to show the progress of a possibly 2-3 minute operation. For example the user wants to generate 100 reports that will take about 3 minutes. I would like to have a page that would indicate that the operation is taking place as well as showing progress as to how far along. With basic CGI you could
2004 Aug 06
1
Compiling Darkice
I'm compiling Darkice on a FreeBSD 4.6.2 box. Everything works up to this point after I type "make"...then I get this error. Any ideas? Thanks, Matt teststream# make make all-recursive Making all in src source='TcpSocket.cpp' object='TcpSocket.o' libtool=no depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo' depmode=gcc /bin/sh
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name
2006 Mar 09
1
Capistrano Error undefined method ''local''
I get an error after running Capistrano deploy... zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy (in /home/zdennis/source/projects/listedpropertiesllc.com) loading configuration /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb loading configuration ./config/deploy.rb * executing task deploy ** transaction: start * executing
2006 Feb 21
7
Self-referencial habtm relationship
Heyo! I am setting up a self-referencial habtm relationship with the users of my app. I am using Chad Fowler''s "Rails Recipes" to get me started, and everything works great with the join table "people_friends". I add friends by doing somebody.friends << somebodyelse. However, with my app, there is an approval process so my join table has columns person_id,
2006 Jul 14
18
ActiveRecord Love While We''re At It
I am working on and will be publicly showing ActiveRecord some love around the time of the RubyConf*MI [1] in late August. My main focus is getting AR to better handle inserts, updates and merges when working large sets of data. It can improve improve performance by 400% to 600% in preliminary benchmarks. I am coding this in a way so it can be patched to AR easily, and with that in mind
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she has an STI... Actually, I currently have three different models, like: Dog, Whale, Monkey They all have some similar attributes, but, they are unique enough to break into their own models. I could use STI, but I think the table would just have too many columns. Now, I wanted to let the Dog''s, Whale''s
2006 Aug 11
4
1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension - 0.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord Extension 1337 - 0.0.1 is released! A 1337 speak module for ruby is released! It is bundled with the ActiveRecord extension activerecord_1337. This allows you to encode your application in l33t speak. You can use the L337 module standalone or use it bundled with the ActiveRecord extension. This plugin can be easily used as a Rails
2004 Aug 06
12
0.4.0 Compiling Under Mingw
> I am compiling wxRuby 0.4.0 on WinXP Home under MingW and MSYS 1.0. I can > compile wxWindows and Ruby fine and I get about 20 minutes into the wxRuby > compile and it quits, It says: [snip] > C:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe : > cannot find -lwxmsw241d > make: *** [wxruby.so] Error 1 > I replaced the $LIBS in the extconf.rb file
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2008 Aug 14
4
Stateful Webmail
Hello, I'm a developer on the Orbited project (http://www.orbited.org), which provides a TCPSocket interface in javascript (emulated over HTTP using ajax and comet.) This TCPSocket allows true bi-directional communication between a web browser and an arbitrary tcp server. One of the other developers pointed me to a recent dovecot thread about webmail. Sorry for the new thread (I just joined
2005 Dec 14
5
Rails namespace help requested
Hi all - I posted yesterday with the subject "namespace pollution" and with the high traffic on this list, it''s kind of disappeared and I''m in need of a quick answer so i can move on. To recap quickly, can someone tell if Rails is somehow forcing all modules into a single namespace? I have a model class StateProvince and inside a webservice module in my lib/
2019 May 28
1
[libnbd PATCH] connect: Better handling of long socket names
Copy various Unix socket handling techniques from nbdkit's nbd plugin: Silently truncating a socket name rather than issuing an error message can confuse users. No need to do an explicit memset if the compiler does it for us via an initializer. No need to use strncpy() which does wasted effort on short names, when we can use memcpy() given that we already checked length in order to detect
2006 Aug 10
4
Speeding up ActiveRecord creation?
My completely empty model (no validation callbacks etc etc) takes an average of 0.05 seconds to create, at least according to Benchmark.realtime{200.times{Message.create(:from => "me@here.com", :message_type => ''email'', :subject => "hello", :body => "goodbye", :sent_at => Time.now)}}/200 That''s a little slower than
2019 Oct 18
2
[PATCH nbdkit] Add support for AF_VSOCK.
This is a series of patches to libnbd and nbdkit adding AF_VSOCK support. On the host side it allows you to start an nbdkit instance which listens on a virtio-vsock socket: $ ./nbdkit -fv --vsock memory 1G ... nbdkit: debug: bound to vsock 2:10809 On the guest side you can then use libnbd to connect to the server: $ ./run nbdsh -c 'h.connect_vsock(2, 10809)' -c