Re: Application Freezes!
Re: Application Freezes!
- Subject: Re: Application Freezes!
- From: Chuck Hill <email@hidden>
- Date: Fri, 4 Nov 2005 21:30:30 -0800
I have to admit that I found Helge's comments pretty funny. Perhaps
that is why Apple is keeping WO around, the next iPod will be an
iSite. :-P
That said, I know of number of people successfully deploying lower
volume sites on Mac Minis. If the app is well written, tuned, and
not doing too much data intensive stuff you should be able to run two
or three instances comfortably, have concurrent request handling
enabled, and keep response times in the sub-second range.
Buy four and you can have one sharing web server and app hosting, one
covering the database, and two dedicated to serving apps. That gives
you probably at least 7 instances spread over 2.5 GB (2.5 X 1GB
machines). I'd be interested to see what kind of throughput that
could handle. I'd bet it would be pretty impressive for the price.
Chuck
On Nov 4, 2005, at 4:35 PM, Miguel Arroz wrote:
Hi!
Well, I still have no experience (if everything goes well, I will
have in some monts) but a Mac Mini looks like a great server for a
startup company. Why?
1) It's cheap. You are starting, you do not want to spend 3000
bucks in hardware.
2) It's powerful. Ok, it's not an all-powerful dual G5 server,
but it can handle it for some time. With 1 GB of RAM, it should be
cool (there are hosting services offering 256 MB for your app, so...).
3) It's cool to have redundancy. Again, for a startup, it's hard
to buy two xServes. It's not hard to buy 2 or even 3 minis. Even
with the OS X Server cost, it's still a lot cheap, and offers
redundancy (and load balance).
Of course, you will not run Apple Store on minis... but for a
startup company, why not? Mini can handle 1 or 2 requests a
second... again, some hosting services are offering WO deployment
on machines with G4 @ 1 Ghz... Mini rocks compared to that!
Yours
Miguel Arroz
On 2005/11/05, at 00:26, Helge Staedtler wrote:
perhaps you should just turn on *some* logging.
often just 5 scattered System.out.println's will give you an idea
of "where"
your app (and which app-instance) hangs. for this you need to
configure a
ppath where to write a logfile. and yeah, page 92 would be indeed
a good
start. :-)
mysql, mac mini with 1GB & tiger server... what kind of contest
are you
taking, "webobjects pico"? are iPod nanos an allowed/valid target-
hardware
for it or does my iPod shuffle also qualify? ;-)
regards,
helge
Am 04.11.2005 22:14 Uhr schrieb "James Cicenia" unter
<email@hidden>:
Well -
This has just started to happen now that we launched a new module
that is more transaction intensive. Our concurrent users have also
been boosted. It is mySQL on a Mac Mini runing TigerOSX Server with
1Gig. Don't laugh, amazing it has gone this far! I will try turning
on another instance and see. There was nothing in my log files...
they just stopped with nothing out of the ordinary.
Anyway my next step is to move deployment to Linux. Any suggestions
here? Redhat? JavaMonitor or jBoss? Licensing?
James Cicenia
On Nov 4, 2005, at 3:01 PM, Chuck Hill wrote:
On Nov 4, 2005, at 12:51 PM, Miguel Arroz wrote:
Any thoughts? Do I need to create multiple instances now? I only
have one
instance currently.
We very rarely run a single instance.
Is there any advantage in running more than one instance on the
same server?
Advantage? We only run a single instance if we are desperate for
memory! Running multiple instances allows you to process higher
loads (EOF is only single threaded within the instances) and
provides for much better availability. With only a single
instance, if you recycle it your site is out until it restarts. As
single instance is only for memory starved machines and very low
traffic sites.
Chuck
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com
This email sent to email@hidden
"The world lies in the hands of evil
And we pray it would last" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden