Game development is challenging due to many front-end platforms and issues with sessions not scaling. Long polling and socket programming are alternatives to sessions, but require protocol and database considerations. Open-source alternatives like Reddwarf Server exist, but writing your own server is not recommended. SmartFox Server provides listener-based APIs and client libraries but does not scale and is expensive. Social game companies like Zynga and King use various stacks including Rails, Redis, Erlang and AWS. NoSQL databases like Redis and Riak can be better alternatives than relational databases for games.