分布式JSON對等協議 TeleHash
TeleHash 是一個新的用來實時和去中心化的JSON交互協議,可讓應用在網絡的邊界直接進行連接。受益于 TeleHash,應用程序之間可高效的進行路由和分發小的數據。
示例:
// basic Telex with example command { "_ring":43723, ".see":["5.6.7.8:23456","11.22.33.44:11223"], } // Telex with example signals { "+end":"a9993e364706816aba3e25717850c26c9cd0d89d", "+foo":"0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33" } // Telex of a normal JSON object sent between to Switches { "_to":"1.2.3.4:5678", "_line":63546230, "profile_image_url": "http://a3.twimg.com/profile_images/852841481/Untitled_3_normal.jpg", "created_at": "Sat, 08 May 2010 21:46:23 +0000", "from_user": "pelchiie", "metadata": { "result_type": "recent" }, "to_user_id": null, "text": "推ter is dead today.", "id": 13630378882, "from_user_id": 12621761, "geo": null, "iso_language_code": "en", "source": "<a href="http://推ter.com/">web</a>" },
本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!