Pro!

Question, developers.

Short Version: Do you mix languages of code when making asynchronous calls on your cloud computing platform?

Long Version with Context: I am preparing to write a couple of applications that will be only interacted with asynchronously for a series of websites. I am thinking of making the asynchronous calls to a Python built application through XHR built on top of [but obviously separately from] the code of an ASP-based CMS. Since we're using a cloud computing server, we can actually serve up Python, ASP, and PHP rendered code with roughly equivalent speed, and two of the applications would benefit greatly from some of my previously written .py scripts that I created for a piece of events management software, so I figured that I would go ahead and test the implementation on a low level first but can't do that until early next week so I was wondering what the community thought about it? If you *could* run two different server-side scripting languages simultaneously without having noticeable change in performance, would you? Why or why not?

Do note that I am considerably better writing PHP and Python than ASP, so having to do these apps in ASP would be more time-consuming and likely not as tight.

5.0 stars
Forward

3 months ago by Michael O. - Pro!

2 Replies

  • 5.0 stars
    Michael O. Michael O. replied Jul 9th
    As an aside: I have tested it, and it works just fine. I just passed data from a python script to PHP where it was modified and mailed out then displayed via the ASP page that called the XHR function via JS. That was way more fun than it should have been.
  • 5.0 stars
    Augua F. Augua F. replied Jul 9th
    Based on your context I say roll with it. I was actually reading a Code Project article about performance tuning ASP apps before they go out to production and I never realized how much overhead comes out-of-the-box in that environment. Decoupling the work the way you are will probably save you time and energy in the long run.

Join Now to Reply!

To add your own reply, sign in or join Pownce today!

1274 Recipients

View all

This note is viewable by everyone.