Solved

Ironpython in production environments

Posted on 2011-03-16
6
376 Views
Last Modified: 2012-05-11
Is Ironpython safe to use in a production environment?
0
Comment
Question by:geldfeld
  • 4
  • 2
6 Comments
 
LVL 5

Expert Comment

by:-Richard-
ID: 35147828
My understanding of Iron Python is that it is an implementation of Python which runs under the Microsoft CLR (Common Language Runtime).  The CLR is the foundation for ll of Microsoft's .NET languages, and as such,  I would expect Iron Python would be just as safe in a production environment as any other Microsoft languages.
0
 
LVL 5

Expert Comment

by:-Richard-
ID: 35147841
Typo correction - "all of MIcrosoft's .NET languages".  Without the "a" it looked like I was saying eleven of their languages!
0
 

Author Comment

by:geldfeld
ID: 35157392

I use IronPython as it is with dependencies on .NET libraries

I plan to port my IronPython  prototype to C#  ( which is relatively straightforward )

I may not have to do this if IronPython can be used in a production environment. I can leave the modify the current IronPython code base and deploy that. Which is why I asked: is this safe to do?
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 5

Accepted Solution

by:
-Richard- earned 500 total points
ID: 35157671
In general, things which work in a development environment can be deployed to a production environment.   I don't know why Iron Python should be different.   What exactly are you concerned about?  Are you concerned about throughput, because your production environment will be much busier than development?   Are you concerned about compatibility with other software running on your production environment?  As far as that goes, it is true that different versions of Iron Python are compatible with different versions of the .NET runtime.  Here is an excerpt from the Wikipedia article on Iron Python which talks about that:

Status and roadmap

Release 2.0, released on December 10, 2008, and updated as 2.0.3 on October 23, 2009, targets CPython 2.5.[3] IronPython 2.0.3 is only compatible up to .NET Framework 3.5.

Release 2.6, released on December 11, 2009, and updated on April 12, 2010, targets CPython 2.6.[4] IronPython 2.6.1 versions is binary compatible only with .NET Framework 4.0. IronPython 2.6.1 must be compiled from sources to run on .NET Framework 3.5. Iron Python 2.6.2, released on October 21, 2010, is binary compatible with both .NET Framework 4.0 and .NET Framework 3.5.

Release 2.7, still in beta stage, targets CPython 2.7.[5]

However, in general, if your development environment is set up similarly to your production environment, and it works in development, you should be OK.

If you're still concerned, you might want to consider production rollout strategies that could mitigate risk, such as a limited initial release, or a release to only one server on a multi-server environment.
0
 
LVL 5

Expert Comment

by:-Richard-
ID: 35157699
One other point is that, according to that Wikipedia article, Iron Python itself is implemented entirely in C#.... so as far as porting it to C# goes, in a sense, it is already a C# program!
0
 

Author Comment

by:geldfeld
ID: 35163859
@richard  - I am concerned that the behaviour of my application may not be consistent running in a C# and Python ( jython ) environment. You are probably right that if we test the code extensively under production load it should run as expected.


Does anyone know of any unexpected behaviour from jython applications from a Python or a .NET perspective?
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Frameworks 1 90
What is Python programming? 3 110
How can I do this in Pyhton? 12 125
wipe a usb using python 5 45
This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
Flask is a microframework for Python based on Werkzeug and Jinja 2. This requires you to have a good understanding of Python 2.7. Lets install Flask! To install Flask you can use a python repository for libraries tool called pip. Download this f…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question