This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/wesovilabs/koazee" | |
| ) | |
| var numbers = []int{1, 5, 4, 3, 2, 7, 1, 8, 2, 3} | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/wesovilabs/koazee" | |
| ) | |
| var animals = []string{"lynx", "dog", "cat", "monkey", "dog", "fox", "tiger", "lion"} | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/wesovilabs/koazee" | |
| "strings" | |
| ) | |
| var animals = []string{"lynx", "dog", "cat", "monkey", "fox", "tiger", "lion"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/wesovilabs/koazee" | |
| ) | |
| var numbers = []int{1, 5, 4, 3, 2, 7, 1, 8, 2, 3} | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/wesovilabs/koazee" | |
| ) | |
| var numbers = []int{1, 5, 4, 3, 2, 7, 1, 8, 2, 3} | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package loc | |
| import ( | |
| "os" | |
| "testing" | |
| ) | |
| const maxElements = 1000 | |
| var elements = make([]int, maxElements) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package loc | |
| import ( | |
| "os" | |
| "testing" | |
| ) | |
| const maxElements = 1000 | |
| var elements = make([]int, maxElements) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| mollydb: | |
| image: wesovilabs/mollydb:0.0.1-alpha | |
| volumes: | |
| - "./mollydb/data:/var/mollydb/storage/ms" | |
| ports: | |
| - 7000:9090 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://github.com/wesovilabs/mollydb.git | |
| cd samples/001-microservices_configuration | |
| docker-compose docker-compose.yml up -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from utils import Bullying | |
| import csv | |
| NUM_RECORDS = 10000000 | |
| INPUT_DATA_FILE_PATH= './../data/input_data.csv' | |
| def generate_array(iterations = NUM_RECORDS): | |
| array = [None] * NUM_RECORDS | |
| for r in range(iterations): |