LINE Engineering
Blog

  • Panel discussion at GitHub Universe 2016
    Inami Yasuhiro (Inamiy) 2016.11.09

    An iOS developer at LINE. A lover of functional programming.

    Hello, my name is Inami (@inamiy), a member of the LINE development team. In this post, I'll be sharing my experience from being a part of the panel discussion at GitHub Universe 2016.

    About GitHub Universe 2016

    GitHub Universe 2016 took place during September 13-15 at Pier 70 in San Francisco.
    Inside the refurbished warehouse, now conference hall, gathered over 1500 developers, technology and business leaders. Beginning with a keynote presentation from GitHub cofounder and CEO Chris Wanstrath, over 40 speakers from all over the globe gave talks on various open source projects and business activities.

    I was invited as the sole Japanese member at the panel discussion.

    Below are some photos from the event.

    Here is Pier 70, the event venue, and Octocat looking down from above the roof.

    GitHub Universe GitHub

    Read More

  • Using LINE Notify to send messages to LINE from the command-line
    Watanabe Hirofumi 2016.11.01

    He is in charge of the development of LINE Notify. 

    Foreword

    Hi, my name is Watanabe and I'm in charge of the development of LINE Notify. In this post, I'd like to share how developers can use LINE Notify to send messages to LINE straight from the command-line.

    Up until now sending system messages to LINE either required a Bot API Trial or Business Connect account. While both are improved by Messaging API and provide many great features, they require a high level of implementation.

    LINE Notify is an API that has a limited set of features, streamlining the whole process of sending messages to LINE.

    Sending messages using cURL

    By generating your own "personal access token" through LINE Notify, you can send messages by sending an HTTP POST request to the API endpoint. Any method can be used as long as it uses an HTTP request. In this post, let's go over how you can use the HTTP client cURL.

    LINE Notify

    Read More

  • 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