How Bluesky Works
Bluesky is a social network for short posts, much like Twitter. The big difference is that no single company holds all the data. Each person has a personal store of posts that can move from one server to another. This makes it hard to build: many independent servers must work together, and the app must still feel fast.
10 min read10 মিনিটে পড়া যায় · 10 sections10টি সেকশন · 3 sources3টি সোর্স · updated Nov 2026আপডেট: Nov 2026
From your post to a stranger's feedআপনার পোস্ট থেকে অচেনা কারও ফিড পর্যন্ত
Follow a post from your own repository, through the crawler stream, to the index server. Then see the like count appear as a calculation.আপনার নিজের রিপজিটরি থেকে ক্রলার স্ট্রিম হয়ে ইনডেক্স সার্ভার পর্যন্ত একটা পোস্ট অনুসরণ করুন। তারপর দেখুন লাইকের সংখ্যা একটা হিসাব হয়ে আসে।
You’ll learnআপনি শিখবেন
- Where a post is saved: your own repositoryপোস্ট কোথায় থাকে: আপনার নিজের রিপজিটরিতে✓
- What the Relay does: one stream, no indexRelay কী করে: একটাই স্ট্রিম, ইনডেক্স নয়
- Why a like is saved in the liker's repoলাইক কেন লাইকারের রিপোতে থাকে
- Why the like count is a calculationলাইকের সংখ্যা কেন একটা হিসাব
- Why a new handle keeps old postsনতুন হ্যান্ডলেও পুরোনো পোস্ট কেন থাকে
The problem in plain words
In a central social network, one company runs all the servers and makes every moderation decision. But one authority can make mistakes, it can be biased, and the moderation work becomes a bottleneck as the site grows Source 1সোর্স 1. Bluesky started as a research project to build a decentralized network instead Source 1সোর্স 1.
Bluesky uses the federated model. It keeps the usual client and server roles, but different people can run the servers, and the servers talk to each other over HTTP Source 1সোর্স 1. Email works the same way: a Gmail user can write to a Proton Mail user.
The rules are an open protocol, the Authenticated Transfer Protocol (ATProto), and Bluesky is one app built on it Source 1সোর্স 1. Your data is shared by all ATProto apps, so you keep your followers if you move to another app on the protocol Source 1সোর্স 1.
The article gives a few numbers. One data server holds 6 million user repositories and costs about 150 USD a month Source 1সোর্স 1. Users can choose from more than 50,000 custom feeds Source 1সোর্স 1.
সহজ English
In a central social network, one company runs all the servers and makes every moderation decision. One authority can make mistakes or be biased. As the site grows, the moderation work becomes a bottleneck Source 1সোর্স 1. Bluesky started as a research project to build a decentralized network instead Source 1সোর্স 1.
Bluesky uses the federated model. Clients and servers still exist, but different people can run the servers. The servers talk to each other over HTTP Source 1সোর্স 1. Email works the same way: a Gmail user can write to a Proton Mail user.
The rules are an open protocol, the Authenticated Transfer Protocol (ATProto). Bluesky is one app built on it Source 1সোর্স 1. All ATProto apps share your data. So if you move to another app on the protocol, you keep your followers Source 1সোর্স 1.
The article says that one data server holds 6 million user repositories and costs about 150 USD a month Source 1সোর্স 1. Users can choose from more than 50,000 custom feeds Source 1সোর্স 1.
বাংলা ব্যাখ্যা
একটি central social network-এ একটি company সব server চালায় এবং moderation-এর সব সিদ্ধান্ত নেয়। কিন্তু একটি মাত্র কর্তৃপক্ষ ভুল করতে পারে, পক্ষপাতী হতে পারে, আর site বড় হলে moderation-এর কাজ একটি bottleneck হয়ে যায় Source 1সোর্স 1। এর বদলে একটি decentralized network তৈরি করতে Bluesky একটি research project হিসেবে শুরু হয় Source 1সোর্স 1।
Bluesky federated model ব্যবহার করে। এখানে সাধারণ client ও server-এর ভূমিকা থাকে, কিন্তু আলাদা আলাদা মানুষ server চালাতে পারেন, আর server-গুলো HTTP-র মাধ্যমে একে অপরের সাথে কথা বলে Source 1সোর্স 1। Email-ও এভাবেই কাজ করে: একজন Gmail user একজন Proton Mail user-কে লিখতে পারেন।
নিয়মগুলো একটি open protocol, Authenticated Transfer Protocol (ATProto), আর Bluesky এর উপর তৈরি একটি app Source 1সোর্স 1। আপনার data সব ATProto app-এ shared থাকে, তাই protocol-এর অন্য কোনো app-এ গেলেও আপনার follower-রা থেকে যায় Source 1সোর্স 1।
Article-টি কিছু সংখ্যা দেয়। একটি data server 6 million user repository রাখে এবং মাসে প্রায় 150 USD খরচ হয় Source 1সোর্স 1। User-রা 50,000-এর বেশি custom feed থেকে বেছে নিতে পারেন Source 1সোর্স 1।
The big picture
[Your app] --> [Data server (PDS)] --> your repository (SQLite)
|
| live changes over websockets
v
[Crawler (Relay)] --> one stream of all changes
|
+--------------+------------------+---------------------+
v v v
[Index server (AppView)] [Feed generators] [Moderation service]
ScyllaDB, Redis cache custom feeds labels on posts
|
v
[CDN] --> images and videos to the appYou write a post, and your data server saves it in your repository. The crawler listens to many data servers and joins their changes into one stream. The index server, the feed generators, and the moderation service read that stream and build what the app shows. The protocol names these parts the PDS, the Relay, and the AppView Source 2সোর্স 2.
সহজ English
You write a post, and your data server saves it in your repository (SQLite). The data server sends live changes over websockets to the crawler. The crawler listens to many data servers and joins their changes into one stream. Three parts read that stream and build what the app shows:
- The index server, which uses ScyllaDB and a Redis cache.
- The feed generators, which make custom feeds.
- The moderation service, which puts labels on posts.
After the index server, a CDN sends images and videos to the app. The protocol names the data server, the crawler, and the index server the PDS, the Relay, and the AppView Source 2সোর্স 2.
বাংলা ব্যাখ্যা
আপনি একটি post লিখলে আপনার data server সেটি আপনার repository-তে (SQLite) save করে। Data server websocket-এর মাধ্যমে live change-গুলো crawler-এ পাঠায়। Crawler অনেক data server-এর কথা শোনে এবং তাদের change-গুলো জুড়ে একটি stream বানায়। তিনটি অংশ এই stream পড়ে এবং app যা দেখায় তা তৈরি করে:
- Index server, যা ScyllaDB এবং একটি Redis cache ব্যবহার করে।
- Feed generator-গুলো, যারা custom feed তৈরি করে।
- Moderation service, যা post-এ label দেয়।
Index server-এর পরে একটি CDN image ও video app-এ পৌঁছে দেয়। Protocol data server, crawler ও index server-কে PDS, Relay ও AppView নামে ডাকে Source 2সোর্স 2।
Your posts live in your own repository
Think of a personal notebook that you can carry from one library to another.
Bluesky saves the text and the time of each post in your repository: the collection of all data that one user publishes Source 1সোর্স 1. Each repository is a separate SQLite database, a small database engine that keeps its data in one file Source 1সোর্স 1. Each record is first encoded in CBOR, a compact binary format, to keep storage costs low Source 1সোর্স 1.
Many repositories sit on one data server, which the protocol calls a Personal Data Server (PDS) Source 2সোর্স 2. The data server receives every request from the app, and it checks who the user is and what the user may do Source 1সোর্স 1. The article compares it to Git. You can move a project from GitHub to GitLab, and you can move a repository to another data server in the same way Source 1সোর্স 1.
When someone likes your post, the like is saved only in the repository of the person who liked it Source 1সোর্স 1. So another part of the system must add up the likes and followers.
সহজ English
Think of a personal notebook that you can carry from one library to another.
Your repository is the collection of all data that you publish. Bluesky saves the text and the time of each post in it Source 1সোর্স 1. Each repository is a separate SQLite database. SQLite is a small database engine that keeps its data in one file Source 1সোর্স 1. Each record is first encoded in CBOR, a compact binary format, to keep storage costs low Source 1সোর্স 1.
Many repositories sit on one data server. The protocol calls it a Personal Data Server (PDS) Source 2সোর্স 2. The data server receives every request from the app. It checks who the user is and what the user may do Source 1সোর্স 1. You can move your repository to another data server, as you can move a project from GitHub to GitLab Source 1সোর্স 1.
When someone likes your post, Bluesky saves the like only in the repository of that person Source 1সোর্স 1. So another part of the system must add up the likes and followers.
বাংলা ব্যাখ্যা
একটি ব্যক্তিগত খাতার কথা ভাবুন, যা আপনি এক library থেকে অন্য library-তে নিয়ে যেতে পারেন।
Bluesky প্রতিটি post-এর text ও সময় আপনার repository-তে save করে। Repository হলো একজন user যত data publish করেন, তার সবকিছুর সংগ্রহ Source 1সোর্স 1। প্রতিটি repository একটি আলাদা SQLite database; SQLite একটি ছোট database engine, যা তার data একটি file-এ রাখে Source 1সোর্স 1। Storage খরচ কম রাখতে প্রতিটি record প্রথমে CBOR-এ encode করা হয়; CBOR একটি compact binary format Source 1সোর্স 1।
অনেক repository একটি data server-এ থাকে, যাকে protocol Personal Data Server (PDS) বলে Source 2সোর্স 2। Data server app-এর প্রতিটি request গ্রহণ করে এবং যাচাই করে user কে এবং তিনি কী করতে পারেন Source 1সোর্স 1। Article-টি এটিকে Git-এর সাথে তুলনা করে: GitHub থেকে GitLab-এ যেমন project সরানো যায়, তেমনি একটি repository অন্য data server-এ সরানো যায় Source 1সোর্স 1।
কেউ আপনার post-এ like দিলে like-টি শুধু তাঁর নিজের repository-তে save হয় Source 1সোর্স 1। তাই system-এর অন্য একটি অংশকে like ও follower-এর সংখ্যা যোগ করতে হয়।
From one stream to your screen
Think of a news agency. Reporters in many towns send in stories, and the agency sends one combined wire to every newspaper.
To copy every post into the repository of each follower would cost too much Source 1সোর্স 1. Instead, a crawler, which the protocol calls a Relay, collects changes from all data servers Source 1সোর্স 1 Source 2সোর্স 2. Each data server pushes new posts, likes, and comments to the crawler in real time over websockets Source 1সোর্স 1. A websocket is a connection that stays open, so the server can send a message at any time. The crawler does not index anything; it only forwards the changes as one stream Source 1সোর্স 1.
The raw stream does not say how many likes a post has. The index server, which the protocol calls an AppView, reads the stream and turns raw changes into a form the app can show Source 1সোর্স 1 Source 2সোর্স 2. It is written in Go, and it keeps its data in ScyllaDB, a NoSQL database that grows when you add machines Source 1সোর্স 1. A home feed loads in these steps Source 1সোর্স 1:
- The app sends the request through your data server to the index server.
- The data server reads your repository to find the people that you follow.
- The index server makes a list of post IDs, newest first, and fills in the full posts.
Primary data and derived data
Your repository holds the primary data. The index server holds data that it derives from all repositories Source 1সোর্স 1. So a like count on screen is a calculation, not a stored fact.
The index server is the most read-heavy part, so Redis, an in-memory store, caches its results Source 1সোর্স 1. Images and videos stay on the disk of the data server. The index server fetches a file when a user asks for it and caches it on a content delivery network (CDN) Source 1সোর্স 1.
সহজ English
Think of a news agency that sends one combined wire to every newspaper.
A copy of every post in the repository of each follower would cost too much Source 1সোর্স 1. So a crawler (the protocol calls it a Relay) collects changes from all data servers Source 1সোর্স 1 Source 2সোর্স 2. Each data server pushes new posts, likes, and comments to it in real time over websockets, connections that stay open Source 1সোর্স 1. The crawler does not index. It only forwards the changes as one stream Source 1সোর্স 1.
The index server (the protocol calls it an AppView) reads the stream and turns it into a form the app can show, for example like counts Source 1সোর্স 1 Source 2সোর্স 2. It uses Go and ScyllaDB Source 1সোর্স 1. For a home feed, the app sends the request through your data server. The data server finds who you follow. The index server lists post IDs, newest first, and fills in the full posts Source 1সোর্স 1.
So a like count on screen is a calculation, not a stored fact Source 1সোর্স 1. Redis caches the index server results Source 1সোর্স 1. The index server caches images and videos on a CDN Source 1সোর্স 1.
বাংলা ব্যাখ্যা
একটি news agency-র কথা ভাবুন। অনেক শহরের reporter খবর পাঠান, আর agency প্রতিটি পত্রিকায় একটি সম্মিলিত wire পাঠায়।
প্রতিটি post প্রত্যেক follower-এর repository-তে copy করলে খরচ অনেক বেশি হতো Source 1সোর্স 1। তাই একটি crawler, যাকে protocol Relay বলে, সব data server থেকে change সংগ্রহ করে Source 1সোর্স 1 Source 2সোর্স 2। প্রতিটি data server নতুন post, like ও comment real time-এ websocket-এর মাধ্যমে crawler-এ push করে Source 1সোর্স 1। Websocket এমন একটি connection, যা খোলা থাকে। Crawler কিছু index করে না; এটি শুধু change-গুলো একটি stream হিসেবে এগিয়ে দেয় Source 1সোর্স 1।
Raw stream বলে না একটি post-এ কতগুলো like আছে। Index server, যাকে protocol AppView বলে, stream পড়ে raw change-গুলোকে app-এ দেখানোর মতো রূপে আনে Source 1সোর্স 1 Source 2সোর্স 2। এটি Go-তে লেখা, এবং data রাখে ScyllaDB-তে, একটি NoSQL database-এ Source 1সোর্স 1। Home feed load হওয়ার সময় app আপনার data server-এর মাধ্যমে index server-এ request পাঠায়; data server আপনার repository পড়ে দেখে আপনি কাদের follow করেন; তারপর index server নতুন থেকে পুরোনো ক্রমে post ID-র list বানায় এবং পুরো post বসিয়ে দেয় Source 1সোর্স 1।
আপনার repository-তে primary data থাকে, আর index server সব repository থেকে derived data রাখে Source 1সোর্স 1। তাই screen-এর like count একটি হিসাব, stored fact নয়। Index server-এর result Redis cache করে Source 1সোর্স 1। Image ও video data server-এর disk-এ থাকে; user চাইলে index server file-টি এনে CDN-এ cache করে Source 1সোর্স 1।
Names that change and IDs that do not
Your nickname can change, but your passport number stays the same.
Each user has a decentralized identifier (DID) that never changes Source 1সোর্স 1. Each user also has a handle, a readable name based on a domain name. A new account gets a handle under bsky.social Source 1সোর্স 1. Posts are stored under the DID, and the app shows the handle next to them. So a new handle does not break old posts Source 1সোর্স 1.
You can use your own domain name as your handle. Bluesky gives you a unique text value, and you put it in a DNS TXT record of your domain. A TXT record is a free-text field in the settings of a domain name. The index server checks the record from time to time and confirms the handle Source 1সোর্স 1.
To follow someone, you add their DID to your own repository, and their repository does not change Source 1সোর্স 1. So to count the followers of a user, the index server must look at every repository. A search engine does the same when it crawls the web to find all links to one page Source 1সোর্স 1.
সহজ English
Your nickname can change, but your passport number stays the same.
Each user has a decentralized identifier (DID) that never changes Source 1সোর্স 1. Each user also has a handle: a readable name based on a domain name. A new account gets a handle under bsky.social Source 1সোর্স 1. Posts are stored under the DID, and the app shows the handle next to them. So a new handle does not break old posts Source 1সোর্স 1.
You can use your own domain name as your handle. Bluesky gives you a unique text value. You put it in a DNS TXT record, a free-text field in the settings of your domain. The index server checks the record from time to time and confirms the handle Source 1সোর্স 1.
To follow someone, you add their DID to your own repository. Their repository does not change Source 1সোর্স 1. So to count the followers of a user, the index server must look at every repository. A search engine does the same when it crawls the web to find all links to one page Source 1সোর্স 1.
বাংলা ব্যাখ্যা
আপনার ডাকনাম বদলাতে পারে, কিন্তু passport নম্বর একই থাকে।
প্রতিটি user-এর একটি decentralized identifier (DID) থাকে, যা কখনো বদলায় না Source 1সোর্স 1। প্রতিটি user-এর একটি handle-ও থাকে, অর্থাৎ domain name-ভিত্তিক একটি পড়ার মতো নাম। নতুন account bsky.social-এর অধীনে একটি handle পায় Source 1সোর্স 1। Post-গুলো DID-এর অধীনে store হয়, আর app তার পাশে handle দেখায়। তাই handle বদলালে পুরোনো post নষ্ট হয় না Source 1সোর্স 1।
আপনি নিজের domain name-কে handle হিসেবে ব্যবহার করতে পারেন। Bluesky আপনাকে একটি unique text value দেয়, আর আপনি সেটি আপনার domain-এর একটি DNS TXT record-এ রাখেন। TXT record হলো domain name-এর settings-এর একটি free-text field। Index server মাঝে মাঝে record-টি check করে handle confirm করে Source 1সোর্স 1।
কাউকে follow করতে আপনি তাঁর DID আপনার নিজের repository-তে যোগ করেন; তাঁর repository বদলায় না Source 1সোর্স 1। তাই একজন user-এর follower গুনতে index server-কে প্রতিটি repository দেখতে হয়। একটি search engine-ও একটি page-এর সব link খুঁজতে এভাবে web crawl করে Source 1সোর্স 1।
Custom feeds and moderation
Think of many radio stations that play from one music library, each with its own playlist rules.
A custom feed is a filter, for example for a set of keywords or users Source 1সোর্স 1. A feed generator is a separate service. It reads the stream, filters and ranks posts with its own logic, and gives back a list of post IDs. The index server fills in the content Source 1সোর্স 1.
Feeds load page by page with a cursor, which works like a bookmark. Each response carries a cursor value, for example the timestamp of a post, and the app sends it back to get the next page Source 1সোর্স 1. This lets the index server avoid a full table scan, which means reading every row Source 1সোর্স 1.
A moderation service also reads the stream. It checks content and gives it a label, a tag that puts content in a category Source 1সোর্স 1. Each user chooses to hide posts with a label or to show a warning, and the data server stores that choice Source 1সোর্স 1. The data server puts the label choices in the HTTP headers of each request, and the index server applies them Source 1সোর্স 1.
সহজ English
Think of many radio stations, each with its own playlist rules for one music library.
A custom feed is a filter, for example for a set of keywords or users Source 1সোর্স 1. A feed generator is a separate service. It reads the stream, filters and ranks posts with its own logic, and gives back a list of post IDs. The index server fills in the content Source 1সোর্স 1.
Feeds load page by page with a cursor, which is like a bookmark. Each response has a cursor value, such as a post timestamp, that the app sends back to get the next page Source 1সোর্স 1. So the index server does not have to read every row of a table Source 1সোর্স 1.
A moderation service also reads the stream. It checks content and gives it a label, a tag that puts content in a category Source 1সোর্স 1. Each user chooses to hide posts with a label or to show a warning. The data server stores that choice Source 1সোর্স 1. It puts the label choices in the HTTP headers of each request, and the index server applies them Source 1সোর্স 1.
বাংলা ব্যাখ্যা
অনেক radio station-এর কথা ভাবুন, যারা একই music library থেকে বাজায়, কিন্তু প্রত্যেকের playlist-এর নিয়ম আলাদা।
Custom feed হলো একটি filter, যেমন কিছু keyword বা কিছু user-এর জন্য Source 1সোর্স 1। Feed generator একটি আলাদা service। এটি stream পড়ে, নিজের logic দিয়ে post filter ও rank করে, এবং post ID-র একটি list ফেরত দেয়। Index server content বসিয়ে দেয় Source 1সোর্স 1।
Feed একটি cursor দিয়ে page ধরে ধরে load হয়; cursor একটি bookmark-এর মতো কাজ করে। প্রতিটি response-এ একটি cursor value থাকে, যেমন একটি post-এর timestamp, আর পরের page পেতে app সেটি ফেরত পাঠায় Source 1সোর্স 1। এতে index server full table scan, অর্থাৎ প্রতিটি row পড়া, এড়াতে পারে Source 1সোর্স 1।
একটি moderation service-ও stream পড়ে। এটি content check করে একটি label দেয়; label হলো এমন একটি tag, যা content-কে একটি category-তে রাখে Source 1সোর্স 1। প্রতিটি user ঠিক করেন label-যুক্ত post লুকাবেন নাকি warning দেখাবেন, আর data server সেই পছন্দ store করে Source 1সোর্স 1। Data server প্রতিটি request-এর HTTP header-এ label-এর পছন্দগুলো রাখে, আর index server সেগুলো প্রয়োগ করে Source 1সোর্স 1।
Social proof with Roaring Bitmaps
On a profile, Bluesky shows how many of the people that you follow also follow that user Source 1সোর্স 1. This is social proof. Think of two guest lists: you want the names that are on both.
The simple method runs one database query for each person you follow, so it does not scale Source 1সোর্স 1. The better method is a set intersection. Set 1 is the people you follow, set 2 is the followers of the other user, and the overlap is the answer Source 1সোর্স 1.
Bluesky built an in-memory graph service for this. Redis Sets were not a fit, because they do not use many CPU cores at once Source 1সোর্স 1. The first version turned each 32-character DID into a 64-bit number to save memory. It still used a lot of memory and was slow to start Source 1সোর্স 1. So the team moved to Roaring Bitmaps. The table compares the three methods Source 1সোর্স 1.
| Method | How it stores "who I follow" | Weak point |
|---|---|---|
| Bitmap | One bit for each user, 1 means "I follow" | A long row of bits even if you follow one person |
| Run-length encoding | Counts of repeated bits, for example "90 zeros, then 10 ones" | Poor for random data, and a lookup walks the whole list |
| Roaring Bitmap | Containers: a bitmap for dense data, run-length for long runs, a sorted list for sparse data | The article names none |
The intersection runs in parallel, and many copies of the graph service run at once for high availability Source 1সোর্স 1.
সহজ English
On a profile, Bluesky shows how many of the people that you follow also follow that user Source 1সোর্স 1. This is social proof. Think of two guest lists: you want the names that are on both.
One query for each person that you follow does not scale Source 1সোর্স 1. The better method is a set intersection. Set 1 is the people you follow. Set 2 is the followers of the other user. The overlap is the answer Source 1সোর্স 1.
Bluesky built an in-memory graph service for this. Redis Sets were not a fit, because they do not use many CPU cores at once Source 1সোর্স 1. The first version turned each 32-character DID into a 64-bit number to save memory. But it still used a lot of memory and was slow to start Source 1সোর্স 1. So the team moved to Roaring Bitmaps. A Roaring Bitmap uses containers: a bitmap for dense data, run-length encoding for long runs, and a sorted list for sparse data Source 1সোর্স 1.
The intersection runs in parallel. Many copies of the graph service run at once for high availability Source 1সোর্স 1.
বাংলা ব্যাখ্যা
একটি profile-এ Bluesky দেখায়, আপনি যাদের follow করেন তাদের মধ্যে কতজন ওই user-কেও follow করেন Source 1সোর্স 1। একে social proof বলে। দুটি অতিথি তালিকার কথা ভাবুন: আপনি সেই নামগুলো চান, যা দুই তালিকাতেই আছে।
সহজ পদ্ধতিতে আপনি যাদের follow করেন, তাদের প্রত্যেকের জন্য একটি করে database query চলে, তাই এটি scale করে না Source 1সোর্স 1। ভালো পদ্ধতি হলো set intersection: set 1 হলো আপনি যাদের follow করেন, set 2 হলো অন্য user-এর follower-রা, আর দুটিতেই যা আছে, সেই অংশই উত্তর Source 1সোর্স 1।
এর জন্য Bluesky একটি in-memory graph service তৈরি করে। Redis Sets উপযুক্ত ছিল না, কারণ এগুলো একসাথে অনেক CPU core ব্যবহার করে না Source 1সোর্স 1। প্রথম version memory বাঁচাতে প্রতিটি 32-character DID-কে একটি 64-bit সংখ্যায় রূপান্তর করত, কিন্তু তবুও এটি অনেক memory নিত এবং চালু হতে দেরি করত Source 1সোর্স 1। তাই team Roaring Bitmaps-এ যায় Source 1সোর্স 1। সাধারণ bitmap প্রতিটি user-এর জন্য একটি bit রাখে, তাই একজনকে follow করলেও bit-এর লম্বা সারি লাগে। Run-length encoding পুনরাবৃত্ত bit গোনে, কিন্তু random data-তে ভালো নয়। Roaring Bitmap container ব্যবহার করে: dense data-র জন্য bitmap, লম্বা run-এর জন্য run-length, আর sparse data-র জন্য sorted list Source 1সোর্স 1।
Intersection parallel-এ চলে, এবং high availability-র জন্য graph service-এর অনেক copy একসাথে চলে Source 1সোর্স 1।
Short videos with HLS
The article says Bluesky videos could be up to 90 seconds long Source 1সোর্স 1. Bluesky has since raised the limit: to 3 minutes in 2025 and to 10 minutes in August 2026 Source 3সোর্স 3. Videos play through HTTP Live Streaming (HLS), a standard for adaptive bitrate streaming Source 1সোর্স 1. Adaptive means that the quality follows the network speed.
Think of a menu that lists meal sizes, with a list of courses for each size. In HLS, the master playlist lists the quality levels, and each media playlist lists the segments of one quality Source 1সোর্স 1. Each video is encoded at levels such as 480p, 720p, and 1080p, and cut into segments of 5 seconds Source 1সোর্স 1. The app picks a media playlist for the current network and downloads its segments in order Source 1সোর্স 1.
A CDN caches the videos and playlists Source 1সোর্স 1. Bluesky counts a view when the app asks for the master playlist. The last segment that the app fetched shows how many seconds the user watched Source 1সোর্স 1.
সহজ English
The article says Bluesky videos could be up to 90 seconds long Source 1সোর্স 1. Bluesky has since raised the limit: to 3 minutes in 2025 and to 10 minutes in August 2026 Source 3সোর্স 3. Videos play through HTTP Live Streaming (HLS), a standard for adaptive bitrate streaming Source 1সোর্স 1. Adaptive means that the quality follows the network speed.
In HLS, the master playlist lists the quality levels. Each media playlist lists the segments of one quality Source 1সোর্স 1. Each video is encoded at levels such as 480p, 720p, and 1080p, and cut into segments of 5 seconds Source 1সোর্স 1. The app picks a media playlist for the current network and downloads its segments in order Source 1সোর্স 1.
A CDN caches the videos and playlists Source 1সোর্স 1. Bluesky counts a view when the app asks for the master playlist. The last segment that the app fetched shows how many seconds the user watched Source 1সোর্স 1.
বাংলা ব্যাখ্যা
Article অনুযায়ী Bluesky-র video সর্বোচ্চ 90 সেকেন্ড লম্বা হতে পারত Source 1সোর্স 1; পরে সীমা বাড়িয়ে 2025 সালে 3 মিনিট এবং 2026 সালের আগস্টে 10 মিনিট করা হয়েছে Source 3সোর্স 3। Video গুলো HTTP Live Streaming (HLS)-এর মাধ্যমে চলে, যা adaptive bitrate streaming-এর একটি standard Source 1সোর্স 1। Adaptive মানে quality network-এর speed অনুযায়ী বদলায়।
একটি menu-র কথা ভাবুন, যেখানে খাবারের সাইজ লেখা আছে, আর প্রতিটি সাইজের জন্য পদের একটি তালিকা আছে। HLS-এ master playlist quality level-গুলোর তালিকা দেয়, আর প্রতিটি media playlist একটি quality-র segment-গুলোর তালিকা দেয় Source 1সোর্স 1। প্রতিটি video 480p, 720p ও 1080p-এর মতো level-এ encode করা হয় এবং 5 সেকেন্ডের segment-এ কাটা হয় Source 1সোর্স 1। App বর্তমান network-এর জন্য একটি media playlist বেছে নেয় এবং তার segment-গুলো ক্রমানুসারে download করে Source 1সোর্স 1।
একটি CDN video ও playlist cache করে Source 1সোর্স 1। App যখন master playlist চায়, Bluesky তখন একটি view গোনে। App শেষ যে segment-টি এনেছে, তা দেখায় user কত সেকেন্ড দেখেছেন Source 1সোর্স 1।
Key words
| Word | Plain meaning |
|---|---|
| Repository | The collection of all data that one user publishes, like a personal notebook |
| Data server (PDS) | The server that hosts user repositories and handles requests from the app |
| Crawler (Relay) | The service that collects changes from all data servers into one stream |
| Index server (AppView) | The service that turns the stream into feeds, counts, and pages the app can show |
| DID | A permanent ID for a user that never changes |
| Handle | The readable name of a user, based on a domain name; it can change |
| Websocket | A network connection that stays open so the server can push messages |
| Cache | Fast memory that keeps recent answers so the system does not repeat work |
| CDN | Servers around the world that keep copies of files close to users |
| Cursor | A bookmark value that tells the server where the next page starts |
What a tester can learn
Tutorial advice
These ideas are the tutorial's own advice.
- Move a test account to another data server. Check that posts, follows, and the handle still work.
- Like and unlike a post quickly from two clients. Check that the count settles at the right number.
- Change a handle. Check that old posts show the new handle. Try a custom domain with a wrong TXT record and expect a clear failure.
- Add new posts while you scroll a feed with a cursor. Check that no post shows twice and that no post is missing.
- Throttle the network during a video. Check that the player changes quality and that one view is not counted twice.
সহজ English
These ideas are the tutorial's own advice.
- Move a test account to another data server. Make sure that posts, follows, and the handle still work.
- From two clients, like and unlike a post quickly. Make sure that the count settles at the right number.
- Change a handle. Make sure that old posts show the new handle. Try a custom domain with a wrong TXT record, and expect a clear failure.
- Add new posts while you scroll a feed with a cursor. Make sure that no post shows twice and that no post is missing.
- Slow down the network during a video. Make sure that the player changes quality and that one view is not counted twice.
বাংলা ব্যাখ্যা
এই ধারণাগুলো tutorial-এর নিজস্ব পরামর্শ।
- একটি test account অন্য data server-এ সরান। দেখুন post, follow ও handle এখনো কাজ করছে কিনা।
- দুটি client থেকে দ্রুত একটি post-এ like ও unlike করুন। দেখুন count শেষে সঠিক সংখ্যায় স্থির হয় কিনা।
- একটি handle বদলান। দেখুন পুরোনো post-এ নতুন handle দেখায় কিনা। ভুল TXT record দিয়ে একটি custom domain চেষ্টা করুন এবং একটি পরিষ্কার failure আশা করুন।
- Cursor দিয়ে feed scroll করার সময় নতুন post যোগ করুন। দেখুন কোনো post দুবার দেখায় না এবং কোনো post বাদ পড়ে না।
- Video চলার সময় network ধীর করুন। দেখুন player quality বদলায় কিনা এবং একটি view দুবার গোনা হয় কিনা।