locked
Axum for Inter Process Communication RRS feed

  • Question

  • Hi

    Having tried Axum in version 1.0, i find that the concepts are great. However, I don't think I will ever need to use it in a single process, as there are so many other good approaches how to make concurrency safer and simpler, which are possibly easier to prgram with.

    I would be very interested to learn how I can use Axum in a distributed setting, between processes. I feel like in most approaches to IPC, there is a lack of protocol specification. E.g. remoting is great to share objects, but the receiver can call the methods on it in any order. Sockets and all it's abstractions are great but there is need to explicitly serialize stuff.

    As I read first about Axum, I thought this would be something like the IPC in Singularity. There are so many great IPC concepts in Singularity that would be very useful to have on a regular .NET basis. Axum brings some of them to a single process.

    Are there any steps planned to extend Axum into the Direction of IPC?
    Is there a possibility to use Axum in its current form in combination with e.g. remoting?

    Regards, Banjobeni

    Tuesday, November 3, 2009 9:57 AM

Answers

  • Hi Banjobeni,

    Thanks for the post.  Before I even jump into IPC, there's one thing you said that piqued my interest: "as there are so many other good approaches how to make concurrency safer and simpler, which are possibly easier to program with."   What approaches are concurrent, safe, simple, and easy to program with?  I don't ask to challenge you, I'm geniunely curious as to what technologies and models our customers think have these properties. We don't want to overlook anything or exaggerate the seriousness of the problem.

    As for IPC, have you looked at the sections in the spec and programmer's guide on Distributing Axum?  I think you'll find what you need.  In a nutshell, Axum is tightly integrated with WCF to allow you to easily communicate across process boundaries (and network boundaries) with any of the transports WCF supports, whether that be HTTP, TCP, or Named Pipes.

    Hope that helps,
    Josh
    • Proposed as answer by Josh Phillips Tuesday, November 3, 2009 9:12 PM
    • Marked as answer by Josh Phillips Monday, November 9, 2009 6:16 PM
    Tuesday, November 3, 2009 9:12 PM

All replies

  • Hi Banjobeni,

    Thanks for the post.  Before I even jump into IPC, there's one thing you said that piqued my interest: "as there are so many other good approaches how to make concurrency safer and simpler, which are possibly easier to program with."   What approaches are concurrent, safe, simple, and easy to program with?  I don't ask to challenge you, I'm geniunely curious as to what technologies and models our customers think have these properties. We don't want to overlook anything or exaggerate the seriousness of the problem.

    As for IPC, have you looked at the sections in the spec and programmer's guide on Distributing Axum?  I think you'll find what you need.  In a nutshell, Axum is tightly integrated with WCF to allow you to easily communicate across process boundaries (and network boundaries) with any of the transports WCF supports, whether that be HTTP, TCP, or Named Pipes.

    Hope that helps,
    Josh
    • Proposed as answer by Josh Phillips Tuesday, November 3, 2009 9:12 PM
    • Marked as answer by Josh Phillips Monday, November 9, 2009 6:16 PM
    Tuesday, November 3, 2009 9:12 PM
  • I will look into the section you mentioned.

    I am a computer science student, so my answer will not be one of a typical customer. Other approaches include STM, strict locking and using parallel libraries. I do know that this does not cover all possible applicaiton fields of concurrency, but I'm looking forward to try axum in its 0.2 version.

    Offtopic: If I try to install Axum 2.0 for VS2008, then somewehere in the middle of the installation VS2008 (previously not running) crashes and the installer fails. Do you know how to circumvent this? I uninstalled Axum 1.0 before.
    Wednesday, November 4, 2009 9:22 AM
  • I am a computer science student
    I think most of us that use Axum are students XP. Kind of ironic if you think about it. Sorry to be off topic.
    Thursday, November 5, 2009 12:40 AM
  • Sorry to be off topic, too. Is there a newer version of Axum? I really hope to mov to a newer version.
    Wednesday, June 16, 2010 1:27 AM
  • Hi Isidore,

    We did release a version of Axum that works with VS 2010 RTM, but apart from that we haven't produced a new version. The next-to-last post at the Axum blog goes into some detail on why we are so slow about putting out a new version or revising the language and the last post discusses the VS 2010 update. We are still considering what to do with Axum, so it's not a dead effort.

    Sorry to disappoint you,

    Niklas

    Wednesday, June 16, 2010 11:16 PM
    Moderator