google-nomulus/java/google/registry
cgoldfeder c9d7e75946 Cache Registrars in memory
This replaces the memcache caching, which we think is overall a bad idea.
We load all registrars at once instead of caching each as needed, so that
the loadAllCached() methods can be cached as well, and therefore will
always produce results consistent with loadByClientIdCached()'s view of the
registrar's values. All of our prod registrars together total 300k of data
right now, so this is hardly worth optimizing further, and in any case this
will likely reduce latency even further since most requests will be
served out of memory.

While I was in the Registrar file I standardized the error messages for incorrect
password and clientId length to be the same format, and cleaned up a few
random things I noticed in the code.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156151828
2017-05-17 12:26:11 -04:00
..
backup Add "toTime" parameter to RestoreCommitLogsAction web form 2017-05-17 11:46:18 -04:00
batch Make TRID field in async host/contact deletion non-optional 2017-05-03 10:54:20 -04:00
bigquery Change BigQuery call from update to patch 2017-02-06 16:45:23 -05:00
braintree Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
builddefs Add build rules for "nocron" deployments 2017-04-26 10:53:16 -04:00
config Clarify available/required OAuth scope documentation 2017-04-26 10:39:45 -04:00
cron Add response information to TldFanoutAction 2017-04-10 13:32:41 -04:00
dns Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
eclipse Add Cloud KMS as dependency of eclipse package 2017-03-21 15:17:04 -04:00
env Tune max # of frontend instances down to 4 in sandbox and alpha 2017-05-17 11:55:30 -04:00
export Cache Registrars in memory 2017-05-17 12:26:11 -04:00
flows Cache Registrars in memory 2017-05-17 12:26:11 -04:00
gcs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
groups Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring Wrap Kms decrypt with Retrier 2017-05-03 11:10:53 -04:00
loadtest Add a "loadtest" command to nomulus tool 2017-03-27 13:16:35 -04:00
mapreduce Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
model Cache Registrars in memory 2017-05-17 12:26:11 -04:00
module Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
monitoring Change metrics ThreadFactory to produce daemon threads 2017-05-17 12:21:12 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Cache Registrars in memory 2017-05-17 12:26:11 -04:00
rde Cache Registrars in memory 2017-05-17 12:26:11 -04:00
request Change messages about failed authentication to be warnings instead of info messages 2017-05-17 11:25:54 -04:00
security Remove XsrfTokenManager fallback for validating legacy tokens 2017-03-21 15:36:31 -04:00
storage/drive Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Cache Registrars in memory 2017-05-17 12:26:11 -04:00
tools Cache Registrars in memory 2017-05-17 12:26:11 -04:00
ui Cache Registrars in memory 2017-05-17 12:26:11 -04:00
util Fix two warnings thrown by Eclipse 2017-04-26 10:36:51 -04:00
whois Cache Registrars in memory 2017-05-17 12:26:11 -04:00
xjc Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
xml Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
BUILD Document procedural changes to restore 2017-05-03 10:43:25 -04:00
repositories.bzl Add latest oauth/{java6,jetty} and fix repo procedure 2017-05-17 12:12:56 -04:00