Archived

This forum has been archived. Please start a new discussion on GitHub.

IceBox container protection

Hi,

I understand and value the idea of container but it brings in basic stability problems. In C# VM takes care of it but in C++ it may not.
How ICE handles it, if it has to be used as CORE component of SAAS (software as service) then this must be met?
Pls share info how ice handles or your opinion abt this,
Thanks

regards
ragha

Comments

  • matthew
    matthew NL, Canada
    Welcome to our forums! What precisely are you worried about? Is your concern if a C++ component in a container malfunctions and then brings down all other components in the same container?
  • IceBox container protection

    HI,

    Thank you. ICE has all language mapping that's great that to with py.
    Correct,because of one errant .so/dll whole container can come down,is there a way to protect it?

    regards
    ragha
  • C++ does not have protection in the way Java or .NET do. Because all the containers share a single address space, any container can write over any other container's memory. That's just how it is with C++. If you are worried about that, don't run containers that you do not trust in the same IceBox, or don't use IceBox and run them as stand-alone servers instead.

    You could write your code in Managed C++, in which case you get the same protection as for C#. But, writing managed C++ doesn't really gain you anything other than ugly syntax. Might as well use C#...

    Cheers,

    Michi.