# Bandcamp

Dr. Zaius Dr. Zaius

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Be careful how you rsyslog

DevFeed: [Be careful how you rsyslog](<https://devfeed.tech/articles/be-careful-how-you-rsyslog-19690.md>)

Original publisher: [Read original article](<https://bandcamptech.wordpress.com/2015/04/28/be-careful-how-you-rsyslog/>)

Author: Leigh Dyer

Published: 2015-04-28T18:29:22Z

Content type: article

Language: en

Sources: [Bandcamp](<https://devfeed.tech/sources/bandcamp.md>)

Topics: [site-reliability-engineering](<https://devfeed.tech/topics/site-reliability-engineering.md>), [Post Mortem](<https://devfeed.tech/topics/post-mortem.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [application-servers](<https://devfeed.tech/tags/application-servers.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [failure](<https://devfeed.tech/tags/failure.md>), [logging](<https://devfeed.tech/tags/logging.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [offline](<https://devfeed.tech/tags/offline.md>), [outage](<https://devfeed.tech/tags/outage.md>), [queue](<https://devfeed.tech/tags/queue.md>), [remote](<https://devfeed.tech/tags/remote.md>), [root](<https://devfeed.tech/tags/root.md>), [systems-design](<https://devfeed.tech/tags/systems-design.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

A maintenance outage on Bandcamp's central rsyslog server caused app servers to freeze: TCP remote logging blocked while trying to ensure delivery, and the default shared queue then held up all logging until it filled, blocking applications and services such as sshd. After rebooting affected servers, the team traced the cause and changed rsyslog to use a dedicated queue for remote logging that spills to disk when full, so loss of the central server no longer blocks other logging.

### Source excerpt

Bandcamp was offline briefly yesterday due to what I like to call an unexpected single point of failure. Good systems design is all about addressing single points of failure, making sure you have redundancies in place, but sometimes you discover single points of failure that you didn't realise you had. Yesterday's problem was caused by [...]

## Expression Evaluators

DevFeed: [Expression Evaluators](<https://devfeed.tech/articles/expression-evaluators-19689.md>)

Original publisher: [Read original article](<https://bandcamptech.wordpress.com/2010/02/07/expression-evaluators/>)

Author: Joe Holt

Published: 2010-02-07T02:54:35Z

Content type: article

Language: en

Sources: [Bandcamp](<https://devfeed.tech/sources/bandcamp.md>)

Topics: [syntax](<https://devfeed.tech/topics/syntax.md>), [data type](<https://devfeed.tech/topics/data-type.md>)

Tags: [adobe](<https://devfeed.tech/tags/adobe.md>), [apache](<https://devfeed.tech/tags/apache.md>), [bnf](<https://devfeed.tech/tags/bnf.md>), [book](<https://devfeed.tech/tags/book.md>), [c](<https://devfeed.tech/tags/c.md>), [computing](<https://devfeed.tech/tags/computing.md>), [expression](<https://devfeed.tech/tags/expression.md>), [grammar](<https://devfeed.tech/tags/grammar.md>), [photoshop](<https://devfeed.tech/tags/photoshop.md>), [program](<https://devfeed.tech/tags/program.md>), [programming](<https://devfeed.tech/tags/programming.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

The author describes recently completing a recursive descent expression evaluator for Bandcamp and explains the basic distinction between evaluating expressions and parsing syntax. Their first related project used the modified BNF grammar in K&R to build a C parser: it recognized valid arrangements of language elements but did not execute or evaluate C. The excerpt also reflects on K&R's concise presentation of C. It ends while beginning an account of later evaluators, so their details are not available.

### Source excerpt

Bugs are fun but this time I want to talk about win. Recently I finished work on a recursive descent expression evaluator in the Bandcamp code. (That's a mouthful and I enjoy slinging that whenever I can--it's up there with binary space partitions.) An expression evaluator is something that can take a sequence of characters [...]

## How Not To Generate A CRC

DevFeed: [How Not To Generate A CRC](<https://devfeed.tech/articles/how-not-to-generate-a-crc-19688.md>)

Original publisher: [Read original article](<https://bandcamptech.wordpress.com/2010/01/21/how-not-to-generate-a-crc/>)

Author: Joe Holt

Published: 2010-01-21T18:48:09Z

Content type: article

Language: en

Sources: [Bandcamp](<https://devfeed.tech/sources/bandcamp.md>)

Topics: [Post Mortem](<https://devfeed.tech/topics/post-mortem.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [Process](<https://devfeed.tech/topics/process.md>)

Tags: [aging](<https://devfeed.tech/tags/aging.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [australia](<https://devfeed.tech/tags/australia.md>), [bug](<https://devfeed.tech/tags/bug.md>), [cache](<https://devfeed.tech/tags/cache.md>), [disaster](<https://devfeed.tech/tags/disaster.md>), [downloads](<https://devfeed.tech/tags/downloads.md>), [generate](<https://devfeed.tech/tags/generate.md>), [mp3](<https://devfeed.tech/tags/mp3.md>), [publishing](<https://devfeed.tech/tags/publishing.md>), [speed](<https://devfeed.tech/tags/speed.md>), [stable](<https://devfeed.tech/tags/stable.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

A sudden surge in downloads of a Wu-Tang Clan and Beatles mashup exposed a production bug that had been present for at least six months. Bandcamp converts tracks into requested formats on demand and caches the result for faster later downloads; the excerpt says the failure involved generating a stable CRC, but ends before describing the bug or its fix. Slow starts and downloader crashes forced the album to be streaming-only for a few hours while the cause was investigated. The author frames this as a "success disaster": demand overwhelmed the system and made an existing defect visible.

### Source excerpt

Yesterday we had a success disaster. An überpopular mashup album that mixed the Wu Tang Clan and The Beatles was released a few days ago and yesterday it got stumbled upon and boing boinged and tweeted to the four winds. Our downloads per minute went through the roof. We've dealt with big releases in the [...]