1

IronPort developed a stackless threading model that allows the IronPort appliance to support more than 10,000 simultaneous connections in contrast to the 100 connections supported on a traditional OS.

If one wanted to do the same but to make it open source, where should they start?

3
  • 3
    Which particular OS can't handle more than 100 connections? Every OS I know of can handle thousands of connections easily, as long as your threading code is sane (ie. not a thread per socket) Commented May 24, 2009 at 21:46
  • See also: stackoverflow.com/questions/904707/… Commented May 24, 2009 at 21:52
  • The 100 connections was taken directly from the IronPort web page... Commented May 24, 2009 at 23:21

2 Answers 2

2

There are some implementations already available. Just do some digging around and you can find them. One of the most prevalent implementations is available under a BSD license: Protothreads

Sign up to request clarification or add additional context in comments.

Comments

1

What you need is coroutines http://www.nightmare.com/~rushing/copython/index.html

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.