mirror of
				https://github.com/taigrr/bitcask
				synced 2025-01-18 04:03:17 -08:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									8bf169c96f
								
							
						
					
					
						commit
						7a427a237a
					
				
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
								
							| @ -6,13 +6,13 @@ | ||||
| [](https://godoc.org/github.com/prologic/bitcask)  | ||||
| [](https://sourcegraph.com/github.com/prologic/bitcask?badge) | ||||
| 
 | ||||
| A high performance Key/Value store written in Go with a predictable read/write performance and high throughput. Uses a [Bitcask](https://en.wikipedia.org/wiki/Bitcask) on-disk layout (LSM+WAL) similar to [Riak](https://riak.com/). | ||||
| A high performance Key/Value store written in [Go](https://golang.org) with a predictable read/write performance and high throughput. Uses a [Bitcask](https://en.wikipedia.org/wiki/Bitcask) on-disk layout (LSM+WAL) similar to [Riak](https://riak.com/). | ||||
| 
 | ||||
| ## Features | ||||
| 
 | ||||
| * Embeddable | ||||
| * Builtin CLI | ||||
| * Builtin Redis-compatible server | ||||
| * Embeddable (`import "github.com/prologic/bitcask"`) | ||||
| * Builtin CLI (`bitcask`) | ||||
| * Builtin Redis-compatible server (`bitcaskd`) | ||||
| * Predictable read/write performance | ||||
| * Low latecny | ||||
| * High throughput (See: [Performance](README.md#Performance) | ||||
| @ -34,16 +34,13 @@ $ go get github.com/prologic/bitcask | ||||
| ```#!go | ||||
| package main | ||||
| 
 | ||||
| import ( | ||||
|     "log" | ||||
| 
 | ||||
|     "github.com/prologic/bitcask" | ||||
| ) | ||||
| import "github.com/prologic/bitcask" | ||||
| 
 | ||||
| func main() { | ||||
|     db, _ := bitcask.Open("/tmp/db") | ||||
|     defer db.Close() | ||||
|     db.Set("Hello", []byte("World")) | ||||
|     db.Close() | ||||
|     val, _ := db.Get("hello") | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user