production

how to push new developments to production environment?

Once our web application is being used on production environment we have a really hard time updating it with enhancements or bug fixes. The main reason is an initial flaw in the design of our CMS system. We have to usually spent hours to update each prod environment and many times with errors and long hours of debugging. It looks like...

Are release candidates safe to use for production?

In this particular case it is MVC. But, how much difference is there between the release candidate and the go live or production versions? I'd hate to build a lot on the RC and have it break or miss out because I didn't wait. On the other hand I do have dealines to meet. Thank you. update based on comments: What does it really mean...

What exactly defines production?

Like almost anyone who's been programming for a while, I'm familiar with the term "production code" and have a vague sense of what it means. However, can someone offer a semi-rigorous definition, since it seems Wikipedia and Google can't? It seems like there are a lot of gray areas in what counts as production, such as internal tools t...

Is it ok to use different different OSes for production/development servers with Rails?

Say, I love Debian+mod_rails and run it on my laptop which is my development platform. Yet, I am deploying to a production server running Ubuntu+mod_rails. Is it better in a long run if I install Ubuntu on my laptop or are the problems with deployment so miniscule I can go with whatever the hell I like on dev. machine? Thanks. ...

What was your most serious production bug?

What was your most serious production bug? This could be any bug you contributed to the making of or solving in a live system. [moved my response to the answers] ...

Glassfish in real world

Are there any companies/web-sites that use Glassfish in production? I am new to J2EE and deploy JRuby on Rails alongside a JAX-WS Metro application in Glassfish v3 Prelude. Sometimes the quirks make me go WTF and rip my hair out. I haven't had experience with Apache Tomcat and was wondering if it makes sense to switch to Tomcat, as Glas...

Performance / stability of a Memory Mapped file - Native or MappedByteBuffer - vs. plain ol' FileOutputStream

I support a legacy Java application that uses flat files (plain text) for persistence. Due to the nature of the application, the size of these files can reach 100s MB per day, and often the limiting factor in application performance is file IO. Currently, the application uses a plain ol' java.io.FileOutputStream to write data to disk. ...

Web production: Absolute URLs in external JS files?

Hi guys, I was wondering, are you aware of any best practice for specifying absolute URLs in external javascript files? I'm looking for a maintainable solution. The basic scenario is when i need to include css files at run-time through javascript, or make ajax calls to some URL, and other situations where you would normally need to spe...

SQL Server Bad & Best Practices

Hi, yesterday I found out that setting a database on auto growth is not a very good thing. Are there other basic 'bad' practices (or best practices) when having SQL Server databases in production? thx, Lieven Cardoen ...

How to maintain production and developer database?

How would you maintain separate production anddeveloper databases when working on one machine, which you can toggle transparently? I've seen some close subjects but none of them seem to match. ...

What version of Python (2.4, 2.5, 2.6, 3.0) do you standardize on for production development efforts (and why)?

In our group we primarily do search engine architecture and content integration work and most of that code base is in Python. All our build tools and Python module dependencies are in source control so they can be checked out and the environment loaded for use regardless of os/platform, kinda similar to the approach virtualenv uses. Fo...

Is anyone using Entity Framework in production?

I'd like to hear from people who are using EF in production, or made a valid attempt to do so. I saw the When NOT to use the Entity Framework question on this site. I also read Vote of No Confidence. If you played with Entity Framework and decided not to use this, I don't want to hear from you. I understand that EF is not mature as N...

Good programmer is the one that put code into production?

Recently I found on a blog this: " So I changed my mind and now my single reason that identify good programmers is “A good programmer is the one that put code in production” it means that good programmers makes programs that works and works for long time. Surely I really think that with DI, IoC, AOP you can create bette...

Normal disk read/write value for a ubuntu server.

How would your determine a max value to set an alarm on the I/O activity of a ubuntu/linux server hosting upto 4 sites running apache, mysql and upto 4 tomcats? Or in general (if there is one such) what is a suitable operational range for I/O read/write per second in a production server with a 7.2K SATA HDD? What I'm trying to understan...

asp.net debugging on production server

We have recently deployed an ASP.Net application on Production server and are having some trouble with it in IE. We have built a custom security module based on cookies. The interesting part is, everything works perfect on staging server in all browsers and it also works on Production server but ONLY for Firefox. the process is able to w...

Check status of a production ASP.NET process

Hi all. Is there a way to check what a asp.net process is doing in production environment? In Linux, one can run a strace on a process id and know exactly what the process is doing. Can one do something similar on a asp.net process? Googling around tells me that you need to create dump files and then analyze the problem there, but wh...

What kind of safeguards do you use to avoid accidentally making unintended changes to your production environment?

Because we don't have a good staging environment we often have to debug issues on our production systems. We have web, application, and database servers. What kind of safeguards do you use to avoid accidentally making unintended changes to your production environment when doing this? EDIT: The application is a very complex B2B verti...

Git workflow with a testing server

Hi, I'm using git for my workflow and I have a remote testing server. What would be the best way to do this. Currently I make my changes on my workstation and I commit changes and then push to server. But this would quickly lead to many small commits. I want to avoid setting up testing server on my workstation. And rebasing commits is...

Is Subsonic 3.0 safe for production use?

I'm interested in using Subsonic 3.0 for developing a new ASP.Net MVC application that will be going into production use soon. Would this be a feasible option? Does anyone have an idea when 3.0 is going to be released? Is anyone else using it on a production MVC application? ...

Development, Staging environments, and more - questions !! :(

Hello, Here's my story, Sort of long - please bear with me :) I am currently the only programmer here, no much designing to do - yet. When I started, we had no source control, - files where edited directly from a "development" server - which used rsync to sync to production servers. I have not had much experience doing this kinds of...