Project Darkstar

2,088 views
1,925 views

Published on

Published in: Education, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,088
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
47
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Project Darkstar

  1. 1. Project Darkstar Ahmed Mohamed Saeed Sun Campus Ambassador [email_address]
  2. 2. Project Darkstar In Detail What is Project Darkstar? Agenda What To Do/Where To Go Demonstrations Starting your online game
  3. 3. What is Project Darkstar? “ Project Darkstar is a software infrastructure that simplifies the development of game servers that take full advantage of today's multi-core processors, delivering a new generation of scalability to online games, virtual worlds, and social networking applications. Project Darkstar was created by Sun Microsystems Laboratories, is freely available to all, and is today advanced as an open source project by the Project Darkstar community.”
  4. 4. What's a Game Server? Everyone and Everything Participating on the Network <ul><li>Server-side logic of online games </li><ul><li>Connected to player/client-side logic via the internet </li></ul><li>Usually responsible for: </li><ul><li>Maintaining critical player data and shared game state
  5. 5. Coordinating player communications and interactions
  6. 6. Interfacing with billing and transaction systems
  7. 7. Cheat detection & correction </li></ul><li>Deployed across one or more physical server machines </li><ul><li>May serve thousands, even millions, of players
  8. 8. Large game datacenters may utilize thousands of servers </li></ul></ul>
  9. 9. Current Game Server Architectures Everyone and Everything Participating on the Network <ul><li>Product of pragmatic evolution </li><ul><li>loosely knit collection of self-contained “zone” servers </li></ul><li>Don't scale well </li><ul><li>are mono-threaded
  10. 10. maintain most game state in memory
  11. 11. zones are fixed in number, variable in 'size' </li><ul><li>game's scalability limited by scalability of zone server(s)
  12. 12. zones are hard-to-size, so servers are utilized inefficiently </li></ul></ul><li>Are inflexible and costly to create and maintain </li><ul><li>are homegrown...
  13. 13. or, based on proprietary technology </li></ul></ul>
  14. 14. Project Darkstar: Designed to Scale Everyone and Everything Participating on the Network <ul><li>Tasks fixed in size (small), variable in number </li></ul><ul><ul><li>scalability limited only by number of available cores </li><ul><li>or by extension, in the future, by number of servers </li></ul><li>small tasks use servers efficiently </li></ul><li>Distributed interactions enabled (necessarily) </li><ul><li>Unbounded gameplay
  15. 15. Bonus: data persistence </li><ul><li>Data integrity intrinsically assured
  16. 16. Enables evolvable virtual worlds </li></ul></ul><li>Easy to create and maintain </li><ul><li>Simple programming model </li></ul></ul>
  17. 17. Everyone and Everything Participating on the Network Project Darkstar: A Developer's View Project Darkstar Core Services DataManager TaskManager ChannelManager AppContext ChannelListener ClientSessionListener AppListener
  18. 18. Project Darkstar: Under the Covers Channel Service Session Service Watchdog Service Node Mapping Service Transaction Coordinator Scheduler Identity Coordinator Profiling Configuration Project Darkstar Core Services DataManager TaskManager ChannelManager AppContext ChannelListener ClientSessionListener AppListener
  19. 19. Additional Features & Benefits <ul><li>Open and extensible </li></ul><ul><ul><li>Open APIs enable integration w/ game engines & dev tools
  20. 20. Supports connections from clients regardless of language client is written in or OS that client runs on
  21. 21. Java server runs on any OS
  22. 22. Supports server extension </li></ul><li>Open Source Community </li><ul><li>Cutting edge innovation
  23. 23. Source code accessibility
  24. 24. Rich community support
  25. 25. Pricetag that can't be beat: Free! </li></ul><li>Sun led community </li><ul><li>Brings proven expertise with large scale computing
  26. 26. Proven commitment to and support for open source </li></ul></ul>
  27. 27. A Visionary Architecture Project Darkstar further aims to be fully distributed, enabling massive scalability across multiple game server nodes Project Darkstar is already: <ul><ul><ul><li>Easy to program
  28. 28. Multi-threaded
  29. 29. Fault tolerant
  30. 30. Open and flexible </li></ul></ul></ul><ul><ul><ul><li>Freely available </li></ul></ul></ul><ul><ul><ul><li>Community-driven </li></ul></ul></ul>
  31. 31. Project Snowman Example Game Reference: https://project-snowman.dev.java.net/
  32. 32. Project Wonderland Video Reference: https://lg3d-wonderland.dev.java.net/
  33. 33. Getting Started with Project Darkstar <ul><li>Download server and client code from http://www.projectdarkstar.com
  34. 34. Review dependencies (JDK6) and acquire the required libraries (Berkeley DB & Apache Mina)
  35. 35. Follow README instructions to install
  36. 36. Start Tutorials to develop a simple application and demonstrate client/server communication
  37. 37. Simple Installer (developed by students) and student course coming soon...
  38. 38. Solid community support through Forums </li></ul>
  39. 39. Online Game Development Lesson Plan <ul><li>Use Project Darkstar to get going
  40. 40. Leverage open source Project Snowman game to learn the craft
  41. 41. Focus on your game logic
  42. 42. Choose your client platform
  43. 43. Employ abundant open source options </li><ul><li>http://www.projectdarkstar.com/components/com_mambowiki/index.php/Open_Source_Technologies_for_Game_Developers </li></ul><li>Share and collaborate </li></ul>
  44. 44. Project Darkstar Resources <ul><li>Project Darkstar Community Website: http://www.projectdarkstar.com </li><ul><li>Download: Current & past releases, release notes
  45. 45. Learn: Tutorials, technical articles, faq
  46. 46. Start: Developer resources, example applications
  47. 47. Participate: Forums, how to get involved </li></ul><li>Project Darkstar Wiki: http://www.projectdarkstar.com/wiki.html </li><ul><li>Documentation, Applications, Projects </li></ul><li>Source Code: https://sgs-server.dev.java.net/source/browse/sgs-server/ </li><ul><li>Browse or check out Project Darkstar server source code </li></ul></ul>
  48. 48. <ul><li>Download Project Darkstar
  49. 49. Join the community
  50. 50. Participate on the forums
  51. 51. Checkout the source code
  52. 52. Do Project Darkstar tutorials
  53. 53. Collaborate with your friends
  54. 54. Develop an online game
  55. 55. Enter the contest
  56. 56. Have fun! </li></ul>http://www.projectdarkstar.com Project Darkstar Get Ahead of the Curve
  57. 57. THANK YOU! Project Darkstar Ahmed Mohamed Saeed Sun Campus Ambassador [email_address]

×