PHASE 03JOIN-type

The Construction of Scalable Architecture

Scalable architecture using CoreOS and Docker

TRAINEE:
Mutsumi Ichihara

Mutsumi Ichihara

withLifeLife

lifelife is a startup which runs a site to perform real estate brokerage at low cost.
We constructed the server of that site.
Up until now, all functions had been constructed on one server, however this resulted in
poor expandability and the inability to respond in times of concentrated access,
therefore we rebuilt using CoreOS and Docker to decentralize site functions.
This enabled function expansion while using the server efficiently and made it possible
for end-users to use the site comfortably even in times of concentrated access.

Figure: Outline

Construction of a New Server

Figure: system

About the Technology Used

Virtualization of container type using Docker

By adopting Docker, the lightweight container type virtualization technology, we created an infrastructure environment in which it was possible to easily scale web applications. Moreover, we made it possible to detect updates of designated branches and automatically deploy to an inspection environment. The latest server version is constantly shared with the team using chat, enabling easier communication.

Figure

Synchronization of configuration using the CoreOS standard etcd

By using etcd, the standard key value store, application configuration is shared between multiple nodes. Each web application container destination is managed on a lightweight proxy server which has etcd configured as the destination to save to, therefore it can be changed swiftly at the time of deployment.

Figure

Log collection and analysis using BigQuery

Experimentally, the application logs of each server are collected via fluetnd. If the operator writes the user behavior or event they wish to track in the application log, BigQuery uses regular expressions to extract this. We believe it has potential to become user analysis infrastructure in the future.

Prototype Background

  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background
  • Photo: Prototype Background

Future Development

Figure: Future Development

That is all for the rebuilding of the actual server.
Moving forward, we plan to offer an ongoing service based on this and expand and develop functions for world deployment.