Repository navigation
Add interactive TCO calculator for ThemisDB cost comparison - #261
Merged
Merged
Conversation
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Add interactive TCO calculator for ThemisDB
Add interactive TCO calculator for ThemisDB cost comparison
Jan 7, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an interactive web-based TCO (Total Cost of Ownership) calculator to compare ThemisDB costs against cloud hyperscalers over a 3-year period, with special emphasis on AI/LLM workload cost savings.
Key Changes:
- Implements a 16-parameter input form with automatic edition selection (Minimal, Community, Enterprise)
- Calculates comprehensive costs including infrastructure, personnel, licenses, and operations
- Features interactive visualizations, detailed breakdowns, and automated insights with export capabilities
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/tco-calculator/index.html | Interactive form with 16 input parameters, responsive layout, and tabbed results view |
| tools/tco-calculator/app.js | TCOCalculator class implementing cost calculations, ROI analysis, and chart generation |
| tools/tco-calculator/styles.css | Responsive CSS with mobile-first design, CSS Grid/Flexbox layout, and accessibility features |
| tools/tco-calculator/README.md | Comprehensive documentation covering methodology, usage instructions, and customization guide |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
makr-code
approved these changes
Jan 7, 2026
makr-code
marked this pull request as ready for review
January 7, 2026 14:36
Owner
|
@copilot kann der Code so angepasst werden dass er auch in wordpress funktioniert bzw. gibt es wordpress-plugins mit dem wir das auch umsetzen können? |
9 tasks
7 of 25 tasks
Copilot AI
added a commit
that referenced
this pull request
May 7, 2026
… decoding logits (STUB #261/#262, SD-REAL-01..08) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/9aac1b57-c6ee-4830-89ea-060adb2c4018 Co-authored-by: makr-code <[email protected]>
Merged
9 of 25 tasks
Copilot AI
added a commit
that referenced
this pull request
May 8, 2026
…ction bridges Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/35a9e5a7-8251-460e-b910-acd42f0dce33 Co-authored-by: makr-code <[email protected]>
Copilot AI
added a commit
that referenced
this pull request
May 11, 2026
…HMAC/embedding stubs - GGUFMetadata (stub #259): add HmacFn type alias + setHmacFn() static API; sign()/verify() delegate to injected fn when set, fall back to XOR stub; fail-closed on fn exception; source comments updated from #173 → #259 - FlareRetrieval (stub #260): add EmbeddingQueryFn type alias + setEmbeddingQueryFn() static API + buildQueryEmbedding() method; string buildQuery() path retained as documented fallback; fail-closed on fn exception - TensorRAGPipeline (stub #261): add EmbeddingQueryFn + setEmbeddingQueryFn() static API; step() populates RAGDecision::flare_query_embedding when fn set and FLARE triggers; fail-closed on fn exception - STUB_INVENTORY.md: 21 new entries (#259–#277, with #263 as a/b/c subtypes); header updated to 272 entries / 238 resolved / 34 active; source ID conflicts for AR-01 (#172→#265), AR-02 (#177→#266), mmap-bridge (#176→#270), fingerprint-graph (#174→#276) noted and source comments updated - All three bridges follow the gpu_tensor.cpp pattern: static function-local mutex + static function-local std::function storage; thread-safe getter/setter Co-authored-by: Copilot <[email protected]> Co-authored-by: makr-code <[email protected]>
23 of 39 tasks
This was referenced May 18, 2026
This was referenced Aug 19, 2026
Copilot AI
added a commit
that referenced
this pull request
Aug 31, 2026
Tensor module: - compression_strategy.cpp: expand bare TODO:40 and TODO:306 to full STUB/SIMULATION NOTE templates (STUB #CS-01, STUB #CS-02) - tensor_routing_strategy.cpp: promote bare TODO:79, TODO:94, TODO:283 to TODO(tracked) references with ROADMAP cross-links - tensor/ROADMAP.md: add [~] entries for CS-01, CS-02, and routing TODOs LLM module: - ssm_state_rocksdb_store.cpp:261: add tracking comment directing to src/llm/ROADMAP.md per Wave 3 serialization TODO rule - ssm_stub_plugin.cpp: add complete STUB/SIMULATION NOTE template before SyntheticSSMStub constructor (PoC dataflow validation stub) - llm_plugin_manager.cpp:668: add STUB/SIMULATION NOTE (STUB #LPM-01) to THEMIS_LLAMA_CPP_STUB_MODE block - llm/ROADMAP.md: add [~]/[I] Wave 3 tracking entries Acceleration module: - break_even_validator.cc:180: add tracking NOTE comment for Prometheus metrics on BreakEvenDecision::ToString / CacheEntry::IsExpired / BreakEvenValidator constructor (lines 184, 194, 213) - acceleration/ROADMAP.md: add [~] entry for BreakEvenValidator Prometheus metrics integration — Target Q2 2027 Already-documented gaps confirmed (no change required): - adapter_repository.cpp, tensor_butterfly_operator.cpp, tensor_core_bridge.cpp, tensor_index_manager.cpp, tensor_mmap_bridge.cpp, utr_converter.cpp: STUB notes already complete - streaming_window.cpp TODOs: all marked RESOLVED - knowledge_base.cpp, olap.cpp, process_mining.cpp: STUB/SIMULATION NOTE blocks already complete - nccl/opencl/oneapi/vulkan/ai_hardware_dispatcher: STUB templates already complete with #ifdef gates and error returns - embedded_llm_stub.cpp, inference_engine_enhanced.cpp (wave 10 STUB #261/#262 closed), ggml_tensor_bridge.cpp, tensor_compaction_filter.cpp, backup_manager.cpp: all already documented or production-ready Co-authored-by: makr-code <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements an interactive web-based TCO (Total Cost of Ownership) calculator to compare ThemisDB costs against cloud hyperscalers over 3 years, with focus on AI/LLM workload cost savings.
Implementation
Core Files (
/tools/tco-calculator/)index.html- 16-parameter input form, responsive layout, tabbed results viewapp.js- TCOCalculator class with edition auto-selection, cost projections, ROI calculationstyles.css- Mobile-first responsive design, CSS Grid/Flexbox, accessibility featuresREADME.md- Calculation methodology, usage instructions, customization guideCost Model
Key Features
max(MIN_SERVERS_HA, dataSize/GB_PER_SERVER, requests/REQUESTS_PER_SERVER_DAY) * peakLoadFactorConfiguration Constants (17 total)
Example Result
Scenario: 1M requests/day, 500GB data, AI enabled
Screenshot
Interactive calculator with real-time projections, detailed breakdowns, and automated insights
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.