Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to create online games and focus on the performance from the beginning.

I searched on the internet, but didn't find any an particular answer concerning the design level or development level aspect, such as


  • Design Patterns,

  • Protocols,

  • Techniques,
  • Data transfer(games state) ,

  • Formats(JSON/serialization)

;

which are crucial to create high performance online games can most of the articles are talking about hardware consideration, but you know that is not what I am looking for.

share|improve this question
1  
Your question is too broad. I think you need to narrow and pick performance in a particular area, i.e. latency vs. rendering vs. whatever. –  ashes999 Oct 27 '11 at 14:20
1  
Why do people USE random UPPER CASE to get POINTS across, you look like a serial killer sending notes to the police =P The reason you don't find anything specific is because ALL games are MADE with performance in mind. it's like trying to ask a fish about water. –  Patrick Hughes Oct 27 '11 at 15:23
    
Edited. But I also think this is too broad a question. –  Josh Petrie Oct 27 '11 at 15:35
    
"Why do people USE random UPPER CASE to get POINTS across" where.. what... no idea; self assumption... "because ALL games are MADE with performance in mind" So what they do when they have "performance" in mind and that is the Question... –  static void main Oct 27 '11 at 19:13
    
Your edit doesn't really make the question any less broad. Try to ask specific, directed questions about an actual problem rather than questions where you could expect a litany of answers. –  Josh Petrie Nov 1 '11 at 15:26
add comment

1 Answer 1

I'm a chinese programmer.We usually transfer Packet like this:
Length,Type,Data
and Length is short in C/C++,Type short,Data is raw string(binary data). We did not serialize anything but just put the C/C++ struct into the Data,because doing this can get a good performance.
and,if you want to serialize your object into Packet,you should try protocol buffer or thrift.They are scalable and high performance.

And,performance is a big topic.The basic idea is having performance problem,you should get the Hot Code,and fix them.

I am takling with you about the same thing, right?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.