On 10/3/07, Tiger Quimpo <[EMAIL PROTECTED]> wrote:
..
> some people solve that by putting cookies and sessions
> (php sessions, for instance), in the database.  others
> solve it by putting them on NFS.  No solution is
> perfect.  NFS is probably the more general solution
> since it will correctly handle handoffs of uploaded
> files (db can handle sessions, but I don't know how,
> in PHP for instance, to have uploaded files go straight
> to the DB, so for at least uploaded files, you have to
> have a filesystem somewhere).

1) if you use a DB, the DB becomes a Single Point of Failure, and a
Single Point of Scaling bottleneck

2) NFS! locking issues galore! horrific file lock timeouts! I can't
imagine this scaling up well


> I'm not clear on how well apache+php handles cookie
> filename generation.  there are probably race conditions
> there.  But I don't see a lot of whining about it, so
> it's probably not a big deal (i.e., statistically
> acceptable, probability of race condition exceeds the
> highest prime Bruce Schneier can factor using just
> his fingers and toes, etc).

You don't hear a big deal about it because the people who need the
performance (Yahoo, Google) even though they use FOSS, they keep their
implementations close to their chests.

If you use NFS or DB for scaling, your application is probably small
enough that you don't see the scalability problems.

I think that's even more dishonest than people like Intel or
Microsoft. At least Intel and Microsoft are honest about their
software.

Google etc. are built on the back of Open Source but they do not give
their clever solutions back.



..
> I haven't seen commercial solutions for this, NFS is
> good enough for what I've worked with.  But I'm sure
> banks and such would pay a lot more for assurances,
> uptime, and ease of use.

Well one solution I like to flog is Coherence.

Unfortunately it costs an arm, a leg, both nuts, and the hair on the nuts.  :-)

I'm not that familiar with competing products, but off-hand IBM
ObjectGrid can also be used. IBM bundles ObjectGrid with Websphere
probably for this reason.

..
> The trick though, is to work overseas, in
> some first world country where companies are willing
> to pay the equivalent of millions of pesos for
> software.  In the philippines, most developers/sysads
> won't work with companies that are willing to pay
> that much.

You're right. Selling here in PH is really hard. The only people who
can really afford the nice solutions are the big banks and telcos.
Having a regional role helps..


..
> Or for low-budget niches.  It's not all just about
> playing around.  Many companies just can't afford the
> prices in the enterprise space

Agreed. I used to roll creaky solutions right and left. And at the
time I thought I was being excessively clever.

I guess if you don't have that huge a revenue, you can tolerate
outages and less-than-enterprise class software.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to