Mercari Engineering Blog

We're the software engineers behind Mercari. Check out our blog to see the tech that powers our marketplace.



こんにちは、メルペイのバックエンドエンジニアの cowsys です。






こんにちは、メルカリでCXP-Core(CXP: Customer Experience Platform)でBackend Engineer/スクラムマスターとして働いている@wakoです。今回は私のチームのスクラムレトロスペクティブで使われているWin/Learn/Tryフレームワークを共有させていただきます。*1





Building automated workflow using Slackbot and CircleCI

Hi, I’m @celia, an iOS Engineer working at Merpay. Last time, I wrote about the different aspects of infrastructure in Mercari’s mobile team, and introduced a few tools we made that makes our team more productive (article is available here). Today I want to share with you about some improvements we made recently, on automating code integration between Merpay and Mercari iOS.


Let me first explain the problem we are trying to solve. As you may have guessed (because we have a code integration problem), Merpay and Mercari’s iOS codebase is stored in different GitHub repositories. Merpay’s code exists in Mercari app as a git submodule, and it is managed using a dependency manager called Carthage. Other than develop, commit and push, updating Merpay code in Mercari is an integral part of our tasks.

If you are an iOS developer who is familiar with Carthage, feel free to skip this part. For those who don't, let me explain how Carthage update works. It uses a file named Cartfile to keep track of dependencies for your project, pointing to the corresponding version or git position that it’s checking out from. In Cartfile, the dependency information is specified in the following format:

github "owner/merpay-ios-sdk" "1.3.0"

To update it, overwrite the Cartfile to the latest position, and run command carthage update in the console under your project directory. You can find details in Carthage’s documentation.


Automatically measure your clothes on a smartphone with AR

Hi, I’m Yuanqin Lu, a machine learning engineer from the Image Search team in Mercari Japan. Mercari always tries to improve the experience for customers by helping them fastly put up items, easily find items, and conveniently buy items. In order to do so, product managers and engineers are working together on lots of Proof of Concepts (PoCs). Although not all of those PoCs will be released in Mercari recently, some of them are still inspired and possibly to be released in the future. Today I’d like to introduce one of the PoCs that will help customers fastly put up items to the market. Before that, let us show you what it is through the following video.

demo of auto-measuring


In Mercari, a fashion item if put up with information of size, like shoulder width, body length, etc., is more likely to be sold. However, for a seller who has seldom put up the fashion items before, it takes a quite long time to measure all the sizes. For example, sleeve length, body width, body length, and shoulder width are usually demanded by a t-shirt. To measure the four sizes, in my case, it takes more than 3 minutes to do so. Also, even though a seller spends lots of time measuring, he is usually not confident in the results of the measurement. So, the motivation behind the PoC is to automatically, fastly, and accurately measure the sizes of the item by only taking a photo of it, as the PoC's name automatic measurement says.