Old English -istre, from Proto-Germanic *-istrijon, feminine agent suffix used as the equivalent of masculine -ere (see -er (1)). Also used in Middle English to form nouns of action (meaning "a person who ...") without regard for gender.
The genderless agent noun use apparently was a broader application of the original feminine suffix, beginning in the north of England, but linguists disagree over whether this indicates female domination of weaving and baking trades, as represented in surnames such as Webster, Baxter, Brewster, etc. (though spinster probably carries an originally female ending).
Also compare whitester "one who bleaches cloth;" kempster (c. 1400; Halliwell has it as kembster) "woman who cleans wool." Chaucer ("Merchant's Tale") has chidester "an angry woman." In Modern English, the suffix has been productive in forming derivative nouns (gamester,roadster, punster, rodster "angler," etc.; the 17c. had scoldster).
word-ending that sometimes distinguish British from American English. In the U.S., the change from -re to -er (to match pronunciation) in words such as fibre, centre, theatre began in late 18c. and became standard there over the next 25 years at the urging of Noah Webster (the 1804 edition of his speller, and especially his 1806 dictionary). The -re spelling, like -our, however, had the authority of Johnson's dictionary behind it and was unmoved in Britain, where it came to be a point of national pride, contra the Yankees.
Despite Webster's efforts, -re was retained in words with -c- or -g- (such as ogre, acre, the latter of which Webster insisted to the end of his days ought to be aker, and it was so printed in editions of the dictionary during his lifetime). The -re spelling generally is more justified by conservative etymology, based on French antecedents. It is met today in the U.S. only in Theatre as an element in the proper names of entertainment showplaces, where it is perhaps felt to inspire a perception of bon ton.