News for hackers. Stuff that matters.
Re:Seastar: C++ framework for high-performance servers by rbf_ on Sunday April 26, 2015 @10:41AM (#9441918)
They mention that this is using a polling architecture so each core is using 100% cpu even when idle. I've worked on high performance systems architected around polling before, but assumed that would be prohibitively costly these days now that cpu's have really advanced power management capabilities. Is polling architecture still viable for large scale cloud computing given costs of energy consumption? Years ago cpu's used a flat amount of power regardless of cpu utilization but now those extra cycles cost watts and of course money.
Re:Seastar: C++ framework for high-performance servers by shawn-furyan on Sunday April 26, 2015 @01:00PM (#9442378)
Perhaps such a server could be integrated in a way such that it spins up during high load scenarios and back down when the load is no longer sufficient to keep it saturated? If that were possible, then overall efficiency could still be higher than using only servers with better idle power usage characteristics since it could potentially save you from having to deploy n times as many normal servers.
Re:Seastar: C++ framework for high-performance servers by rbf_ on Sunday April 26, 2015 @10:47AM (#9441932)
That little embedded user space tcp/ip stack is really neat.
Re:Seastar: C++ framework for high-performance servers by seastarer on Sunday April 26, 2015 @12:23PM (#9442237)
We plan to reduce power usage on low load eventually.
Re:Seastar: C++ framework for high-performance servers by noir_lord on Sunday April 26, 2015 @01:27PM (#9442489)
Sounds awesome but I wouldn't look at something like this (which is awesome btw) unless I was expecting it be under massive sustained load.

For everything else I'd just use Python or PHP as they are mostly fast enough.

I am planning to write a framework in Rust when I have the time though as I find it an interesting language and as a web dev it's my area, I'll definitely be looking at how you approached stuff ;).

Re:Seastar: C++ framework for high-performance servers by rbf_ on Sunday April 26, 2015 @02:23PM (#9442724)
Cool, it would be an interesting design to see something with polling and perhaps different gears for lower load levels. BTW, the system with polling architecture that I mentioned I worked on is still in production and selling well(I hear).