Commit Graph

47 Commits

Author SHA1 Message Date
SianLoong 47222086ac
Allow redis to support cluster mode (#633) 2021-09-20 19:53:42 +08:00
Bo-Yi Wu 0a8d801380
fix: error from golangci-lint tool (#623) 2021-08-03 14:44:00 +08:00
Bo-Yi Wu 349c0c8c1d
fix: Function params involve heavy amount of copying (#622) 2021-08-02 14:07:30 +08:00
Bo-Yi Wu ab8b1991ab
chore: support single queue and multiple worker (#589) 2021-07-16 12:10:34 +08:00
Bo-Yi Wu 2cd46ad690
chore: Add metric and status package. (#585) 2021-07-13 23:58:47 +08:00
Bo-Yi Wu 3c61444520 chore: upgrade badger to v3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-11 13:49:56 +08:00
Bo-Yi Wu db9dfea6d7 chore(module): update go module 2021-03-27 13:51:51 +08:00
Bo-Yi Wu d77e7fe4f2 chore(style): fix format by gofumpt 2021-01-23 09:39:06 +08:00
M. Salih Karakaşlı 3918fab908
Add Huawei Mobile Services Support to Gorush (#523)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-04 11:01:21 +08:00
Bo-Yi Wu eec5dd3df7
chore(storage): upgrade redis to v7 (#502)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 16:23:29 +08:00
Bo-Yi Wu 186b3258d1
chore(storage): upgrade storm to v3 (#501)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:58:03 +08:00
Bo-Yi Wu c2136fffc7
chore(storage): storage performance issues (#500)
* chore(storage): storage performance issues

1. close storage connection before shutdown the service
2. update windows image

https://github.com/appleboy/gorush/issues/393

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:39:24 +08:00
Bo-Yi Wu 4e05611577
chore(storage): support set db path for badger driver (#499)
* chore(storage): support set db path for badger driver

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update default value

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 10:34:35 +08:00
Bo-Yi Wu ccc73947ad
chore(storage): upgrade badger to v2 (#498)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 09:51:13 +08:00
Yaroslav "Zorg" Zborovsky b58386704c
Fix Redis stats storage concurrency issues (#478) 2020-02-29 17:14:44 +08:00
Cem KIY 682ca7fbad badger version upgrade to v1.6.0 (#439)
* badger version upgrade to v1.6.0

- excuted go mod tidy command
- fixed badger error when without go mod

* go mod tidy and update packages
2019-12-08 07:41:16 +08:00
Cem KIY 5b526a73bd fixed #402 item get value error fix (#404)
- bager rename badger
- Value method not usable, therfore changed to ValueCopy
2019-04-13 22:39:33 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Bo-Yi Wu ffa8eb12b3
feat: Add badgerDB support. (#353)
See https://github.com/dgraph-io/badger
Slide: https://github.com/gopherchina/conference/blob/master/2018/1.5%20Badger_%20Fast%20Key-Value%20DB%20in%20Go.pdf
2018-04-16 17:26:15 +08:00
Bo-Yi Wu f3480d2dd8 Support global ENV setting. (#293)
* Support global ENV setting.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add viper package

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 22:06:30 -05:00
Bo-Yi Wu 35e2c97f43 fix lint error in storage folder. (#276)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-23 22:25:05 -05:00
Bo-Yi Wu 45a3ca891e refactor: storage key. (#242)
* refactor: storage key.

* fix path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-24 11:48:48 -05:00
Bo-Yi Wu 8dcc680434 move storage interface to storage folder. (#240)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-23 23:09:45 -05:00
Bo-Yi Wu 6510427a14 refactor: upgrade drone to 0.6 (#219)
* refactor: upgrade drone to 0.6

* fix path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix redis host.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-04 11:09:07 +08:00
Bo-Yi Wu a7b969dcf3 refactor: update import path. 2017-01-19 17:08:12 +08:00
Bo-Yi Wu 218e3fbddc replace endless with facebook grace package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-01 16:01:08 +08:00
Bo-Yi Wu 9b5815fd9f Upgrade redis client to v4.
ref: http://godoc.org/gopkg.in/redis.v4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 17:00:14 +08:00
Bo-Yi Wu bf56f592e8 support LevelDB key/value database.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 16:19:20 +08:00
Bo-Yi Wu 45fbb4933c Add memory reset func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-03 15:02:13 +08:00
Bo-Yi Wu 1326aae547 update storage testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-03 14:30:21 +08:00
Bo-Yi Wu 9dd33575e6 remove db file before testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 16:25:04 +08:00
Bo-Yi Wu 87328592dc fix variable name and add reset test.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:42:46 +08:00
Bo-Yi Wu b13fd54ba3 Support BuntDB engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-02 15:35:28 +08:00
Bo-Yi Wu dd1fb29e6b fix boltdb and memory client lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-01 10:57:00 +08:00
Bo-Yi Wu 4494310984 fix redis client lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-01 10:39:33 +08:00
Bo-Yi Wu f823e5a1d5 update lint.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-07-31 21:10:59 +08:00
Bo-Yi Wu 84c13e6d42 add nil testing for memory.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-30 13:47:10 +08:00
Bo-Yi Wu 937f35e284 update docker testing script via glide.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-04 15:02:54 +08:00
Bo-Yi Wu 6005a51e0c rename the config path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-03 09:56:59 +08:00
Bo-Yi Wu 5994f48e7e integrate boltdb engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 20:22:37 +08:00
Bo-Yi Wu 03ab8eeac7 integrate redis engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 19:42:21 +08:00
Bo-Yi Wu 8df5c63860 integrate memory engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 17:03:08 +08:00
Bo-Yi Wu 17c4ca4b2e Fixed #70 Support boltDB interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:25 +08:00
Bo-Yi Wu 1ccd81bbd0 fix wrong stat count for redis engine.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:24 +08:00
Bo-Yi Wu 9cfe693ad9 switch default private key to public.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:24 +08:00
Bo-Yi Wu a8851981c2 Fixed #69 Support redis interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 14:55:19 +08:00
Bo-Yi Wu 077f836d1c Fixed #66 Support memory interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-05-02 11:04:19 +08:00