[Architecture] segmentfault (thinking)

Source: Internet
Author: User

Segmentfault is a Q & A website similar to Quora, stack overflow, zhihu, and others.

 

> Enhanced search

And Stack Overflow only put a search box in an inconspicuous position in the upper right corner;

Segmentfault puts it next to the title logo and uses search as a top technical problem at the beginning.

The Lucene engine was initially used as a back-end search service for Java. Later, the entire search was transferred to the redis platform. redis was used for intra-site search, which is more efficient and accurate.

Chinese Word Segmentation;

 

> Architecture

Storage: redis not only meets some memcached services, but also has a data structure that meets the needs well. For example, hash, list, and ordered list can all meet our needs well. In terms of language selection, we had a lot of options at first, but later we chose

Language: select the most familiar PHP

Database: MySQL (MySQL percona is mainly used to optimize the InnoDB engine)

Backend cache: redis

Image Storage: youpai cloud storage (advantage: You can customize the image scaling size ...)

Chinese Word Segmentation: scws

Email Service: aws ses (Amazon simple email service) (if you build your own email server, it may be considered as spam and may encounter other problems, however, if you use the Amazon Service, there will be no such problem .)

Openid: third-party logon is performed on most platforms outside China. More than nine third-party logon methods are supported, which greatly facilitates Chinese users.

 

> References:

Http://www.infoq.com/cn/articles/interview-segmentfault-sunny-joyqi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.