2017-04-16

マストドンが直面している問題はすでにP2P技術が15年前に遭遇した問題だ

Media content caching strategy · Issue #1847 · tootsuite/mastodon

日本勢がマストドンに目をつけ始め、Pixivがマストドンのインスタンスを立ち上げてからというもの、マストドンは2つの問題に直面している。

  1. 日本国内で合法である現実に基づかない純粋な思想の表現である絵が海外基準では児童ポルノであり違法なデータである
  2. 画像投稿を主目的とするPixivの利用形態により大量のトラフィックとストレージがキャッシュとして消費されるため貧弱なインフラでは耐えられない

これにより、Pixivによるマストドンのインスタンスは海外で主流のマストドンのインスタンスから遮断された。

現在、マストドンのコミュニティではこの問題に対する議論が行われているが、この問題には見覚えがある。15年前のP2P技術が流行した時代と同じ問題だ。我々は歴史に学ぶべきである。

今をさかのぼることおよそ15年前、P2P技術があらゆる問題を解決する夢の技術として期待されていた。当時、P2P通信により、インターネット上に分散メッシュネットワークを構築し、その分散メッシュネットワーク上に、ファイル共有、掲示板、チャット、ブログ、Webページ、その他あらゆるネットワーク通信を実装していた。純粋な分散メッシュネットワークでは、すべての参加者が、計算機、ストレージ、トラフィックなどの資源の大小を別にすれば、平等である。

その実装方法は様々で、例えば特定の機能に特化した実装、例えば、ファイル共有や掲示板のWinny、ファイル共有のBitTorrent、チャットのSkypeのような実装もあれば、Webページのようなより汎用的な機能を提供するfreenetのような実装、あるいは分散メッシュネットワークを構築した上でローカルsocksプロクシーサーバーとして動作して通過的にTCP/IPをアプリケーション層に提供するような実装もあったはずだ。

その具体的な実装方法については様々な方法が乱立して試されたが、どれも同じ問題を抱えていた。現在のマストドンが抱える問題と同じだ。

  1. 著作権侵害、児童ポルノ、その他の違法なデータ(ドイツにおけるナチ党のシンボルなど)がネットワーク上に蔓延する
  2. ネットワークに参加するノードがキャッシュとしてデータを溜め込むためにネットワークに参加するための計算機、ストレージ、帯域などの資源が莫大になり、個人が参加しづらくなり、結果としてゲートウェイ経由での参加が増える

その結果どうなったか。まず、ソースコードを公開せず、プロトコルの仕様も公開しないような閉鎖的な実装であるWinnyは滅びた。純粋な分散メッシュネットワークにこだわったfreenetのような実装は問題2.によってスケールせずに非効率性によって実質的に廃れた。

当時を生き延びて今も使われている実装もある。例えばSkypeとBitTorrentだ。

Skypeは当初P2Pな分散メッシュネットワーク(完全に平等ではなく、特にトラフィックに余裕のあるノードがスーパーノードとして局所的な管理サーバーの役割を果たし、NAT超えのために通信を仲介するリレーノードも存在した)によるチャットの実装であったが、今ではMicrosoftの管理するところとなり、その実装はサーバークライアント型の中央集権的で効率的な実装に切り替わった。もはや、今のSkypeはP2Pではなくなってしまった。とはいえ、表向きの末端のユーザーに対する利便性には違いがないので、よく使われている。

BitTorrentプロトコルは当初、純粋な分散メッシュネットワークではなかった、サーバーでファイルのメタデータやファイルを保有しているシードと呼ばれるノード、ファイルをダウンロード中のピアと呼ばれるノードを管理する。ファイルをダウンロードするには、すでに完全なファイルを保有しているシードの他に、現在部分的にファイルを保有しているピアからも分散してダウンロードを行う。後にファイルのメタデータに対するハッシュ値だけで、ファイルのメタデータとピア/シードの取得も分散メッシュネットワークを介して行う実装も追加されたが、依然として最初のハッシュ値を分散メッシュネットワーク単体で検索したりする機能は提供されないので、やはり何らかの中央管理的なサーバーは必要だ。

P2P技術を利用したファイル共有には著作権侵害などの負のイメージがつきまとうが、BitTorrentプロトコルは数あるファイル共有プロトコルの中でも、特にサーバー側で多大なトラフィックが必要ないという点から、今でも自由なOSのISOイメージの配布とか、ソフトウェアのアップデートを全コンピューターに行き渡らせるためなどの目的で活用されている。

当時のP2P技術を考え、現在の実用化された例を参考にすると、問題の解決方法が見えてくる。

問題1.を解決するには、結局有人の検閲を設置するしかない。問題2.は解決できない。純粋な分散メッシュネットワークによりすべての参加者が平等であることを目指すのであれば、すべての参加者が平等に全ネットワークのコストを負担するので、ネットワークの規模が拡大するほど参加者の負担が増えてしまう。

さて、話をマストドンに戻そう。マストドンはOStatusプロトコルの実装で、もともとは当初StatusNetと名乗り、今はGNU Socialと名乗っているソフトウェアの互換実装だ。その目的は、単一の企業からのSNS支配の解放だ。

その思想と設計はこうだ。TwitterやFacebookのような一企業がSNSの実装とインフラを独占しているから不平等な権利格差が発生するのだ。SNSの自由な実装を提供し、誰もがSNSのインスタンス(サーバー)を立ち上げることができればこの権利格差は解消する。インスタンス同士がデータを相互にやり取りできるように互換性のあるOStatusプロトコルで通信できるようにしておけば、どのインスタンスを選ぶかという問題は、どのインスタンスが便利で信頼に値するかという問題になる。既存のインスタンスのどれもガキに食わないのであれば、自分でインスタンスを立ち上げればよい。

考えようによっては、サーバー同士がゆるくわずかにP2P風に繋がっていると考えることもできる。もちろん、分散メッシュネットワークほどの強い結びつきではない。RSSをすこし強力にしたようなデータ共有用のOStatusプロトコルでお互いにデータを共有できるという程度の薄いつながりだ。

さて、問題1.に対処するには、有人の検閲を設置するしかない。有人の検閲を設置するには、結局企業としての資本や雇用が必要だ。企業による支配から脱却することを目指しているマストドンとしては皮肉なことに、企業が必要になる。自分のインスタンス内のデータの適法性については十分な資本と労力さえかければ検閲できるが、よそのインスタンスのデータはどうしようもない。すると、外から内へのリモートフォローは無効化せざるを得ない。

問題2.に対処するには、強力なインフラが必要だ。大規模なデータセンター、ストレージ、トラフィックを提供する必要がある。これにも、企業による資本が必要だ。ネットワークの規模が大きくなっていくと、これまた皮肉なことに個人ではその規模のインフラを提供できず、企業には勝てない。そして、規模が大きくなっていくと、すべてを無制限にスクレイピングできるAPIを外部に提供することがパフォーマンス上難しくなっていくだろう。そこで、内から外へのリモートフォローも無効化せざるを得ない。

こうして、マストドンのインスタンスをまともに運営できるのは十分な資本と、最低でも数百人規模の労働者を雇用している潤沢なインフラを提供できる企業だけになるだろう。個人がマストドンのインスタンスを立ててももはやマストドン全体のデータを格納できるだけのトラフィックとストレージを用意することすら難しくなる。現在のマストドンは、個人でもインスタンスが建てられるような小規模な実装になっている。ユーザーが増えていくと、企業はマストドンを大規模なインフラ上でスケールさせるために実装を改善していくだろう。そのような大規模にスケールする実装は、個人でインスタンスを立てるのが難しくなってしまうだろう。

そして、自らが管理するインスタンスだけで何十万、何百万ものユーザーを獲得した企業は、もはや外のインスタンスと連携する必要すらない。自らのユーザーだけで自己完結できるのだから、検閲上、パフォーマンス上の理由も合わせて、外部との連携を断つ。これは企業として適切な判断ではあるが、結果としてユーザーは分断される。

その結果実現される未来は、現在のTwitterの実装が公に公開される程度の未来だ。誰でもTwitterと同じサービスを提供するサーバーを立てることは技術的に可能だ。ソフトウェア実装はすべて公開されている。ただしインフラの規模は個人で実現できる範囲を大幅に超えている。

結局、マストドンは思想的にも設計的にも、当初の目的である単一の企業からのSNS支配の解放を達成することはできないだろう。仮にマストドンがTwitterを置き換えたとしても、マストドンのインスタンス運営のためには十分な資本、労働者、インフラ、政治ロビー活動ができる企業が必要になり、現在のTwitterと同じ問題が発生する。ユーザーはマストドンが極めて抑圧的であると不満を持ち、やがて、「既存のマストドンの代替する分散型のSNS実装を公開する。これは単一のマストドンコミュニティにより我々のコミュニケーションが独占されるリスクを防ぐ!」などという運動が持ち上がることだろう。歴史は繰り返す。

唯一の救いは、マストドンのライセンスはAGPLであるので、その実装が公に公開されるということだろう。

追記:Winnyの金子勇が自著でプロトコルを公開したのは、金子勇が刑事裁判に巻き込まれてからであり、もはやWinnyは廃れて、競合の同等機能を提供する他のP2Pファイル共有ソフトウェアの方に人は移行していた。

126 comments:

  1. Winnyがプロトコルを公開していない、というのは嘘で、「Winnyの技術」という作者自身が執筆された本で公開されています。

    ReplyDelete
  2. OStatusは本当に素晴らしい設計ですが、なぜかあちこちにウイルスまがいの情報をばらまくというたった一つの欠点があるゆえ酷い有様になっているように感じます
    ここだけ改善されればRSSの上位互換として使われる余地はあるのではないのでしょうか。その前にRSSを改良したAtomをなんとかして欲しいところがありますが

    ReplyDelete
  3. > 既存のインスタンスのどれもガキに食わないのであれば、

    ReplyDelete
  4. 今話題のブロックチェーンも全く同じ問題を抱えているはずですが誰も指摘しないのは何故でしょう?

    ReplyDelete
  5. なんかマストドンの問題というよりもSNSそのものの問題のような気がしてきた。
    ってか人間が何らかのコミュニティを作ると必ず生じるジレンマのような
    技術でなんとかなるのかなぁコレ

    ReplyDelete
  6. MPSC telegram Channel thanks for giving information on the Topic

    ReplyDelete
  7. Welcome to our site. On our site, you will find information on our Great Dane puppies for sale, upcoming litters, available adult Registered great Dane puppies for sale, links to other Dane breeders, local shows, boarding and handling services, classes and seminars and a lot of health, care and training resources that are helpful to Dane owners. We also offer a number of items for sale, including great fleece dog pads and cot beds.The most reliable kennel where you can buy and ship Great Dane Puppies to Australia, UK, Canada, Germany from the best and most reliable Great Dane breeders. We have AKC Registered Great Dane Puppies For Sale.You can CLICK HERE and view our available dane puppies and Buy cropped ears Dane puppies

    ReplyDelete

  8. https://vapecartsonlinemarket.com For some, the times of palming eighths from Brass Knuckles for sale Online a decrepit seller are finished — as states scramble to legitimize Mario Carts for sale online recreational and medicinal pot, devouring weed has turned out to be Tinctures for sale online sleeker, cleaner, and increasingly confused.

    With the flood of cannabis-related items in lawful states, looking for weed is all the additionally befuddling Brass Knuckles for sale Online. The amount THC would it be advisable for you to search for in your vape cases? What the heck is a terpene? Should your vapes produce gigantic mango-scented mists?

    Sativa or Indica?

    On the off chance that you've at any point gone around a joint, you've likely posed the fundamental inquiry for all stoners: Is this a sativa or indica?

    While indica-overwhelming strains are known for the most cliché, obfuscated “Mario Carts for sale online" high, sativas guarantee to advance imagination with a reasonable personality. Raber says that is for the most part horse crap.

    Listen to this: Labeling something as a sativa or indica doesn't disclose to you much with the exception of what the plant resembles. Cultivators still arrange strains by indica and sativa marks to signify development designs and physical qualities. As Weedmaps puts it, "Botanists utilize these terms to arrange plants based on shared attributes, not on their impacts on the human body."

    As per Tinctures for sale online, most strains are pretty hybridized now. In case you're searching for a particular sort of high, you should watch out for terpenes. There are four broadly utilized cutting operators: Polyethylene glycol (PEG), Propylene glycol (PG), Vegetable glycerin, and coconut oil. Since vegetable glycerin is "progressively like water," as indicated by and keeping in mind that coconut oil and other unsaturated fats mix perfectly for tinctures, they're not perfect for vaping in light of the fact that they will in general dry out more rapidly






    ReplyDelete
  9. DANK VAPES STORE


    Order Vape Dank Carts. In this day and

    age, cannabis
    is shared among a wide spectrum of people. Whether it be for recreational or

    health-related reasons, we understand that cannabis is a way of life. Most

    especially, When it comes to ease of use, portability, and functionality, one

    cannabis product stands tall above the rest. That is the Dank Vape Cartridge. You may know them as pre-loaded cannabis oil vape cartridges,

    hash oil vape pens, or even disposable

    wax pens.


    Dank Vapes is a unique and healthier way

    to medicate anywhere and everywhere. Vape

    dank
    premium cartridge is a smoke-

    free, tar-free alternative to traditional cannabis. Also, Vape Dank is a 1000MG Pre-filled,
    disposable cartridge that is universal

    with any standard 510 E-Cigarette or Vaporizer. Vape Dank Carts pre-filled oil vape cartsare the easiest method of enjoying

    hash oil while on the go. Their sleek and minimalist design allows for discreet vaping, free of the distracting qualities

    that larger setups or raw cannabis products may carry (such as noticeable smoke or

    odor).

    ReplyDelete
  10. Very nice post, I have been wondering. Thank you for sharing this.Taking the lead among the ever growing list of vape cartridges is the dank vapes Cartridges for good reason. The leading benefit for vaping cannabis using Dank Vape Cartridges or dank carts is that it’s a healthier alternative to smoking flower, as vapour doesn’t release the tar and carcinogens created during combustion the process of burning flower).dank vapes online, sometimes called THC honey oil, THC vape juice, Organic hemp seed oil, THC Oil, CO2 extracted oil, Hash oil, BHO extracted oil, distillate and Rick Simpson Oil. contains a high concentration of THC. It is derived from the cannabis plant and contains high levels of THC. CLICK HERE and get dank vapes and cannabis oil cheap.

    Welcome to Scottish Fold Cattery, home of Scottish fold kittens. As Registered and well recognized Scottish fold kittens Breeders, we have been raising Scottish Fold kittens since 2012. A family run cattery, we have extensive experience in breeding and grooming Scottish Fold Kittens . We provide an opportunity to become an owner of our Scottish fold kittens for adoption. We equally provide shipping services to ensure your kitten arrives your location with no hassles. click here and read more Scottish fold kittens for sale about the Scottish Fold cat https://www.dankvapesuppliers.com https://www.scottishfoldcattery.com

    0 Votes

    ReplyDelete
  11. Very nice post, I have been wondering. Thank you for sharing this.Taking the lead among the ever growing list of vape cartridges is the dank vapes Cartridges for good reason. The leading benefit for vaping cannabis using Dank Vape Cartridges or dank carts is that it’s a healthier alternative to smoking flower, as vapour doesn’t release the tar and carcinogens created during combustion the process of burning flower).dank vapes online, sometimes called THC honey oil, THC vape juice, Organic hemp seed oil, THC Oil, CO2 extracted oil, Hash oil, BHO extracted oil, distillate and Rick Simpson Oil. contains a high concentration of THC. It is derived from the cannabis plant and contains high levels of THC. CLICK HERE and get dank vapes and cannabis oil cheap.

    Welcome to Scottish Fold Cattery, home of Scottish fold kittens. As Registered and well recognized Scottish fold kittens Breeders, we have been raising Scottish Fold kittens since 2012. A family run cattery, we have extensive experience in breeding and grooming Scottish Fold Kittens . We provide an opportunity to become an owner of our Scottish fold kittens for adoption. We equally provide shipping services to ensure your kitten arrives your location with no hassles. click here and read more Scottish fold kittens for sale about the Scottish Fold cat https://www.dankvapesuppliers.com https://www.scottishfoldcattery.com

    0 Votes

    ReplyDelete
  12. 1688upx com เข้า สู่ ระบบ วิธีการเข้าถึงและตะลุยโลกของโอกาสออนไลน์ที่ไม่เหมือนใคร คู่มือครอบคลุมนี้จะนำคุณผ่านกระบวนการขั้นตอนอย่างละเอียด PGSLOT เพื่อให้คุณมีความเชี่ยวชาญ

    ReplyDelete

You can use some HTML elements, such as <b>, <i>, <a>, also, some characters need to be entity referenced such as <, > and & Your comment may need to be confirmed by blog author. Your comment will be published under GFDL 1.3 or later license with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.