Skip to main content

Presented about Okio & OkHttp internal implementation at DroidKaigi Rejectcon

note

This article has been translated by Gemini.

f🆔shaunkawano:20180217192911j:plain

I presented about the internal implementation of Okio & OkHttp at DroidKaigi Rejectcon.

The slides are here:

speakerdeck.com

DroidKaigi Rejecton
#

connpass.com

The preparation period was a little over a week, from when DroidKaigi ended until today.

Background to the Presentation
#

I had wanted to read the internal implementation of famous libraries for a long time. So, I decided to present with stsn_jp, with whom I hold a weekly information sharing session, and we applied for the niche slot at DroidKaigi.

However, since this CFP didn’t pass, we heard there were still slots available at DroidKaigi Rejectcon and applied this time.

I Imagined It, But It Was More Than I Imagined
#

Libraries like Okio and OkHttp are probably used by many recent Android engineers. However, despite being so famous, explanations about the internal code are not easily found on the internet. Furthermore, seeing the Github Activity of Jake Wharton and Jesse Wilson, these libraries are actively developed daily, so I felt it was important to know the details.

I only started reading little by little after DroidKaigi ended, and started cold reading and creating materials in earnest from the day before and two days before. I have to reflect that the preparation period was short for such a big subject. I’ll summarize the insights gained from cold reading and content I couldn’t present this time in another article. But, understanding processing around Socket and Buffer, understanding Threads which I studied a bit when I started Java but haven’t touched or been conscious of recently… there were many times I felt I had to study really basic things, so it was a very stimulating preparation period.

Also because it was after DroidKaigi, I feel I wouldn’t have been able to input this much without this opportunity.

Once again, thank you @stsn_jp for inviting me and applying together, and @heki1124 and @shihochan for your great help with operations.

Conclusion
#

I was happy to hear people say it was interesting!

I want to do it STEP By STEP! (๑•̀ㅂ•́)و✧

That’s all!