Where pictures in a note should live
Three ways to store attachments
Keep attachments in a storage service: the other person sees photos, text sync stays fast, and the price is 4 more build days than the server.
- On the device only, the other person sees a grey box.
- On the sync server, one big photo can hold up text sync.
- A storage service costs 4 more build days and $6 less a month.
Three places, five criteria
Needs your ruling| Criterion | In a storage service | On the sync server | On the device only |
|---|---|---|---|
| What people get | |||
| Other person can see it | Yes, by a private link | Yes, with the note | No, a grey box |
| Text sync stays fast | The photo takes its own route | A big photo holds it up | Nothing to upload |
| Survives a lost phone | Yes, kept in three places | Yes, backed up nightly | No, the photo goes too |
| What it costs us | |||
| Extra cost a month, a year on | $6, pay as used | $12, a bigger disk | $0 |
| Build time | 6 days | 2 days | 1 day |
Take: the starred column has no red and one amber, which is 6 build days. The device-only column fails the two criteria that matter for sharing.
- Who can see the photoWhy device only is out.
- What a photo does to syncWhy the sync server loses to a storage service.
- What the extra build buysThe 6 days, and the money back.
- The pickMy recommendation and your ruling.
Chapter 1 of 4, about 1 minute
Which option lets the other person see a photo?
Before this: the grid compares three places for a picture on five criteria, and the starred one is my pick.
Today a picture stays on the phone that took it. In 2.4, Sam opens Mara's notebook on another phone, so the picture has to leave Mara's phone.
A lost phone breaks the same way. The photo goes with the phone, so device only fails two of the five criteria.
Remember: a picture kept on one phone shows the other person a grey box, so device only is out.
Chapter 2 of 4, about 1 minute
What does a photo do to text sync?
Before this: a picture kept on one phone shows the other person a grey box, so device only is out.
Two options are left. The difference shows on a weak signal. In my test, Mara adds a 4 MB photo and types one line of text straight after.
Show how I measured it
I ran both set-ups on a throttled connection, about 150 kilobits a second, with the 4 MB photo and one line of text. I timed the text from typing to arriving on the web app. I ran it 10 times, and the slowest run is the one quoted.
Remember: on a weak signal a photo can hold up text sync for 40 seconds on the server, and for 2 in a storage service.
Chapter 3 of 4, about 1 minute
What does the extra build buy?
Before this: on a weak signal a photo can hold up text sync for 40 seconds on the server, and for 2 in a storage service.
A storage service is more work now and cheaper to run. We expect about 7,500 pictures a month, which is 90 GB in a year.
Take from this: 4 extra days now buy faster sync and a bill that is $6 a month smaller.
Show what the 6 days hold
- Set up the storage account: 1 day.
- Private links, so only the two people see a picture: 2 days.
- Upload retries on a weak signal: 2 days.
- Delete the picture when its note is deleted: 1 day.
Remember: a storage service takes 4 more build days and costs $6 a month less to run.
Chapter 4 of 4, about 1 minute
Which one do we pick?
Before this: a storage service takes 4 more build days and costs $6 a month less to run.
The storage service has the fewest ambers and no red. Device only is cheap, but it hides photos from the person you share with.
Where should attachments live?
Ted builds it either way. The price is days of build and the weeks after.
If you do nothing: pictures stay on the phone that took them, which is the device-only option.
Take from this: the choice is between 6 build days and a slower, pricier sync server. Device only fails the sharing test.
Show what would change my pick
If we expected under 10 GB of pictures a year, the sync server would build faster and cost almost nothing to run. At 90 GB a year, the disk bill and the sync delay both point the other way.
Remember: my pick is the storage service, and the ruling is yours.
Recap
- A picture kept on one phone shows the other person a grey box, so device only is out.
- On a weak signal a photo can hold up text sync for 40 seconds on the server, and for 2 in a storage service.
- A storage service takes 4 more build days and costs $6 a month less to run.
- My pick is the storage service, and the ruling is yours.
What I need from you
Where should attachments live in 2.4? Reply with one of these.
If you do nothing: pictures stay on the phone that took them, and shared notebooks show a grey box.