Crossbar.io multi-core

#1

Hi,

I've started adding multi-core support to Crossbar.io.

For now, only the Web services of Crossbar.io, and only Linux works. Mere WebSocket also works, but WAMP is a bigger chunk.

Anyway, here are some results:

https://github.com/crossbario/crossbarexamples/tree/master/benchmark/web

I'd say, not bad;)

Cheers,
/Tobias

0 Likes

#2

So nice to see backlog
This is something that was hidden deep inside the WCF .NET stack and wasn’t really 100% reliable that once changed had a consistent effect (like many other things in .NET :wink: )

Very interesting benchmarking results as well.

Is this built on ProcessPoolExecutor in py 3? How will exceptions be handled? Any differently than how they currently bubble up?

0 Likes

#3

Is this built on ProcessPoolExecutor in py 3? How will exceptions be

No, this is built on first class process facilities that Twisted brings. Also, we support both Python 2 and 3 ..

handled? Any differently than how they currently bubble up?

Not sure I understand: exceptions thrown inside Crossbar.io code are processed within each worker process, and appropriately communicated to the Crossbar.io node controller if required.

Cheers,
/Tobias

0 Likes

#4

Awesome. This and linking several routers together to laod balance them will make crossbar a very powerful product. Actually the only product to offer such features in a world currently dominated by nodejs.

···

On Tuesday, November 10, 2015 at 11:45:41 PM UTC+1, Tobias Oberstein wrote:

Hi,

I’ve started adding multi-core support to Crossbar.io.

For now, only the Web services of Crossbar.io, and only Linux works.
Mere WebSocket also works, but WAMP is a bigger chunk.

Anyway, here are some results:

https://github.com/crossbario/crossbarexamples/tree/master/benchmark/web

I’d say, not bad;)

Cheers,

/Tobias

0 Likes