LINE Engineering
Blog

  • The architecture behind chatting on LINE LIVE
    Hagiwara Go (Oklahomer) 2016.10.26

    This is Oklahomer from LINE Corp.

    This is Oklahomer from LINE Corp. In this post, I'd like to explain the architecture behind the chatting function of LINE LIVE, a video streaming service.

    Introduction

    LINE LIVE for iOS and Android has a chat feature that lets its users send comments in real-time while they are watching a live-streaming video. This not only lets users (or viewers in this case) communicate with each other, but it also lets the streamers connect with their viewers. Streamers can chat with their viewers back and forth, and sometimes plan their videos according to what the viewers say in the chat. This is why the chat is an integral part of the streaming experience.

    As you can probably imagine, celebrity live streams attract a large number of viewers, and along with them a torrent of comments. Comments sent to the stream must be simultaneously broadcast to every other viewer, and effectively distributing the load has always been one of our top-priority tasks. There are sometimes 10,000 comments sent per minute on just one stream alone.

    We took the possibility of large amounts of comments into consideration when we were developing LINE LIVE and presently have over 100 server instances in operation for the chat feature.

    LINE LIVE Architecture

    Read More

  • LINE Developer Day 2016 recap
    LINE 2016.09.29

    LINE Engineering

    Hello, this is Momoki from the LINE Developer Day preparation committee.
    LINE Developer Day has always been a gathering place for sharing various technological experiences and global challenges and trends, and LINE Developer Day 2016 has just successfully come to a close.
    You've shown us a great amount of support by registering for the event, so much so that we could only invite a few that were selected from a draw.
    We regret that we could only invite about 1000 of you to the event but we thank you all for showing tremendous support all the same!

    linedevday

    Read More

  • Applying Kafka Streams for internal message delivery pipeline
    Kawamura Yuto 2016.08.19

    He is an engineer working at LINE. He is in charge of developing and managing LINE's core data pipeline and storage which are built on top of some OSS technologies such as Apache Kafka

    Introduction

    Hello, my name is Yuto Kawamura. I'm a LINE server engineer in charge of developing and operating LINE's core storage facilities such as HBase and Kafka.

    Since the latter half of last year, I've been working on a new project called IMF, which stands for Internal Message Flow (or Fund). IMF has two main goals:

    • Develop a data pipeline which provides a unified way of delivering events between our systems.
    • Replace talk-dispatcher, a component in the LINE server system responsible for background task processing.

    The two goals may seem unrelated, but we're actually trying to adopt the same technologies for both; Apache Kafka and stream processing. Apache Kafka is a high-throughput distributed messaging system that was originally developed and used at LinkedIn. Although Kafka has various unique features, the most important ones are the following:

    Read More

  • The next step for even safer messaging: Letter Sealing
    Shin Kibin 2016.08.12

    He is a LINE engineer working on the messaging server.

    In New generation of safe messaging: “Letter Sealing”, we announced that end-to-end encryption (E2EE) has been made available on LINE messages.

    But we've made even more improvements to safe messaging over the past few months, expanding Letter Sealing to features other than one-on-one chats. We'd like to share some of them here in this post.

    Letter Sealing

    Read More

  • Official LINE Developer Day 2016 website and registration form
    Kushii Yusuke 2016.08.08

    In charge of actively and creatively promoting the technologies of LINE both in and out of the company. Also in charge of operations of LINE Developer Day 2016.

    We've already announced LINE Developer Day 2016. Today, we're happy to announce that the official website and registration forms are also available.

    linedevday

    Read More