]]> ]]> Myrrix Serving Layer

Myrrix Serving Layer

Machine

System.gc(); // Helps make the heap reported more reliable: pageContext.setAttribute("jvmEnv", new JVMEnvironment()); ServerRecommender rec = (ServerRecommender) application.getAttribute(AbstractMyrrixServlet.RECOMMENDER_KEY); pageContext.setAttribute("rec", rec); boolean readOnly = (Boolean) application.getAttribute(AbstractMyrrixServlet.READ_ONLY_KEY); String localInputDir = String.valueOf(application.getAttribute(AbstractMyrrixServlet.LOCAL_INPUT_DIR_KEY)); pageContext.setAttribute("localInputDir", localInputDir); String localInputDirDisplay; if (localInputDir.length() > 32) { localInputDirDisplay = localInputDir.substring(0, 32) + "..."; } else { localInputDirDisplay = localInputDir; } pageContext.setAttribute("localInputDirDisplay", localInputDirDisplay); RunningAverage estimateError = (RunningAverage) application.getAttribute(PreferenceServlet.AVG_ESTIMATE_ERROR_KEY); float avgEstimateError = estimateError == null ? 0.0f : (float) estimateError.getAverage(); if (Float.isNaN(avgEstimateError)) { avgEstimateError = 0.0f; } pageContext.setAttribute("avgEstimateError", avgEstimateError); pageContext.setAttribute("partition", application.getAttribute(AbstractMyrrixServlet.PARTITION_KEY)); ReloadingReference<List<?>> partitionRef = (ReloadingReference<List<?>>) application.getAttribute(AbstractMyrrixServlet.ALL_PARTITIONS_REF_KEY); int numPartitions = partitionRef == null ? 0 : partitionRef.get().size(); pageContext.setAttribute("numPartitions", numPartitions); if (numPartitions > 1) { }
Host${jvmEnv.hostName}
Cores${jvmEnv.numProcessors}
Heap Used${jvmEnv.usedMemoryMB}MB (${jvmEnv.percentUsedMemory}%)
LogsView
Partition#${partition} (${numPartitions} total)

Recommender

if (rec.getBucket() != null || rec.getInstanceID() != null) { }
Bucket${rec.bucket}
Instance ID${rec.instanceID}
Local Input Dir${localInputDirDisplay}
Ready?${rec.ready}
User Count${rec.generationManager.currentGeneration.numUsers}
Item Count${rec.generationManager.currentGeneration.numItems}
Avg. Estimate Error (beta)${avgEstimateError}

Endpoint Stats


Feature Space Map


Test

if (readOnly) { } else { }
&nbsp;&nbsp;User ID
/recommend / &#x27AC;

&nbsp;&nbsp;Item ID 1&nbsp;&nbsp;(Item ID 2)
/recommendToAnonymous / / &#x27AC;

&nbsp;&nbsp;Item ID 1&nbsp;&nbsp;(Item ID 2)
/similarity / / &#x27AC;

&nbsp;&nbsp;User ID&nbsp;&nbsp;Item ID
/estimate / / &#x27AC;

&nbsp;&nbsp;User ID&nbsp;&nbsp;Item ID
/because / / &#x27AC;

(Read-only Mode)
&nbsp;&nbsp;User ID&nbsp;&nbsp;Item ID
/pref / / &#x27AC;

/ingest &#x27AC;

/ingest &#x27AC;

/refresh &#x27AC;
[]

&copy; Myrrix Ltd, except for included third-party open source software. Full details of licensing at http://myrrix.com/legal/