Fixed some typos

This commit is contained in:
Michael Käufl 2014-11-16 17:36:23 +01:00
parent 9c98e451d6
commit 51dc9ddee0
1 changed files with 7 additions and 7 deletions

View File

@ -30,12 +30,12 @@ The benefits of this include:
2) Zero maintenance: The database is maintence free. There is nothing 2) Zero maintenance: The database is maintence free. There is nothing
the developer needs to do to take advantage of it. At the same time the developer needs to do to take advantage of it. At the same time
the developer doesnt need to query it at any time nor do they need the developer doesn't need to query it at any time nor do they need
to purge items from it. They need not even know it exists. to purge items from it. They need not even know it exists.
### Problems ### Problems
The problem with the current solution is that it doesnt scale. Time The problem with the current solution is that it doesn't scale. Time
for an example. I'm writing a program that will pull feed urls from a for an example. I'm writing a program that will pull feed urls from a
queue system to be processed. In order to execute several feed fetches queue system to be processed. In order to execute several feed fetches
at once it may run several hundred go routines, each fetching a feed at once it may run several hundred go routines, each fetching a feed
@ -83,10 +83,10 @@ The current database solution contributes the following issues:
of memory. of memory.
3) The database replaces a job that is trivial to implement in a 3) The database replaces a job that is trivial to implement in a
handler: The current database doesnt provide anything that couldnt handler: The current database doesn't provide anything that
be developed by a user of the package with ease. couldn't be developed by a user of the package with ease.
4) The database doesnt provide a fine-grained enough key for 4) The database doesn't provide a fine-grained enough key for
duplicates: The current version uses a multitude of options for duplicates: The current version uses a multitude of options for
item keys and channels, all of which could very easily be falsly item keys and channels, all of which could very easily be falsly
marked as duplicates. For example, the item title is not a very marked as duplicates. For example, the item title is not a very
@ -121,7 +121,7 @@ memcache, a retry count handler for channels, a whitelist/blacklist
handler based on item title, a filter handler that strips out items handler based on item title, a filter handler that strips out items
that have a date older than 3 hours, etc. that have a date older than 3 hours, etc.
Whats nice about this approach is that we can recreate a functionally What's nice about this approach is that we can recreate a functionally
identical approach that means this is backwards compatible with older identical approach that means this is backwards compatible with older
code that implements the old way of dealing with handlers and code that implements the old way of dealing with handlers and
duplicate channels and items. duplicate channels and items.