News for hackers. Stuff that matters.
Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by aespinoza on Monday October 15, 2012 @01:13PM (#4656019)
I know, I was also excited. We feel lonelier now.

Still by reading the article I still don't see how moving to another framework + platform made it better. Maybe our case is so very different.

I have considered the move for quite a while, every time I run the performance tests, .Net comes faster.

Maintainability wise, it is still easier to manage .Net applications than NodeJS. The tooling for testing (and not just Unit Testing) is abundant and mature.

Cost savings are also debatable. In our case, we measure Infrastructure Costs + Maintenance Costs, and windows is way cheaper putting the two together. Now, they are using a PaaS, so that might make it worth while. For us a PaaS is really not an option since we need a lot more control.

I do agree with the mongoDB choice. I love Mongodb. We us eMongoDB. But we have so many problems because it never reclaims deleted data. The size just grows. And that is maintenance hell. We are analyzing potential replacements.

For us, NodeJS still doesn't have that much to offer. :D So we are sticking with .Net.

Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by mrkurt on Monday October 15, 2012 @03:10PM (#4656639)
Look into capped or TTL collections on Mongo, those are generally best for handling data churn. You can also check out the new usePowerOf2Sizes option on collections to see if that will help (TTL collections use these implicitly): http://docs.mongodb.org/manual/reference/commands/#usePowerO...
Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by aespinoza on Monday October 15, 2012 @07:35PM (#4657664)
Thank you. I will definitely check that out. :D
Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by benologist on Monday October 15, 2012 @01:37PM (#4656128)
I'm still ~50% .NET, the website and a lot of backend processing and maintenance software is staying C# because there's no benefit in shifting that to whatever language like there was with the API server.

I have started running some stuff under mono though!

Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by aespinoza on Monday October 15, 2012 @07:34PM (#4657662)
You know, we have also began testing with mono on the backend. And I love it. This create a really cool flexibility of running your apps in Linux and Windows... :D
Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by Rastafarian on Monday October 15, 2012 @01:41PM (#4656147)
Did you had a look at .NET 4.5? It has WebSocket support and very convenient async keyword. Seems to me it can match easily match Node for a site like Playtomic.

(I was replaying to benologist's comment, but there's a bug in HN system)

Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by j_s on Monday October 15, 2012 @03:11PM (#4656647)
While .NET 4.5 makes a lot of things easier, there's nothing new. Sweeping generalization: it's all been syntactic sugar since generics arrived in 2.0. (This was especially evidenced by all the magic done by the Rx people as the only MS team interested in supporting 'legacy' framework versions.)

For example, the 'official' WebSocket support (SignalR):

https://github.com/SignalR/SignalR/issues/96

  > Please support .NET 3.5 Please
  > ...
  > Of course it's technically possible, but it's not a goal.
Re:Simpler, Cheaper, Faster: Playtomic's Move From .NET To N... by benologist on Monday October 15, 2012 @01:46PM (#4656177)
This all started a few years ago on .NET 2.0 originally, the NodeJS rewrite began before the 4.5 beta was even announced.