nodeconf / EU-CFP

Call for participation for NodeConf.eu 2015
10 stars 6 forks source link

Using Git to Cache Metadata #24

Open ghost opened 9 years ago

ghost commented 9 years ago

When you have a slow system, getting meta-information about the contents can be quite frustrating. Whether the system is an API, database or source code management system, caching the information can help immensely with performance and the ability to do common tasks such as diff, logging and retrieving/finding data.

I’ve used git to create an easy-to-access cache, and tools to wrap the git functions to enable users to find what they want and easily see differences between different versions. While keeping information in two places can seem inefficient, it’s frequently the case that metadata about “committed” items doesn’t change, and when your SCM, API or database is slow your users can find it very frustrating to find the information they’re looking for. Additionally, these systems aren’t usually tuned for quick retrieval of and comparison of metadata.

I’ve also created a website for accessing this data, making it easy for users to see the information in a convenient form – and having the metadata easy to access means I can also run metrics and show how specific pieces of the metadata have changed over time.

Come discover how you can help your users find the information they need without frustration.

Speaker Bio

Kirsten Hunter is an unapologetic hacker and passionate advocate for the development community. Her technical interests range from graph databases to cloud services, and her experience supporting and evangelizing REST APIs has given her a unique perspective on developer success. In her copious free time she’s a gamer, fantasy reader, and all around rabble-rouser. Code samples, recipes, and philosophical musings can be found at http://www.princesspolymath.com/