Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Ironpython in production environments

Posted on 2011-03-16
6
380 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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 modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

837 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