Automated Testing Using the LINE Ad SDK

This post introduces how to run tests with the ad client module provided for the LINE Platform. The LINE ad client module runs on both mobile and the web. This post will focus on testing with a mobile client.

LINE Ads Platform overview

The structure of the LINE Platform is quite simple as shown below. Various types of protocols can be used for server-client communications. This post will focus on testing with the HTTP protocol.

LINE TODAY Service – True Agile development

Introduction

In this blog post, I’d like to explain how the LINE TODAY service was developed using the Agile development method. LINE TODAY is a mobile news service that was released in Taiwan, Thailand, Indonesia, Myanmar, and the United States in early 2016. As of July 30, 2016, the service recorded nearly 30M daily PV (page views). In Japan, a service similar to LINE TODAY is available under the name of LINE NEWS.

Panel discussion at GitHub Universe 2016

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.

Using LINE Notify to send messages to LINE from the command-line

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.

The architecture behind chatting on LINE LIVE

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 Developer Day 2016 recap

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!

Applying Kafka Streams for internal message delivery pipeline

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:

The next step for even safer messaging: Letter Sealing

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.

Applying CircuitBreaker to Channel Gateway

Before reading

If you have yet to read the introductory article to circuit breakers, I recommend you read the following article first: Circuit Breakers for distributed services

Applying CircuitBreaker to Channel Gateway

Channel Gateway servers provide various LINE server features to content providers. This is why Channel Gateway servers are highly affected by the servers they are connected to, with the effects easily spreading across all Channel Gateway servers.