gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 23, 2024, 05:23:55 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Discussion  |  WinMx World News  |  Spotify - Huge Data Writing Bug To Be Patched
gfx
gfxgfx
 

Author Topic: Spotify - Huge Data Writing Bug To Be Patched  (Read 2176 times)

0 Members and 1 Guest are viewing this topic.

Offline GhostShip

  • Ret. WinMX Special Forces
  • WMW Team
  • *****
Spotify - Huge Data Writing Bug To Be Patched
« on: November 11, 2016, 10:43:55 pm »
Most worrying  :undecided:

http://www.bbc.co.uk/news/technology-37950627

Quote
Reporters from new site Ars Technica found Spotify was writing up to 10GB of data an hour to their computers. Unnecessarily writing and rewriting data to some types of computer hard drive can shorten their life.
Spotify said it was aware of the issue and was taking steps to address it in its latest version. The issue was more likely to be problematic for people using a solid-state hard drive (SSD) in their device. Data on SSDs can be read and rewritten a limited number of times before the drive begins to fail.

Ars Technica found that Spotify wrote and rewrote up to 700GB of data - the equivalent of more than 100 movies - over a 24 hour period.
Many people shared their concerns on social news site Reddit, highlighting that the app even rewrote the data while it was idle and no music was being streamed. Ken Munro, from cybersecurity firm Pen Test Partners, said the problem was "either an error or lazy coding",

I'm not sure why there would need to be this amount of writing/rewriting occurring to form the base of this bug in the first place but I supposed someone using Spotify will doubtless be able to suggest some reasoning for this more than concerning activity.

As always I'm pleased to say I don't use such services  :-D


Offline White Stripes

  • Core
  • *****
  • ***
  • Je suis aimé
Re: Spotify - Huge Data Writing Bug To Be Patched
« Reply #1 on: November 12, 2016, 09:35:25 am »
im ... still going to wait out a few more generations of SSDs ...

Offline Pri

  • MX Hosts
  • *****
  • *****
Re: Spotify - Huge Data Writing Bug To Be Patched
« Reply #2 on: November 12, 2016, 08:40:30 pm »
Spotify uses a SQLite database for playlists. It's called mercury.db and the problem is that they are issuing VACUUM commands to repack the database very often, possibly after every write. VACUUM works by writing the database to a new file and swapping it with the existing file so it will create an enormous amount of life time writes especially if the database is huge which for a lot of customers it is.

I believe they've since fixed the issue in the latest build of Spotify. I would like to point out though, MLC based SSD's like the Samsung 840 Pro are very resilient. In independent testing the 256GB 840 Pro from Samsung was able to handle 2.4 PB (2,400 TB) of writes over I believe a year during Techradars testing. And that is the smaller 840 Pro, they go to 1TB and the more NAND you have the higher the writes you can sustain.

Samsung themselves cover the warranty on their newer 850 Pro's at over 550 TB of writes a year so if you're under that amount and your SSD dies within 10 years they will replace it for free.

Of course I'm not suggesting this makes it okay, what Spotify did was incredibly stupid, I'm just illustrating that for anyone worried about it you're probably fine as this bug has been caught quickly. I personally do not use Spotify.

WinMX World :: Forum  |  Discussion  |  WinMx World News  |  Spotify - Huge Data Writing Bug To Be Patched
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.009 seconds with 23 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!