Taste

This project came about when a dear friend of mine mentioned that it would be cool to have a website where one can find music.

Here it is :)

Resource usage

While this is a neat idea there are some things I had to tink about:

  • I may up indexing over 200 millions songs
  • Searching for songs must happen via a partial rich text search. No one remembers the exact wording of 'The Yodeling Veterinarian of the Alps'
  • We must have some sort of genre, otherwise users endup with to many of songs they may or do not like.
  • I do not have the money to pay a lot of cash to Cloud services for a free website

Running the the whole thing on idle with less than what a smartfridge needs is good enough for me.

Server

The server is running on a VPS (A virtual machine in the cloud) with other websites of mine by Infomaniak in switzerland.

Taste:

CONTAINER ID NAME CPU % MEM USAGE
844998e65a63 taste 0.01% 4.07MiB

-> 4 mb

Database

Running on my Mac Mini M4 which is very power efficient.

Postgres DB:

%CPU %MEM STAT TIME COMMAND
0.0 0.0 Ss 0:00.12 postgres: logical replication launcher
0.0 0.0 Ss 0:01.73 postgres: autovacuum launcher
0.0 0.0 Ss 0:01.25 postgres: walwriter
0.0 0.0 Ss 0:01.10 postgres: background writer
0.0 0.0 Ss 0:00.20 postgres: checkpointer
0.0 0.0 Ss 0:00.00 postgres: io worker 2
0.0 0.0 Ss 0:00.00 postgres: io worker 1
0.0 0.0 Ss 0:00.02 postgres: io worker 0
0.0 0.1 S 0:13.12 /postgres -D /postgresql@18
0.0 0.0 S+ 0:00.00 grep postgres
0.0 0.1 Ss 0:00.08 postgres: taste ::1(50506) idle

at 16 gb max RAM this means: 16 * (0.1/100) = 32.768 mb

CPU usage at idle is less than 0.5 percent which is hard to quantify but just means that the mac mini is at idle power usage which is less than 12 CHF per year if powered on at all times.

Smartfridge

The new and fancy smartfridges use mostly Samsungs operating system "Tizen", which needs about 400 mb of memory when idle. Smartfridges may also do a lot more things... if you need those things is another question though.

It is also possible to create smartfridges with a lot lower memory foot print if it is only passing sensor data