• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jetty, PostgreSql on Windows 1GB  RSS feed

 
Badr Draifi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, there is a project where I should run Jetty Server along with PostgreSql database to perform some light transactions ( Jaxrs calls / Manipulating three tables with JPA / Some lightweight batches ) The challenge is,
this architecture should live on Windows OS 8 ( Family edition ) with 1GB in RAM, and the machine which is a not designed as a server should stay ON all the time ( I can deal with a reboot once a month at max ).

Do you think this can be done ? If not, Do you have other proposition ?

Thanks in advance
 
Campbell Ritchie
Sheriff
Posts: 53779
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

A Windows machine (Family edition) running without rebooting? Is that possible at all?
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are so many unknowns here that any answer might as well be a coin toss. The hardware, environmental factors like temperature and ventilation, power fluctuations, the application itself, whether the machine is dedicated for this application or runs other things - many things can affect stability. OS is just one of them.

In my opinion, in such vague situations, it's best to collect some performance metrics. Keep that machine running for a day under typical OS and application load in its typical environment, and measure its parameters. Including environmental ones like motherboard and HD temperatures. Any red lines are a possible cause of long term instability, regardless of the OS. If everything is green, then keep it for a week and check!
 
Badr Draifi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for your fast answers.

I totally agree with you guys, about all the other factors ( environmental, ventiation..) but lets assume that this all settled up and it is just fine. But in terms of software, and this is in which i am interested, do you think this architecture can survive ( With all the memory that it should take, the process that it runs...) in this configuration ?

Do you ever faced this situation ? based on your experiences, what you think about it ?

PS : The OS will run only my application, all other uncessary services & app will stopped.

Thank you.
 
Campbell Ritchie
Sheriff
Posts: 53779
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not familiar with all those apps, but I can see no reason why you can't run that software on a Family version machine.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think people are getting a little carried away here.

I think Windows has probably stabilized enough by now to run for a month at a time without crashing. Although you do realize that approximately 52,325 Windows Security updates will have probably come out over that timespan, and that Windows almost always demands a reboot to apply them?

1GB of RAM sounds rather cramped. I'm not even sure that Windows 8 is rated for that small a configuration. I also had to suppress a laugh about "all other uncessary services & app will stopped". Thanks to such stealth features as RUNDLL and its friends, there's a lot of services hiding in Windows.

I did just retire a 1GB Linux machine that hosted PostgreSQL and a Tomcat server, although it would have been happier with 2GB. A lot depends on your workload, though.

And, of course, factor in environmental considerations. A UPS is virtually essential even in places where power is supposedly continuous. Computers these days can take a fair amount of heat, but even so, a certain amount of air conditioning is wise. 30°C or lower at least (that's what I run). If your humidity is too low, static electricity can be an issue, if it's too high, condensation can mess things up. And. of course, if you're subject to a lot of sand and grit in the air, some filtering is advised. You're probably well-versed in what things to allow for when running computers in your part of the world, but make allowances for the lack of "recovery time".
 
Badr Draifi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim. Your answer explain a lot ! liked it.

I guess, based on many answers, that runing this architecter in that configration is possible and it can be done !
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!