search for: danga

Displaying 20 results from an estimated 22 matches for "danga".

Did you mean: dang
2005 Dec 22
6
Performance and scalability
Hi, My question is. What are your performance experiences compared to languages such as PHP, PERL and ASP? Could you build a site as big as Ebay on rails and have it perform fast enough? I''m afraid that the generalisation in components I see so much users asking for will make the framework too heavy compared to a clean programmed for perfomance PHP application. Probably even
2010 Mar 10
1
mogilefs
Hi list, Have you ever heard or tried mogilefs? (http://danga.com/mogilefs/) Do you think suitable for dovecot/mail environments ? Regards, Fernando
2003 Jun 10
0
[Bug 97] New: iptables-restore can't load negated module parameter written by same version iptables-save
...es-save Product: iptables userspace Version: 1.2.8 Platform: All OS/Version: other Status: NEW Severity: major Priority: P2 Component: iptables-restore AssignedTo: laforge@netfilter.org ReportedBy: brad@danga.com CC: brad@danga.com,netfilter-buglog@lists.netfilter.org summary says it best. example: goathack:/etc/init.d# iptables -L OUTPUT Chain OUTPUT (policy ACCEPT) target prot opt source destination DROP tcp -- anywhere localhost...
2006 Mar 30
1
Writing character vectors with embedded nulls to a connection
...ar(sobject,con) The other option is to serialize twice: len <- nchar(serialize(object,NULL,ascii=FALSE)) # # run some code here to notify listener on other end of connection # how many bytes I'm getting ready to send # serialize(object,con,ascii=FALSE) Object stores, like memcache (http://danga.com/memcached/), need to know object sizes before storing. RDBMS's which support large objects (CLOBS or BLOBS) don't nececarilly need to know object sizes before-hand, but they do have max column size limits which must be honored. BTW, readchar() can read strings with embedded nulls; I...
2006 Nov 02
8
MogileFS handler
...s usage (lots of user uploaded files). I wonder if someone has already worked on an integration of MogileFS into Mongrel (and Rails app) for serving the files ? If not, I think of writing a handler that would act as a bridge between the MogileFS keys and the actual files. I could use Perlbal from Danga but it involves a new technology (Perl) and a new setup. What do you think about this ? Thanks for all, Philippe
2009 Oct 27
7
LVM+Xen+FreeNAS possible?
Hi All, We''ve limitation of 500 GB per server as per ServerLoft. we are needing to store word/pdf files. We are planning to use following setup. /dev/sda1 - boot - ext2 /dev/sda2 - swap /dev/sda3 - dom0 - ext3 /dev/sda4 - LVM - one LV for each domU, We''re planning 3 DomUs. /dev/sda5 - FreeNAS. Is that possible? Can it be in one of the LVs under 4th partition? Currently, one
2010 Mar 12
1
nosql (it was mogilefs)
...ert Schetterer <robert at schetterer.org> >To: dovecot at dovecot.org >Sent: Qua, Mar 10, 2010, 4:46 PM >Subject: Re: [Dovecot] mogilefs > >Am 10.03.2010 20:23, schrieb fernando at dfcom.com.br: >> Hi list, >> >> Have you ever heard or tried mogilefs? (http://danga.com/mogilefs/) >> >> Do you think suitable for dovecot/mail environments ? >> >> Regards, >> Fernando >> > >sounds not ready for mail > >MogileFS is not: > > * POSIX Compliant -- you don't run regular Unix applications or >databases...
2007 Jan 02
1
Recommendation: Stalled Mongrel? Memcache Hates Spaces
...ning this combination would have intermittent pauses and investigating the stalled mongrels showed that memcache-client was waiting for information from memcached. A friend just told me that he found out the problem is memcache does not accept keys with spaces in them. From this spec: http://cvs.danga.com/browse.cgi/wcmtools/memcached/doc/protocol.txt?rev=HEAD We have this paragraph: "Data stored by memcached is identified with the help of a key. A key is a text string which should uniquely identify the data for clients that are interested in storing and retrieving it. Currently the leng...
2006 Jun 04
11
Hosting images : DB or File System
Hi, I''m developing an application where I''ll have to store a lot of images coming from the users. And I''m still not sure if I should store them in MySQl as blob or just store them on filesystem. If I store them on filesystem, how to scale when I''ll have to have multiple servers ? Thanks, Pratik -- rm -rf / 2>/dev/null - http://null.in
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra, Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1& MiddleMan2, running in 2 machines. When Chater1 login, RailsApp call MiddleMan1 to get something about Chater1 from db to memory, like his contacts or other personal settings. When Chater2 login, RailsApp call MiddleMan2 do the same thing. But who is reponsible for the Global Data? like a Online Chaters
2006 Mar 01
4
cached_model and memcache-client slowness
Hi there, I''ve got a Rails app that''s a little unusual in that it maintains a database representation of a filesystem (for an image gallery). Thus, if the filesystem is essentially ''out of date'' then the controller''s list action will end up invoking a model update (which involves a filesystem scan). I''m using sqlite3 as this app will be
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
2014 Aug 19
0
failure building memcached rpm
...exit status from /var/tmp/rpm-tmp.56803 (%build) And I'm hoping if I share with you the spec file that I'm using, I might be able to get some help with this. I am not sure where the problem is. Here's the spec file I'm using: # Authority: dag # Upstream: Brad Fitzpatrick <brad$danga,com> ### perl-AnyEvent is rfx on EL5, and so memcached must be as well %{?el5:# Tag: rfx} ### EL6 ships with memcached-1.4.4-3.el6 %{?el6:# Tag: rfx} %ifarch %{ix86} %define build_64bit --disable-64bit %else %define build_64bit --enable-64bit %endif Summary: Distributed memory object caching...
2006 Mar 24
19
Storing images in Ruby
Hi, I''d like to allow users to upload images and store those images in a Postgres database. I''ve looked through the example in "aguile development with rails" which suggests using the MySQL blob field. When I wrote a similar app in Java, we Base64 encoded the file and then stored it as a text field. Is this easy to do in RoR too? Any advice you can give me would
2006 May 12
5
How is Actionpack is not thread-safe? @@allow_concurrency?
Hi, I found many references on the Web to the fact that "Rails is not thread-safe". However, I have not found an explanation _why_ it isn''t? What happens if multiple requests are handled concurrently by ActionPack? Assuming that the code I execute in my controller methods is thread safe, is this ok? If not -- what happens? The following makes it sound like the issue is
2005 Dec 15
5
Rails vs. J2EE: Sharing state in memory?
Hi, I am from a Java background and pretty new to Ruby and Rails. What I am wondering is how I would shared state accross requests and users without involving IO, i.e. use memory. My current understanding is that for each request a new process ist spawn and therefore it gets its own memory. So no sharing can take place between requests? Do I understand this right? For those who know
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
2005 Dec 16
6
Switchtower for production?
Hello, The company that I work for will be developing a large webbased survey (for a government institution) somewhere in Q1/Q2 of 2006. I''m investigating the technological possibilities and Rails is certainly a candidate. The survey application will have to perform under very high peak load, and the exact specifications of the hardware are not known at this point. I''m assuming
2006 Sep 20
15
Why Rails + mongrel_cluster + load balancing doesn''t work for us and the beginning of a solution
We have been searching for a Rails deployment architecture which works for us for some time. We''ve recently moved from Apache 1.3 + FastCGI to Apache 2.2 + mod_proxy_balancer + mongrel_cluster, and it''s a significant improvement. But it still exhibits serious performance problems. We have the beginnings of a fix that we would like to share. To illustrate the problem, imagine a
2006 Apr 01
7
Rails Cluster Design
Hello everyone! A collegue and I are beginning development on a site that will eventually need to very scalable (assuming our business model is a good idea). My problem is that I''m not a sysadmin guru, and I''m not terribly comfortable with the design of the hosting platform. We''re going to start with two servers initially (for cost reasons), and I''m considering