1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mauri de Souza Meneguzzo 69933cbe35 aws: reuse session and S3 manager
The AWS session and s3 manager are concurrent safe, it should be reused
whenever possible:

    Sessions are safe to use concurrently as long as the Session is not
    being modified. Sessions should be cached when possible, because
    creating a new Session will load all configuration values from the
    environment, and config files each time the Session is created.

See https://pkg.go.dev/github.com/aws/aws-sdk-go/aws/session

Currently, an aws session and s3 client/manager are created every time a
call to Upload, CurrentID or Download is made. I changed it so it creates
one session and S3 manager during app startup and reuse it afterwards.
8 months ago
.circleci Make it easier to follow CircleCI testing 8 months ago
.github/ISSUE_TEMPLATE Update bug_report.md 8 months ago
DOC fix: performance typo 1 year ago
auth Update unit tests 9 months ago
auto aws: reuse session and S3 manager 8 months ago
aws aws: reuse session and S3 manager 8 months ago
cluster Remove debug print statement 8 months ago
cmd aws: reuse session and S3 manager 8 months ago
command Remove use of deprecated ioutil 8 months ago
db Restore comment 8 months ago
disco Push in read-only status 9 months ago
http Improve Errors for internode comms failures 8 months ago
log Remove use of deprecated ioutil 8 months ago
progress Log at DB level if open times are higher 9 months ago
queue Working 9 months ago
random Fix GoDoc 1 year ago
rtls Remove unused joint TLS config creation 9 months ago
scripts Quick script to give me the next PR number 8 months ago
snapshot Always close the Snaphot 8 months ago
store Optimize Requests 8 months ago
system_test Fix system tests 8 months ago
tcp Remove unused joint TLS config creation 9 months ago
testdata Move to example.com cert and key 9 months ago
.gitignore Add initial skeleton of WAL Compactor 1 year ago
CHANGELOG.md Update CHANGELOG.md 8 months ago
CONTRIBUTING.md Update CONTRIBUTING.md 2 years ago
LICENSE Update LICENSE year 9 months ago
README.md Update README.md 8 months ago
Vagrantfile Add node ID 2 years ago
appveyor.yml Dump Go env in appveyor 8 months ago
doc.go Update doc.go 2 years ago
go.mod Upgrade to SQLite 3.45.0 8 months ago
go.sum Upgrade to SQLite 3.45.0 8 months ago
vagrant_setup.sh Fix Vagrant set up file 8 months ago

README.md

Circle CI appveyor Go Report Card Release Docker Slack Google Group

rqlite combines SQLite's simplicity with the power of a robust, fault-tolerant distributed database. It's designed for easy deployment and lightweight operation, offering a developer-friendly and operator-centric solution for Linux, macOS, and Windows, as well as various CPU platforms.

Check out the rqlite FAQ.

Why run rqlite?

rqlite is your solution for a rock-solid, fault-tolerant, relational database with effortless installation, deployment, and operation. It's ideal as a lightweight, distributed relational data store for both developers and operators. Think Consul or etcd, but with relational modeling available.

You can use rqlite for critical relational data in larger systems. And if you're interested in understanding how distributed systems actually work, it's a good example to study. A lot of thought has gone into its design, separating storage, consensus, and API clearly.

Key features

Quick Start

Get up and running quickly with our Quick Start guide.

Pronunciation

Common pronunciations of rqlite include "R Q lite" and "ree-qwell-lite".