#cache #redis #memcache #twemproxy

libaster

A light, fast and powerful cache proxy written in Rust

13 stable releases

1.2.1 Mar 11, 2020
1.2.0 Feb 19, 2020
1.1.7 Dec 26, 2019
1.1.4 Nov 21, 2019
1.1.0 Oct 29, 2019

#592 in Network programming

Download history 41/week @ 2021-03-31 14/week @ 2021-04-07 33/week @ 2021-04-14 1/week @ 2021-04-21 14/week @ 2021-04-28 13/week @ 2021-05-12 2/week @ 2021-05-19 1/week @ 2021-06-02 13/week @ 2021-06-09 3/week @ 2021-06-23 4/week @ 2021-06-30 2/week @ 2021-07-07 13/week @ 2021-07-14

68 downloads per month

MIT license

255KB
7K SLoC

libaster

libaster is the library for aster proxy.

change log

1.2.1

  • fixed: cpu 100% cost

1.2.0

  • add aster reload feature for standalone proxy mode.

1.1.8.1

  • hot fixed: prevent panic when operate closed socket.

1.1.8

  • add default tcp connection timeout for backend.

1.1.7

  • fixed unboot when seed meets down

1.1.6

  • add thread controller by environment variables.

1.1.5

  • add retry policy for aster when backend failover

1.1.4

  • add active triggers of cluster fetcher

1.1.3

  • fixed itoa bugs
  • fixed exists and del bugs

1.1.2

  • set TCP_NODELAY flags for reply conn
  • fixed exists and del bugs

1.1.0

  • change timer from seconds to microseconds.
  • never panic when cluster.servers is empty but warn it.
  • never panic when cluster.name is empty but warn it.

1.0.4

  • add CLUSTER SLOTS and CLUSTER NODES command support

1.0.3

  • fixed client hang of redis cluster mode
  • add read_from_slave feature

1.0.2

  • metrics: add aster_front_connection_incr to remeasure count of client connections
  • metrics: change aster_front_connection as current client connection gauge.

1.0.1

  • metrics: add system cpu/memory/thread metric
  • chore: compitable with rust stable (remove option_flattening and cell_update feature gate)

Dependencies

~7–11MB
~236K SLoC