Microblogging messaging system

First, the system introduced

Business Scope:

  • Point to point private letter
  • Group chat
  • Sending message

 

Second, the development stage

  1. Infancy - from scratch. Quick to realize the function
  2. Stage of rapid development - the rapid growth of users. Enhance throughput and performance
  3. Mobile phase - high proportion of mobile users. End optimization for mobile
  4. High Availability stages - user focus on service quality. Improve service availability

 

Third, the initial stage - fast implementation

Configuration message system

1, the basic elements: users, contacts, messages, session

 

2, the basic functions

  • Message transmission and reading
  • Relationship maintenance
  • Session Management

 

The challenge

1, the operational level:

  • Scratch
  • The demand iteration cycle is short, frequent changes

2, the architectural level:

  • Technology Selection
  • Rapid Development

 

How to solve

1, technology selection

  • Controlled mature technology stack
  • The experience can be multiplexed

2, Rapid Development

  • Rapid iteration (regression testing, on-line automated rollback)

 

Architecture

1, the function is simple, the station communication mode

2, to achieve even a short messaging via http

 

 

 

 

 

 

Experience

1, pragmatism: choose a mature technology stack controllable

2, ism: learning from existing proven experience and results

3, to improve efficiency through the development of on-line tools: regression testing, automated on-line roll back

Guess you like

Origin www.cnblogs.com/chjxbt/p/11023718.html