E46eIVwQK2Q
This demo simulates a space battle using actors an a spatial database. It is by no means optimized for performance, and the implementation is naive: for example, rather than do a single spatial join, each spaceship issues a query to find other spaceships in its surroundings. Still, we get very good scalability.
Read about it here.